-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/issue 2695 rev tree pruning tombstoned branch #2697
Feature/issue 2695 rev tree pruning tombstoned branch #2697
Conversation
…ortestNonTombstonedBranch returned valid generation
@tleyden The test failed due to a test framework issue. We added some version compatibility checks a few weeks ago that is causing source provisioning to fail. Are you able to run the test locally to verify until will can fix this? |
@sethrosetter yup, already verified locally. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although I'm not familiar with the code context, the delta changes look good to me.
* Add failing test TestPruneRevsSingleTombstonedBranch() * Fix issue by only setting tombstoneGenerationThreshold if tree.FindShortestNonTombstonedBranch returned valid generation * Remove import # Conflicts: # db/revtree.go # db/revtree_test.go
* Add failing test TestPruneRevsSingleTombstonedBranch() * Fix issue by only setting tombstoneGenerationThreshold if tree.FindShortestNonTombstonedBranch returned valid generation * Remove import
Cherry pick from master branch commit 933d652 * Add failing test TestPruneRevsSingleTombstonedBranch() * Fix issue by only setting tombstoneGenerationThreshold if tree.FindShortestNonTombstonedBranch returned valid generation * Remove import
Fixes #2695
#2695 (comment) explains the bug.
Unit tests against couchbase server bucket (in progress)
Functional test re-run (pending)
@sethrosetter can you check the pending functional test cen7-sync-gateway-functional-tests-base-cc/790 and see if that looks correct?