From 1c8ea18522213ffae76d78b5718b5d531b1312f4 Mon Sep 17 00:00:00 2001 From: Ran Shidlansik Date: Mon, 21 Oct 2024 16:26:39 +0300 Subject: [PATCH 1/3] Update bgsave.md for BGSAVE CANCEL Signed-off-by: Ran Shidlansik --- commands/bgsave.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commands/bgsave.md b/commands/bgsave.md index a1086727..15b42f42 100644 --- a/commands/bgsave.md +++ b/commands/bgsave.md @@ -12,6 +12,10 @@ If `BGSAVE SCHEDULE` is used, the command will immediately return `OK` when an AOF rewrite is in progress and schedule the background save to run at the next opportunity. +If `BGSAVE CANCEL` is used, it will immediately terminate any in-progress RDB save or replication full sync process. +In case a bgsave is schedule to run (e.g. using `BGSAVE SCHEDULE` command) the scheduled execution will be +cancelled as well. + A client may be able to check if the operation succeeded using the `LASTSAVE` command. From b5ea5c391782a3dbfe1ee0ccecd0821e5a4b8b51 Mon Sep 17 00:00:00 2001 From: ranshid <88133677+ranshid@users.noreply.github.com> Date: Mon, 21 Oct 2024 17:35:12 +0300 Subject: [PATCH 2/3] Update commands/bgsave.md Signed-off-by: ranshid <88133677+ranshid@users.noreply.github.com> --- commands/bgsave.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/bgsave.md b/commands/bgsave.md index 15b42f42..77b98aa0 100644 --- a/commands/bgsave.md +++ b/commands/bgsave.md @@ -13,7 +13,7 @@ AOF rewrite is in progress and schedule the background save to run at the next opportunity. If `BGSAVE CANCEL` is used, it will immediately terminate any in-progress RDB save or replication full sync process. -In case a bgsave is schedule to run (e.g. using `BGSAVE SCHEDULE` command) the scheduled execution will be +In case a background save is schedule to run (e.g. using `BGSAVE SCHEDULE` command) the scheduled execution will be cancelled as well. A client may be able to check if the operation succeeded using the `LASTSAVE` From 2efca3152e142ccc7d3be8b3b3036b803c5d5c8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20S=C3=B6derqvist?= Date: Tue, 22 Oct 2024 06:18:12 +0200 Subject: [PATCH 3/3] Update commands/bgsave.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Viktor Söderqvist --- commands/bgsave.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/bgsave.md b/commands/bgsave.md index 77b98aa0..b3abe7dc 100644 --- a/commands/bgsave.md +++ b/commands/bgsave.md @@ -13,7 +13,7 @@ AOF rewrite is in progress and schedule the background save to run at the next opportunity. If `BGSAVE CANCEL` is used, it will immediately terminate any in-progress RDB save or replication full sync process. -In case a background save is schedule to run (e.g. using `BGSAVE SCHEDULE` command) the scheduled execution will be +In case a background save is scheduled to run (e.g. using `BGSAVE SCHEDULE` command) the scheduled execution will be cancelled as well. A client may be able to check if the operation succeeded using the `LASTSAVE`