]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: set acting, upacting features from osdmap, not peers
authorSage Weil <sage@redhat.com>
Fri, 17 Jul 2015 18:33:31 +0000 (14:33 -0400)
committerSage Weil <sage@redhat.com>
Fri, 7 Aug 2015 14:16:02 +0000 (10:16 -0400)
commit897d98f7c42f3d1fb34acc7c2708f86788ec0716
tree60a989ef7f3ce28695971376792e91829a9ddb6b
parentfd6cfa34d0b8a0a09216f52c76fe316f835e1ada
osd: set acting, upacting features from osdmap, not peers

Set in start_peering_interval based on the osdmap, so that it is defined
deterministically on primary, replica, and stray.

Note that peer features are still a primary-only construct.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc
src/osd/PG.h