Skip to content

Commit

Permalink
global-lock: add changes document
Browse files Browse the repository at this point in the history
  • Loading branch information
brong committed Dec 13, 2023
1 parent 1b848e4 commit 0320181
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions changes/next/global-lock
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

0 comments on commit 0320181

Please sign in to comment.