Repository navigation
docs(upgrade): correct four sentences of the 1.0.0 upgrade notes - #1133
Merged
Merged
Conversation
- Current Status: 0.1.15 read many of its Cassandra rows at ONE, not all of them. - General Upgrade Procedure: from 0.1.15, migrate prints "Up to date". Current is the status that verify prints. - The v1.0.0 Cassandra entry: 0.1.15 ran many of its lightweight transactions at LOCAL_SERIAL and LOCAL_QUORUM already. The admin user creation and most IAM writes ran at the driver's defaults, SERIAL and ONE. - The v1.0.0 catalog key entry: the PostgreSQL query now matches the pattern of a key that 1.0.0 accepts. The pattern is 42 base64 characters, one of the 16 characters with zero padding bits, and "=". The text for the other backends refers to the same pattern. The old query, length(decode(value, 'base64')), printed 32 for a key with a newline, a space or nonzero padding bits. 1.0.0 refuses each of these keys.
LeeroyHannigan
requested review from
amrith,
c33howard,
demohan,
eliseong,
hitesh96db,
jcshepherd,
navareamol,
pdf-amzn and
robinnsc
as code owners
November 18, 2026 13:21
demohan
approved these changes
Nov 18, 2026
demohan
left a comment
Collaborator
There was a problem hiding this comment.
Approve. The four sentences match the source. At v0.1.15, query_lwt runs at LOCAL_QUORUM with LOCAL_SERIAL, the admin user creation sends no level, and 9 of the 12 IAM conditional writes use apply_lwt at the driver default. On PostgreSQL 14 and 16 the new query printed t for a valid key and f for a key with a newline, a key with a space, a 16-byte key and a key with nonzero padding bits. base64 0.22.1 accepts the same 16 characters as the regex in the 43rd position. Optional: the driver sends no serial level, so SERIAL is the server default rather than the driver's.
6 of 8 tasks
LeeroyHannigan
added a commit
that referenced
this pull request
Nov 19, 2026
docs/manuals/07-upgrade-manual.md keeps the migration 13 text of this branch in Current Status. Its Cassandra sentence takes the "many of its rows" correction of main (#1133). The General Upgrade Procedure keeps the migration 13 sentence of this branch in place of the "Up to date" sentence of main. On this branch an upgrade from 0.1.15 applies migration 13.
LeeroyHannigan
added a commit
that referenced
this pull request
Nov 19, 2026
docs/manuals/07-upgrade-manual.md keeps the migration 13 text of this branch in Current Status. Its Cassandra sentence takes the "many of its rows" correction of main (#1133). The General Upgrade Procedure keeps the migration 13 sentence of this branch in place of the "Up to date" sentence of main. On this branch an upgrade from 0.1.15 applies migration 13.
6 of 8 tasks
LeeroyHannigan
added a commit
that referenced
this pull request
Nov 19, 2026
Release 1.0.0 shipped from main (#1133) without this branch. The four sentences that 2fc23a2 changed for migration 13 describe 1.0.0, which carries migrations 1 to 12. They are again the text of main: - Current Status - the opening of the General Upgrade Procedure - the opening of the Rollback Procedure - the rollback paragraph of the v1.0.0 key entry The GSI queue entry of this branch now says what migration 13 changes for a rollback to 1.0.0. On PostgreSQL the migration is breaking, so 1.0.0 refuses the migrated catalog, and a rollback restores both databases. SQLite, MongoDB and Cassandra record it as not applicable, and 1.0.0 serves those catalogs with a warning.
LeeroyHannigan
added a commit
that referenced
this pull request
Nov 19, 2026
… entries to v1.1.0 Release 1.0.0 shipped from main (#1133) without this branch. The four sentences that e2654c4 changed for migration 13 describe 1.0.0, which carries migrations 1 to 12. They are again the text of main: - Current Status - the opening of the General Upgrade Procedure - the opening of the Rollback Procedure - the rollback paragraph of the v1.0.0 key entry The migration 13 paragraph of this branch in Current Status is now followed by what the migration changes for a rollback to 1.0.0. On PostgreSQL and SQLite the migration is breaking, so 1.0.0 refuses the migrated catalog, and a rollback restores the backup. MongoDB and Cassandra record it as not applicable, and 1.0.0 serves those catalogs with a warning. The two entries of this branch under Behavior Changes by Release now name v1.1.0. docs/versioning.md puts a breaking catalog migration in a minor release, so 1.0.1 cannot carry this branch.
LeeroyHannigan
added a commit
that referenced
this pull request
Nov 19, 2026
No file conflicted. The base branch now holds main at release 1.0.0 (#1107) and the upgrade note changes of #1133. Main changed neither extenddb.sample.toml nor the config crate, and docs/configuration.md still matches the sample. Cargo.lock differs from the lock file of main only by the serde_json dependency of extenddb-config that this branch adds. The four license notice files are current.
3 of 8 tasks
Open
4 of 8 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
This corrects four sentences that #1107 added to
docs/manuals/07-upgrade-manual.mdfor the upgrade to 1.0.0:ONE, not all of them.migrateprintsUp to date.Currentis the status thatverifyprints.LOCAL_SERIALandLOCAL_QUORUMalready. The admin user creation and most IAM writes ran at the driver's defaults,SERIALandONE.tfor a valid key andffor four keys that 1.0.0 refuses. The text for the other backends refers to the same pattern.Why
Follows #1107.
LOCAL_QUORUM, withLOCAL_SERIALas its serial level. 63 calls go through it. The admin user store and most of the IAM store sent their conditional writes with no level, so the driver's defaults applied. Three IAM writes (the password change, the user delete and the account delete) committed atLOCAL_QUORUMand sent no serial level.extenddb migrateprintsUp to date: the catalog is at migration 12, the latest this binary carries. No migrations needed.and exits 0.=. The 43rd character holds the last 4 bits of the key and 2 padding bits. Thebase64crate that 1.0.0 uses requires zero padding bits, and 16 of the 64 characters meet this in that position.length(decode(value, 'base64'))printed 32 for a key with a newline, a space or nonzero padding bits. 1.0.0 refuses each of these keys at startup.Testing done
The old and the new query on PostgreSQL 16, and the key check of 1.0.0, with five keys:
invalid symbol at offset 44invalid symbol at offset 10encryption key must be 32 bytesinvalid last symbol at offset 42decode_key_into, copied into a scratch program with the samebase64version, 0.22.1.cargo +1.97.0 test --locked -p extenddb-storage-postgres --test doc_version_literals: 3 passed.migrateprinted theUp to dateline above. 1.0.0serveexited 1 on the same catalog with a newline at the end of the key.Checklist
cargo test --workspace)cargo fmt --check)cargo clippy -- -W clippy::pedantic)Storagetrait, auth model, on-diskformat, or public CLI surface, an RFC has been accepted or is linked
below. Otherwise, an ADR captures the decision (link below).
ADR / RFC: n/a
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache License 2.0 and I agree to the Developer Certificate of
Origin (DCO). See CONTRIBUTING.md for details.