]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/DaemonServer: skip redundant update of pgp_num_actual 42420/head
authorDan van der Ster <daniel.vanderster@cern.ch>
Tue, 29 Jun 2021 20:36:00 +0000 (22:36 +0200)
committerNeha Ojha <nojha@redhat.com>
Tue, 20 Jul 2021 15:30:57 +0000 (15:30 +0000)
commit4c9b4b0d1906728ae6c85a3865690286d18dc4bd
tree18762fec87f4326a0af08e15773985144b5a973c
parentc19cdef2a60fb1586ed44e39a52bf1e241bd435c
mgr/DaemonServer: skip redundant update of pgp_num_actual

During PG merge the MGR was observed repeatedly sending identical
set pgp_num_actual values, leading to osdmap churn at 2000/hr.

Skip the redundant osd set pgp_num_actual command if the
pgp_num is already our computed next.

Fixes: https://tracker.ceph.com/issues/51433
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
(cherry picked from commit 3f15749de0d550a124f8c6afbd457f17ef020963)
src/mgr/DaemonServer.cc