From: Ronen Friedman Date: Wed, 17 Mar 2021 15:21:10 +0000 (+0200) Subject: osd: remove a ceph_assert() from a legitimate path X-Git-Tag: v17.1.0~2561^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F40185%2Fhead;p=ceph.git osd: remove a ceph_assert() from a legitimate path on_replica_init() might be legitimately called twice, if the replica was waiting for updates to complete before servicing the request. Fixes: https://tracker.ceph.com/issues/49867 Signed-off-by: Ronen Friedman --- diff --git a/src/osd/pg_scrubber.cc b/src/osd/pg_scrubber.cc index ecf2a3affc5b..9a5dba5085f7 100644 --- a/src/osd/pg_scrubber.cc +++ b/src/osd/pg_scrubber.cc @@ -807,7 +807,6 @@ void PgScrubber::on_init() void PgScrubber::on_replica_init() { - ceph_assert(!m_active); m_active = true; }