From 437456ecf9429dd5623cda105e1399234fcc86de Mon Sep 17 00:00:00 2001 From: Ronen Friedman Date: Wed, 17 Mar 2021 17:21:10 +0200 Subject: [PATCH] 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 --- src/osd/pg_scrubber.cc | 1 - 1 file changed, 1 deletion(-) 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; } -- 2.47.3