]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: use recoverying.at() when appropriate
authorKefu Chai <kchai@redhat.com>
Wed, 23 Sep 2020 04:11:43 +0000 (12:11 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 23 Sep 2020 04:20:16 +0000 (12:20 +0800)
commit6cbc51db4eecdf759e7b9c7def06e0a7821ba0a1
treecd930579a0135a2873df867f8efe30f311a3a5f7
parent3f0b358cc31b430523f1a7acbf549d5373c6a404
crimson/osd: use recoverying.at() when appropriate

this helps to avoid the confusion of "where the recovery is added" and
"are we adding a new instance of recovery here".

should call add_recovery() explicitly when we need to add a new recovery
instance.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/replicated_recovery_backend.cc