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

osd: Fix map gaps again (bug 15943) #12571

Merged
merged 3 commits into from Dec 19, 2016
Merged

Conversation

athanatos
Copy link
Contributor

No description provided.

…_snaps

Signed-off-by: Samuel Just <sjust@redhat.com>
Also, make map gaps more likely.

Signed-off-by: Samuel Just <sjust@redhat.com>
5798fb3 actually made 15943 worse
by always creating an out-of-date cached_removed_snaps value after
a map gap rather than only in the case where the the first map after
the gap did not remove any snapshots.

Introduced: 5798fb3
Fixes: http://tracker.ceph.com/issues/15943
Signed-off-by: Samuel Just <sjust@redhat.com>
@athanatos
Copy link
Contributor Author

http://pulpito.ceph.com/samuelj-2016-12-18_07:44:35-rados-wip-sam-testing---basic-smithi/

Failures seem to be unrelated.

Annoyingly, http://pulpito.ceph.com/samuelj-2016-12-18_07:42:48-rados-wip-15943-no-fix---basic-smithi did not turn up any failures when run with the added assert, but no fix. I think we should still merge it, but I'd like to get a better test written.

@liewegas liewegas changed the title Fix map gaps again (bug 15943) osd: Fix map gaps again (bug 15943) Dec 19, 2016
@athanatos athanatos removed the request for review from badone December 19, 2016 19:28
@badone badone self-requested a review December 19, 2016 20:30
Copy link
Contributor

@badone badone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@athanatos athanatos merged commit dc639fd into ceph:master Dec 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants