]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephfs-mirror: remove `cephfs_mirror_directory_choose_policy` option
authorVenky Shankar <vshankar@redhat.com>
Sun, 25 Oct 2020 07:01:03 +0000 (03:01 -0400)
committerVenky Shankar <vshankar@redhat.com>
Tue, 12 Jan 2021 10:56:52 +0000 (05:56 -0500)
Basically, the mirror daemon would process directory list in in a
round-robin fashion. Randomly choosing directories probably does not
make much sense right now.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
src/common/options.cc

index 2affa3e38c3c4398e85a3c4dc58eae83a874e311..1f15939a6783f155d0e45ecc9c2c06709abae229 100644 (file)
@@ -8898,11 +8898,6 @@ std::vector<Option> get_cephfs_mirror_options() {
     .set_description("maximum number of concurrent snapshot synchronization threads")
     .set_long_description("maximum number of directory snapshots that can be synchronized concurrently by cephfs-mirror daemon. Controls the number of synchronization threads."),
 
-    Option("cephfs_mirror_directory_choose_policy", Option::TYPE_STR, Option::LEVEL_ADVANCED)
-    .set_default("random")
-    .set_description("policy for choosing directories to mirror snapshots")
-    .set_long_description("policy used by cephfs-mirror daemon to choose directories for snapshot mirroring"),
-
     Option("cephfs_mirror_action_update_interval", Option::TYPE_SECS, Option::LEVEL_ADVANCED)
     .set_default(2)
     .set_min(1)