Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bgsave.md for BGSAVE CANCEL #182

Merged
merged 3 commits into from
Oct 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions commands/bgsave.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 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`
command.

Expand Down