]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: remove a ceph_assert() from a legitimate path 40226/head
authorRonen Friedman <rfriedma@redhat.com>
Wed, 17 Mar 2021 15:21:10 +0000 (17:21 +0200)
committerNeha Ojha <nojha@redhat.com>
Thu, 18 Mar 2021 21:57:14 +0000 (21:57 +0000)
commitbc604bc3f11f85bd0bae4e717f88ae9f5c3041db
treea92f3c46c7d23e451c843b7c6ecaedf41b51f1cd
parent84db256c5aebd2e5a35c01283ecf3e91d9c99865
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 <rfriedma@redhat.com>
(cherry picked from commit 437456ecf9429dd5623cda105e1399234fcc86de)
src/osd/pg_scrubber.cc