]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
PG: activate should not enqueue snap_trimmer on a replica
authorSamuel Just <samuelj@hq.newdream.net>
Thu, 13 Jan 2011 20:18:17 +0000 (12:18 -0800)
committerSamuel Just <samuelj@hq.newdream.net>
Thu, 13 Jan 2011 21:16:40 +0000 (13:16 -0800)
commitf2755a533753767979e0aac00953cb870340a880
tree88ee1de985aee6baceea7d47c953cbec51a9c130
parent1cdb01b47b0656f5e61715e0ec35329356c651a1
PG: activate should not enqueue snap_trimmer on a replica

Previously, activate would queue_snap_trim() for replicas if snap_trimq
ended up non-empty, guaranteeing a crash for any replica starting up
while purged_snaps lagged behind pool->cached_removed_snaps.

This should fix #702.

Signed-off-by: Samuel Just <samuelj@hq.newdream.net>
src/osd/PG.cc
src/osd/ReplicatedPG.cc