fix(cassandra): restore published autoscaler compatibility - #1597
fix(cassandra): restore published autoscaler compatibility#1597sbaum1994 wants to merge 1 commit into
Conversation
Migrations 0.17.2 removed three tables that are still required by the latest published function-autoscaler image. Recreate them idempotently so the current self-managed stack can consume the NVCT schema update without breaking scale-from-zero. Fixes #1592 Signed-off-by: Stephanie Baum <sbaum@nvidia.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 WalkthroughWalkthroughThe migration restores three autoscaler Cassandra tables for current state and history. It applies TTL, compaction, clustering, and read-repair settings. The migration test verifies idempotent creation for each table. ChangesAutoscaler schema restoration
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This restores the autoscaler tables required by the published image during Cassandra upgrades, preventing scale-from-zero discovery failures. The migration is idempotent and includes regression coverage, with no current merge-blocking risk identified. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Why
Cassandra migrations
0.17.2removed three autoscaler tables that are still queried by the latest published function-autoscaler image. That prevents the self-managed stack from taking the current NVCT schema without breaking autoscaler behavior.What changed
Adds an idempotent migration that restores the three published-autoscaler tables and extends the migration regression test to require them.
Customer Release Notes
Preserves function autoscaler compatibility when upgrading the self-managed Cassandra schema.
Plan Summary
Restores three Cassandra tables. Existing rows are unaffected.
Usage
Upgrade function autoscaler to chart
0.3.0and image1.21.0before applying the new migration release.Testing
migrations/cassandra/tests/test-execute-sqls.shNo additional QA is required beyond CI.
Notes
Publish migrations
0.17.3after merge, then advance the source-chart and stack pins.References
Related Pull Requests
Dependencies
None. No license or NOTICE changes.
Summary by CodeRabbit
New Features
Tests