Skip to content

Allow switching diskless.enable from false to true#486

Merged
jeqo merged 5 commits intomainfrom
giuseppelillo/allow-diskless-false-to-true
Jan 26, 2026
Merged

Allow switching diskless.enable from false to true#486
jeqo merged 5 commits intomainfrom
giuseppelillo/allow-diskless-false-to-true

Conversation

@giuseppelillo
Copy link
Copy Markdown
Contributor

diskless.enable for a topic can be switched from false to true, only if diskless.migration.enable is enabled.

`diskless.enable` for a topic can be switched from false to true,
only if `diskless.migration.enable` is enabled.
@giuseppelillo giuseppelillo marked this pull request as ready for review January 19, 2026 15:19
@giuseppelillo giuseppelillo requested a review from jeqo January 20, 2026 15:34
@giuseppelillo giuseppelillo requested a review from jeqo January 22, 2026 09:43
@giuseppelillo
Copy link
Copy Markdown
Contributor Author

Added a new commit to clean up the logic, allowing config updates and considering the cases where a classic topic does not have diskless.enable set to false.

@giuseppelillo giuseppelillo requested a review from jeqo January 22, 2026 15:41
Copy link
Copy Markdown
Contributor

@jeqo jeqo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a final suggestion on the LogConfig validation for diskless to make it a bit more readable and have more explicit error messages. Apart from that, LGTM.

Copy link
Copy Markdown
Contributor

@jeqo jeqo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM @giuseppelillo, just a minor error on my suggestion to be fixed before merging. Thanks!

@jeqo jeqo merged commit cf8dd0a into main Jan 26, 2026
5 checks passed
@jeqo jeqo deleted the giuseppelillo/allow-diskless-false-to-true branch January 26, 2026 10:28
giuseppelillo added a commit that referenced this pull request Jan 27, 2026
`diskless.enable` for a topic can be switched from false to true,
only if `diskless.migration.enable` is enabled
giuseppelillo added a commit that referenced this pull request Jan 27, 2026
`diskless.enable` for a topic can be switched from false to true,
only if `diskless.migration.enable` is enabled
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