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

Possible ClassCastException in HAEventWrapper during concurrent client registration and queue GII

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.10.0
    • 1.10.0
    • None

    Description

      It is possible for a ClassCastException to be thrown if a client is registering interest/CQ concurrently while a queue GII is being performed.  The issue is that the queued event (HAEventWrapper) can be mutated by the client registration logic while it is in another client's queue, so if a GII occurs it could be serialized while being mutated.  Specifically, the CqNameToOpHashMap was shown to throw the exception on the deserialization side, because of a map size/entries mismatch on the serialization side caused by the race described above.

      Attachments

        Issue Links

          Activity

            People

              rmcmahon Ryan McMahon
              rmcmahon Ryan McMahon
              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 - 1h 20m
                  1h 20m