]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd/pg_recovery: avoiding duplicated object recovering
authorXuehan Xu <xuxuehan@qianxin.com>
Tue, 22 Aug 2023 06:10:46 +0000 (14:10 +0800)
committerXuehan Xu <xxhdx1985126@gmail.com>
Thu, 24 Aug 2023 04:21:45 +0000 (12:21 +0800)
commit10edb2ffbdb7c4ef839f1ba7b88d7d85a682b7be
tree5154b49c5165c0ac0da6d02775ad6410d3462a15
parentde99a529f4aaa48dc3cb34d935f481c8bf7a5a72
crimson/osd/pg_recovery: avoiding duplicated object recovering

UrgentRecovery and other recoveries may collide when doing
`PGRecovery::add_recovering`, this is not an error. We should allow this
to happen

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/osd/pg_recovery.cc
src/crimson/osd/recovery_backend.h