Skip to content

GEODE-6526: Removing call to removeTombstone during entry destroy#3348

Merged
agingade merged 3 commits intoapache:developfrom
agingade:feature/GEODE-6526
Mar 26, 2019
Merged

GEODE-6526: Removing call to removeTombstone during entry destroy#3348
agingade merged 3 commits intoapache:developfrom
agingade:feature/GEODE-6526

Conversation

@agingade
Copy link
Copy Markdown

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?

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 dev@geode.apache.org.

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.
@agingade agingade merged commit 905e921 into apache:develop Mar 26, 2019
@agingade agingade deleted the feature/GEODE-6526 branch March 26, 2019 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants