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>
.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)