docs+test: upgrade/downgrade compatibility policy and format-compat regressions - #384
Merged
Conversation
…egressions Add docs/manual/upgrade-and-downgrade.md recording the compatibility matrix: new versions read legacy (variable-length, pre-marker) databases; downgrading below the marker-introducing release is NOT supported for databases that contain commit-time tombstone markers (negative length prefixes). Includes the recommended read-only-first upgrade order and notes the planned cross-version CI job. FormatCompatPolicyTests locks in the forward-compatibility guarantees: (1) a legacy variable-length file reads back and accepts current-version marker writes across reopens, (2) commit-time tombstone markers stay stable across reopen cycles while rows appended afterwards coexist.
|
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.



Samenvatting
Punt 2 hardening: upgrade/downgrade-beleid gedocumenteerd + format-compat regressietests.
Nieuwe
docs/manual/upgrade-and-downgrade.mdmet de compatibiliteitsmatrix:encrypted-header bestanden; zonder
IsFixedWidthRecords-flag blijft een tabel variable-length.(negatieve lengte-prefixes) — een oudere binary die alleen positieve prefixes kent kan die niet
overslaan. Inclusief aanbevolen upgrade-volgorde (backup → read-only open → read-write) en de
geplande cross-version CI-job.
FormatCompatPolicyTests(2 nieuwe tests) vergrendelt de twee forward-compat-garanties:writes, over meerdere reopens.
geappendete rijen.
Validatie