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

Double decrement of HAEventWrapper ref count due to race between QRM and DestroyRQ

    XMLWordPrintableJSON

Details

    Description

      When a client disconnects due to network issues e.g. SocketTimeoutExceptions we will destroy the HARegionQueue for that client. As part of that process, we decrement the reference count on the HAEventWrappers used by that client in the HAContainer.

      However, we may still be receiving queue removal messages for that client which results in a decrement of those same HAEventWrappers. This double decrementing can result in premature removal of the HAEventWrapper from the HAContainer even though other clients still need it.

      We need to prevent this double decrementing and premature removal, perhaps through synchronization between the destroyRQ() logic and queue removal messages.

      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 - 0.5h
                  0.5h