During destroy entry (tombstone) under region entry lock, if the entry had a lower region version than the recorded gc version for that member, the entry was removed immediately which could result in dead-lock with tombstone gc thread.
Instead of removing the entry during destroy, it was scheduled to remove during tombstone gc. ### For all changes: - [Y] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message? - [ ] Has your PR been rebased against the latest commit within the target branch (typically `develop`)? - [Y] Is your initial contribution a single, squashed commit? - [Y] Does `gradlew build` run cleanly? - [Y] Have you written or updated unit tests to verify your changes? - [NA] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? ### Note: Please ensure that once the PR is submitted, check Concourse for build issues and submit an update to your PR as soon as possible. If you need help, please send an email to [email protected]. [ Full content available at: https://github.com/apache/geode/pull/3348 ] This message was relayed via gitbox.apache.org for [email protected]
