Skip to content

Disallow setting remote.storage.enable when diskless.enable is set to true#513

Merged
giuseppelillo merged 3 commits intomainfrom
giuseppelillo/diskless-remote-storage-mutex
Feb 18, 2026
Merged

Disallow setting remote.storage.enable when diskless.enable is set to true#513
giuseppelillo merged 3 commits intomainfrom
giuseppelillo/diskless-remote-storage-mutex

Conversation

@giuseppelillo
Copy link
Contributor

@giuseppelillo giuseppelillo commented Feb 17, 2026

Separates two different kind of topics:

  • diskless enabled topics can only have diskless.enable=true, while remote.storage.enable cannot be set for these types of topics
  • remote storage enabled topics can only have remote.storage.enable=true

The only possible transition is from remote.storage.enable=false (or unset) to remote.storage.enable=true. All other types of transitions are prohibited.

@giuseppelillo giuseppelillo force-pushed the giuseppelillo/diskless-remote-storage-mutex branch 3 times, most recently from ce5f64f to 4bf07e1 Compare February 17, 2026 14:54
@giuseppelillo giuseppelillo force-pushed the giuseppelillo/diskless-remote-storage-mutex branch from 4bf07e1 to a411dc4 Compare February 17, 2026 15:09
@giuseppelillo giuseppelillo marked this pull request as ready for review February 17, 2026 15:10
@giuseppelillo giuseppelillo force-pushed the giuseppelillo/diskless-remote-storage-mutex branch from 414af2b to 5af8dbc Compare February 18, 2026 09:32
jjaakola-aiven
jjaakola-aiven previously approved these changes Feb 18, 2026
@giuseppelillo giuseppelillo merged commit 43b48a1 into main Feb 18, 2026
5 checks passed
@giuseppelillo giuseppelillo deleted the giuseppelillo/diskless-remote-storage-mutex branch February 18, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants