]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/mirroring: throttle directory reassigment to mirror daemons
authorVenky Shankar <vshankar@redhat.com>
Sun, 1 Aug 2021 14:21:46 +0000 (10:21 -0400)
committerVenky Shankar <vshankar@redhat.com>
Mon, 15 Nov 2021 13:03:21 +0000 (18:33 +0530)
commit937caee0607c78080333d6da4cb3407ab7308a0f
treec8648d90997a2ef6b702d6f6e9292c184737845a
parenta20b647306c98d2a09c44b0470634aa3945415d4
mgr/mirroring: throttle directory reassigment to mirror daemons

This is to avoid over-shuffling directories when lots of mirror
daemons come and go.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit e253f685382efd7fa82849fb5eb4ad803099ca73)
src/pybind/mgr/mirroring/fs/dir_map/policy.py