feat(migrations): add event_ledger keyspace Cassandra migration - #207
Merged
Merged
Conversation
Adds the Cassandra DDL migration files for the event_ledger keyspace: - 01_init_keyspace.up.sql: keyspace creation with NetworkTopologyStrategy - 02_init_roles.up.sql: application role and grants - 03_init_tables.up.sql: events_v3 and stats_v3 tables Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
balajinvda
approved these changes
Jul 16, 2026
balajinvda
left a comment
Contributor
There was a problem hiding this comment.
Fix the error and merge.
Contributor
|
🎉 This PR is included in version nvcf-cassandra-migrations-v0.13.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
4 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.
Why
The event_ledger keyspace migration files were missing from the repository. This adds the Cassandra DDL needed to provision the keyspace on fresh installations.
The
failed_cloudeventsandretry_leadertables are intentionally excluded as they are not required.What changed
Added
migrations/cassandra/keyspaces/event_ledger/with three migration files:01_init_keyspace.up.sql: creates the keyspace with NetworkTopologyStrategy replication02_init_roles.up.sql: creates the application role and grants03_init_tables.up.sql: creates theevents_v3andstats_v3tablesCustomer Release Notes
Not customer visible.
Plan Summary
Not applicable.
Usage
Not applicable.
Testing
Migration files follow the same clean-slate conventions as other keyspaces in this directory.
Notes
None.
References
Closes #169
Related Merge Requests/Pull Requests
None.
Dependencies
None.
Github commit:
feat(migrations): add event_ledger keyspace Cassandra migration
Adds Cassandra DDL migration files for the event_ledger keyspace, including keyspace creation, role grants, and the events_v3 and stats_v3 tables.