Actions
Fix #9484
openOSD: block until we have the same map as the client on pg commands
Status:
New
Priority:
Normal
Assignee:
-
Category:
OSD
Target version:
-
% Done:
0%
Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Right now, if a client has a newer map than we do and sends a PG command (like list_missing, #9219) we can reply ENOENT even if we should have the PG locally. We should probably block pg commands until we're up-to-date with the client, at which point we can say we don't have the PG while acknowledging that we should and are waiting for notifications from other replicas.
Updated by Sage Weil over 9 years ago
Instead of blocking for every tell command (or even a subset), we can add one new command 'get_latest_osdmap' or similar that blocks and ensures we have the latest map from the mon. The teuthology tests can then use this where appropriate.
Updated by Mykola Golub over 9 years ago
Please look at https://github.com/ceph/ceph/pull/3309 which might be solution for this issue.
Actions