]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Backfill peers should not be included in the acting set 832/head
authorDavid Zafman <david.zafman@inktank.com>
Fri, 11 Oct 2013 22:53:49 +0000 (15:53 -0700)
committerDavid Zafman <david.zafman@inktank.com>
Tue, 19 Nov 2013 22:45:20 +0000 (14:45 -0800)
commit86e4fd4f7a9848511e1bf9ae433fcd3a35a0818f
tree2c1f61349a706ba49025facf3938c4c01aee5edb
parent19dbf7bc1eff3d9e8635a32058d0965276ce49fe
osd: Backfill peers should not be included in the acting set

Create actingbackfill in choose_acting()
Use first backfill target as previously
Add asserts to catch inappropriate use of actingbackfill
Use is_acting() in proc_replica_info() because this is before actingbackfill set
Remove backfill_targets from stray_set to prevent purge_strays from removing collection
Can't check is_replica() anymore for backfill operations since a backfill isn't
a replica due to acting set change.

fixes: #5855

Signed-off-by: David Zafman <david.zafman@inktank.com>
src/osd/OSD.cc
src/osd/PG.cc
src/osd/PG.h
src/osd/PGBackend.h
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h