From 59ed165a60a58db62a67a9d9fbe75d8338e5ddeb Mon Sep 17 00:00:00 2001 From: Shwetha K Acharya Date: Wed, 31 Jul 2019 11:34:19 +0530 Subject: geo-rep: Note section is required for ignore_deletes There exists a window of 15 sec, where the deletes are picked up by history crawl when the ignore_deletes is set to true. And it eventually deletes the file/s from slave which is/are not supposed to be deleted. Though it is working as per design, a note regarding this is needed. Added a warning message indicating the same. Also logged info when the worker restarts after ignore-deletes option set. fixes: bz#1708603 Change-Id: I103be882fac18b4cef935efa355f5037a396f7c1 Signed-off-by: Shwetha K Acharya --- cli/src/cli.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/src/cli.h') diff --git a/cli/src/cli.h b/cli/src/cli.h index 197e027e16..81f75a0b41 100644 --- a/cli/src/cli.h +++ b/cli/src/cli.h @@ -267,8 +267,8 @@ int32_t cli_cmd_volume_reset_parse(const char **words, int wordcount, dict_t **opt); int32_t -cli_cmd_gsync_set_parse(const char **words, int wordcount, dict_t **opt, - char **errstr); +cli_cmd_gsync_set_parse(struct cli_state *state, const char **words, + int wordcount, dict_t **opt, char **errstr); int32_t cli_cmd_quota_parse(const char **words, int wordcount, dict_t **opt); -- cgit