]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: send entire stats on OP_BACKFILL_FINISH
authorSamuel Just <sam.just@inktank.com>
Tue, 26 Mar 2013 22:10:37 +0000 (15:10 -0700)
committerSamuel Just <sam.just@inktank.com>
Wed, 27 Mar 2013 00:21:51 +0000 (17:21 -0700)
commit76b296f01fd0d337c8fc9f79013883e62146f0c6
treec7101c0499eada5826258ca23debc55089c98c59
parent23faa9f050afcd505317ee4b487058674b614184
ReplicatedPG: send entire stats on OP_BACKFILL_FINISH

Otherwise, we update the stat.stat structure, but not the
stat.invalid_stats part.  This will result in a recently
split primary propogating the invalid stats but not the
invalid marker.  Sending the whole pg_stat_t structure
also mirrors MOSDSubOp.

Fixes: #4557
Backport: bobtail
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
src/messages/MOSDPGBackfill.h
src/osd/ReplicatedPG.cc