]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: ignore info racing with PGRemove
authorSage Weil <sage@newdream.net>
Fri, 7 Aug 2009 22:34:24 +0000 (15:34 -0700)
committerSage Weil <sage@newdream.net>
Mon, 10 Aug 2009 20:14:31 +0000 (13:14 -0700)
commitf5828cce0a046105e430a03908ff9beff5edeec0
treee300e81612eaf8178955c33874c68033c0eb9c1f
parent6a5184034ca8f16838593f9e78cdc85e01f8cc34
osd: ignore info racing with PGRemove

We may get multiple infos during peering, because we explicitly
query priors AND osds with existing pg data send them (thus we
may get 2).

The second info can race with a PGRemove.  When we get it, we have
to realize it's not _new_ stray content.. it's old content we're
already purging.
src/TODO
src/osd/OSD.cc
src/osd/PG.cc
src/osd/PG.h