]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: reset pending_inc after applying it
authorKefu Chai <kchai@redhat.com>
Mon, 29 May 2017 16:40:25 +0000 (00:40 +0800)
committerSage Weil <sage@redhat.com>
Fri, 2 Jun 2017 17:06:47 +0000 (13:06 -0400)
commitaad1afcb96de1483ecaf93adf473d5732246ea7a
tree9911b2a6d409f834c831777b91333a77f0d4d9c4
parentaf2994dcae8f181acd7d930a59647c10b0ecac36
mgr: reset pending_inc after applying it

we cannot apply pending_inc twice and expect the result is the same. in
other words, pg_map.apply_incremental(pending_inc) is not an idempotent
operation.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mgr/ClusterState.cc