-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Description: | ||
|
||
Add a way to freeze an entire server temporarily while taking snapshots or | ||
similar. | ||
|
||
|
||
Config changes: | ||
|
||
Adds a new config switch `global_lock` - if true (the default) then a new | ||
global shared lock is taken before any exclusive lock is taken, and held | ||
until all global locks are released - meaning that any command which wishes | ||
to take a consistent snapshot can use the `cyr_withlock_run` command. | ||
|
||
Whether or not this setting is enabled, you can also use | ||
`cyr_withlock_run --user` to run a command with a single user locked. | ||
|
||
|
||
Upgrade instructions: | ||
|
||
There are no operational changes required; it just works once you're running | ||
the new version. | ||
|
||
|
||
GitHub issue: | ||
|
||
https://github.com/cyrusimap/cyrus-imapd/issues/1763 |