Skip to content

Commit

Permalink
replicaonly: add changes file
Browse files Browse the repository at this point in the history
  • Loading branch information
brong committed Dec 20, 2023
1 parent 463fdd7 commit c6634f5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions changes/next/replicaonly
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Description:

add 'replicaonly' config option that blocks all non-silent writes

(Silent writes are those where the modseq is specified in the write,
so the highestmodseq doesn't get increased - these are the sort done
by sync_server)

Config changes:

the boolean config option `replicaonly` (default: false) can be set
to mark a server as only being a replica. This will stop calalarmd
from doing anything, and also deny any non-silent writes.


Upgrade instructions:

No change required - you can keep running without setting this config
option on replicas, and they will behave as before (in particular,
you will still have to make sure not to run calalarmd on replicas).

GitHub issue:

none

0 comments on commit c6634f5

Please sign in to comment.