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

PdxType comparison should favor typeId rather than class name

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.12.0
    • Component/s: native client
    • Labels:
      None

      Description

      The `operator<` method of PdxType in the native client simply compares the class names, which is incorrect and leads to the fact that, in NC, you cannot currently have two separate PDX types with the same class name.  The comparison should favor type ID first, then if both type IDs are 0 (true for local regions), fall back to class name.  This will still fail for local regions in the scenario where class names are the same, but it's much, much better than we have now.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                echobravo Ernest Burghardt
                Reporter:
                bbender Blake Bender
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m