Skip to content

add --rbac, --configs, --named-collections to server --watch, #1461

Merged
Slach merged 2 commits into
masterfrom
feature_add_rbac_configs_in_watch
Jul 14, 2026
Merged

add --rbac, --configs, --named-collections to server --watch, #1461
Slach merged 2 commits into
masterfrom
feature_add_rbac_configs_in_watch

Conversation

@Slach

@Slach Slach commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

fix #955

The server command never declared these flags and RunWatch passed hardcoded false into b.Watch, so watch mode backed up only data even though the standalone watch command and the REST API endpoints (POST /backup/watch, POST /backup/actions) already supported them.

Cover with TestServerWatchRBACConfigs: run server --watch with all three flags, wait for the first full backup on remote, download it and assert rbac_size, config_size and named_collections_size > 0 in metadata.json.

The server command never declared these flags and RunWatch passed
hardcoded false into b.Watch, so watch mode backed up only data even
though the standalone watch command and the REST API endpoints
(POST /backup/watch, POST /backup/actions) already supported them.

Cover with TestServerWatchRBACConfigs: run server --watch with all
three flags, wait for the first full backup on remote, download it and
assert rbac_size, config_size and named_collections_size > 0 in
metadata.json.
@Slach Slach added this to the 2.8.0 milestone Jul 13, 2026
@Slach Slach merged commit 5c0f8fb into master Jul 14, 2026
28 checks passed
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.

add flags --configs --rbac in clickhouse-backup server --watch command

1 participant