]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: don't crash on empty data_subset in sub_op_push
authorSamuel Just <samuel.just@dreamhost.com>
Tue, 6 Dec 2011 21:23:03 +0000 (13:23 -0800)
committerSamuel Just <samuel.just@dreamhost.com>
Tue, 6 Dec 2011 22:44:46 +0000 (14:44 -0800)
commita1ebd725dc93dc76acd1cf7e9f71eb4c56f3fa6e
tree8741ffc00b258e18fbc5049922b99ecbdc9905bd
parent8afa5a5d9e705827d3d75e7611984600ac7b29cc
ReplicatedPG: don't crash on empty data_subset in sub_op_push

If data_subset is empty (i.e., the data we pulled is no longer useful),
we should mark complete false and continue rather than fail the
assert in range_end().

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/osd/ReplicatedPG.cc