geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Reddington (Jira)" <>
Subject [jira] [Created] (GEODE-7347) Race condition between Cache and ClientMetadataService
Date Wed, 23 Oct 2019 18:57:00 GMT
Matthew Reddington created GEODE-7347:

             Summary: Race condition between Cache and ClientMetadataService
                 Key: GEODE-7347
             Project: Geode
          Issue Type: Bug
          Components: native client
            Reporter: Matthew Reddington

It was discovered that the ClientMetadataService would call into CacheImpl, which contains
a backreference to Cache, and this could occur in the middle of a Cache move, where the pimpl
pointer was updated, but not the backreference.

The solution will be to guard the pimpl during the move, so the Cache can update it's pimpl
and the backreference. There exists CacheImpl::doIfDestroyNotPending that locks the pimpl
while executing a function to facilitate this.

This message was sent by Atlassian Jira

View raw message