diff options
| author | Shwetha K Acharya <sacharya@redhat.com> | 2019-07-31 11:34:19 +0530 |
|---|---|---|
| committer | Aravinda VK <mail@aravindavk.in> | 2020-01-03 15:34:34 +0000 |
| commit | 59ed165a60a58db62a67a9d9fbe75d8338e5ddeb (patch) | |
| tree | 2cd575d0d00b32cd1d23634c97538eed086e931e /cli/src/cli-cmd-volume.c | |
| parent | 1e56e7acc3ced4f49d4494556bf6c86cd017b4ea (diff) | |
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 <sacharya@redhat.com>
Diffstat (limited to 'cli/src/cli-cmd-volume.c')
| -rw-r--r-- | cli/src/cli-cmd-volume.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index 404f71752d3..e6144932144 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -2174,7 +2174,7 @@ cli_cmd_volume_gsync_set_cbk(struct cli_state *state, struct cli_cmd_word *word, proc = &cli_rpc_prog->proctable[GLUSTER_CLI_GSYNC_SET]; - ret = cli_cmd_gsync_set_parse(words, wordcount, &options, &errstr); + ret = cli_cmd_gsync_set_parse(state, words, wordcount, &options, &errstr); if (ret) { if (errstr) { cli_err("%s", errstr); |
