Skip to content
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

nautilus: test/rgw: test_datalog_autotrim filters out new entries #40674

Merged
merged 1 commit into from Apr 9, 2021

Conversation

smithfarm
Copy link
Contributor

backport tracker: https://tracker.ceph.com/issues/50158


backport of #35575
parent tracker: https://tracker.ceph.com/issues/45626

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/master/src/script/ceph-backport.sh

if other sync activity is racing with test_datalog_autotrim, it can
create new datalog entries after the 'datalog autotrim' command runs

instead of asserting that the datalog is empty after trim, assert that
any entries have a marker larger than the max-marker reported by
'datalog status' before the trim

Fixes: https://tracker.ceph.com/issues/45626

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit abd08f1)
@smithfarm smithfarm added this to the nautilus milestone Apr 8, 2021
@smithfarm smithfarm added the rgw label Apr 8, 2021
@smithfarm smithfarm requested a review from cbodley April 8, 2021 13:02
@smithfarm smithfarm added tests nautilus-batch-1 nautilus point releases needs-qa labels Apr 8, 2021
@yuriw yuriw merged commit c4a11b9 into ceph:nautilus Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants