Repository navigation
fix(schema): make current V2 the sole fresh-install DDL owner - #29
Open
servicememeai wants to merge 10 commits into
Open
servicememeai wants to merge 10 commits into
servicememeai wants to merge 10 commits into
Conversation
…l current Guard only
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.
Problem
Previous startup still ran historical
cloudfile.sqland the 001..042 legacySchemaRunner, creating Guard/ACL/group tables incompatible with current V2 (including the SQL 1176 Guard index outage).Fix
cloudfile-v2.sql(exactlycf_library_storage,cf_dir_acl,cf_sso_group_map), pluscloudfile-v2-edit.sqlonly if Checkout or file locks are explicitly enabled.cloudfile.sql, old hierarchy ALTER and old audit table DDL during normal V2 startup; retain the CE-native metadata/tag compatibility shims..cloudfile-schema-init-pendingintent on failure; existing volumes do not auto-upgrade./scripts/cloudfile-v2-schema.py plan|checkfor metadata-only inspection of existing tables, no data reads or persistent mutations.Dependencies
Hub #41 provides the V2 inventory. Server #20 enforces current Guard layout and stops deterministic upload retry loops.
Limits
No migration of existing Guard rows is attempted: preserve data/generation and active leases until a reviewed offline snapshot-specific migration. No DEV/PROD changes or full costly CI automatically.