Repository navigation
fix: check Replicated-database replicas before the first DDL #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
lesandie
merged 20 commits into
Altinity:master
from
EliShteinman:bugfix/replicated-database-ddl-preflight
Oct 25, 2026
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
29bdf4c
test: pin a replica preflight before any DDL in a Replicated database
EliShteinman d7c9f6a
fix: check Replicated-database replicas before the first DDL
EliShteinman 7aecef6
docs: record the Replicated-database replica preflight
EliShteinman 8dc9e43
test: a same-named configured cluster is not a Replicated database
EliShteinman 413be45
test: warn when a Replicated database lists no replicas
EliShteinman 1dc45a2
fix: probe replicas only for a database whose engine is Replicated
EliShteinman adae11d
test: pin a credential-free replica liveness preflight
EliShteinman 146f85e
fix: read Replicated-database replica liveness from Keeper, not a rem…
EliShteinman 637e689
docs: describe the Keeper-based replica liveness preflight
EliShteinman 2892d41
docs(todo): surface DDL TIMEOUT_EXCEEDED hidden behind IncompleteRead
EliShteinman d66e8d9
Merge origin/master into bugfix/replicated-database-ddl-preflight
EliShteinman 5e860ca
test: pin an opt-in liveness re-check and a database-only replica lookup
EliShteinman fbd0fa9
fix: make the liveness re-check opt-in and check only database replicas
EliShteinman 84230e8
docs: describe the opt-in replica liveness re-check
EliShteinman 577dab7
docs: specify dev-cluster e2e test
lesandie 2500a9d
test: add opt-in replicated database dev e2e
lesandie e711ac4
fix: handle empty replica recheck
lesandie a1790e3
test: require explicit S3 key absence
lesandie f4b93fe
test: exercise inventory across replicas
lesandie 3a8465a
docs: track complete CLI parameter reference
lesandie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # Dev-cluster E2E spec | ||
|
|
||
| Add an opt-in test that validates s3gc's Replicated-database preflight and | ||
| cross-replica inventory checkpoints against an isolated development ClickHouse | ||
| cluster and S3 prefix. The test must never run in the default pytest suite. | ||
|
|
||
| Acceptance criteria: | ||
|
|
||
| - The test requires explicit opt-in, ClickHouse credentials from a named | ||
| client connection or Kubernetes Secret environment, two distinct replica | ||
| endpoints, the S3 bucket and region, and IAM-backed S3 access. | ||
| - It creates a unique Replicated database and | ||
| `ReplicatedReplacingMergeTree` inventory, seeds only uniquely prefixed test | ||
| objects, collects on one replica, then runs dry-run and delete on the other. | ||
| Synchronization and verification check the inventory on both replicas. | ||
| - It deletes only the seeded fixture keys, confirms the dry-run candidate set | ||
| matches them, verifies replicated tombstones and missing S3 keys, and cleans | ||
| up only its own database and objects on success or failure. | ||
| - It remains marked `dev_cluster`, excluded from CI, and does not store or log | ||
| credentials or target-specific configuration. |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.