Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-4045

Locator should enable PDX type registry

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: locator
    • Labels:
      None

      Description

      Now that we have callbacks that are invoked on the locator like SecurityManager, it's possible users may try to use PDX on the locator - for example reading data from a region in their SecurityManager.

      It looks like we intentionally disabled PDX on the locator based on this code in GemFireCacheImpl.initializePdxRegistry()

            if (this.getMyId().getVmKind() == DistributionManager.LOCATOR_DM_TYPE) {
              this.pdxRegistry = new TypeRegistry(this, true /*True means create a disabled registry*/);
            } else {
      

      We should consider changing this code and always enabling PDX on the locator.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              upthewaterspout Dan Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: