]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: do not promote nonexistent clones
authorSage Weil <sage@inktank.com>
Mon, 30 Dec 2013 19:10:46 +0000 (11:10 -0800)
committerSage Weil <sage@inktank.com>
Tue, 14 Jan 2014 00:19:46 +0000 (16:19 -0800)
commit934de77c661b96d7fdba16ff4bb1a09837ec3b51
tree9cf062e2db622917d6cb87df0653dead427fb55a
parent55b83f16d25cc0bfcca17ed933e69f4f994daa97
osd/ReplicatedPG: do not promote nonexistent clones

Do not promote a clone for a snap that we know doesn't exist.  If
find_object_context() didn't give us a missing_oid, there is nothing to
promote.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/ReplicatedPG.cc