]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: fix legacy pg create conditions
authorSage Weil <sage@redhat.com>
Tue, 2 May 2017 15:49:28 +0000 (10:49 -0500)
committerSage Weil <sage@redhat.com>
Tue, 2 May 2017 15:49:28 +0000 (10:49 -0500)
commit3e53e47e6bf13281d62af7a70ec4536a0af95b4c
tree02d579525dbbca2ddfd2390315d27562695925e2
parent003113ff671fe3758483dc14d29416a56d2b9b9d
osd: fix legacy pg create conditions

1- in reality we don't really care if pg_temp is set.
2- compare against acting_primary since that's what actually matters.

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