Skip to content

Add ContextState to the admin API - #73

Open
hjohn wants to merge 1 commit into
mainfrom
feature/context-lock-readonly
Open

hjohn wants to merge 1 commit into
mainfrom
feature/context-lock-readonly

Conversation

@hjohn

@hjohn hjohn commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Adds a ContextState enum (NORMAL/READ_ONLY/LOCKED) and a SetContextState RPC to ContextAdminService, plus a state field on ContextOverview.

Prerequisite for context locking/read-only in axon-server (companion PR there). Part of the prerequisite work for an upcoming backup/restore feature: a context can be locked (no reads/writes/delete) during a restore's wipe phase, and set read-only (reads only) for post-restore verification.

Prerequisite primitive for context locking/read-only: a context can be
NORMAL, READ_ONLY (reads only) or LOCKED (no reads/writes/delete).
@hjohn hjohn self-assigned this Oct 13, 2026
@hjohn
hjohn marked this pull request as ready for review October 13, 2026 09:03
@smcvb smcvb added this to the Release 2026.2.0 milestone Oct 20, 2026
@smcvb
smcvb requested review from a team, MGathier, m1l4n54v1c, schananas and trimoq and removed request for a team October 20, 2026 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants