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

osdc/Objecter: use full pgid hash in PGNLS ops #8378

Merged
merged 6 commits into from Apr 4, 2016

Conversation

liewegas
Copy link
Member

No description provided.

@liewegas
Copy link
Member Author

@jdurgin @athanatos

@jdurgin
Copy link
Member

jdurgin commented Mar 31, 2016

lgtm

Signed-off-by: Sage Weil <sage@redhat.com>
Normal ops do this so they can behave when racing with split; pgnls ops
are no different.

In particular, this fixes a bug where we have an old OSDMap that doesn't
reflect a split, and the OSD replies with a 'next' value of the PG's new
max.  If we resend the same value to that PG, it'll be out of bounds,
and BlueStore will notice.

Signed-off-by: Sage Weil <sage@redhat.com>
This should only happen with a buggy client, but we should avoid crashing,
and send a polite error message back.

Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
@liewegas liewegas force-pushed the wip-pgls-pgid branch 2 times, most recently from c9c066b to f713766 Compare April 3, 2016 13:56
@liewegas
Copy link
Member Author

liewegas commented Apr 3, 2016

passed rados run, waiting for upgrade tests to finish

@jdurgin
Copy link
Member

jdurgin commented Apr 4, 2016

lgtm

@liewegas liewegas merged commit 0f81ac5 into ceph:master Apr 4, 2016
@liewegas liewegas deleted the wip-pgls-pgid branch April 4, 2016 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants