Delete “clusters_by_account” table
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 218
- Forks
- 72
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 427
Description
Description
Create addition SAI indexes to the main "cluster_by_cluster_id" table and switch read from "cluster_by_account". Delete the table and legacy code.
Details
Required indexes:
CREATE CUSTOM INDEX ON sis_api.cluster_by_cluster_id (nca_id) USING 'StorageAttachedIndex'; CREATE CUSTOM INDEX ON sis_api.cluster_by_cluster_id (cluster_name) USING 'StorageAttachedIndex';
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating references to the "cluster_by_account" and "cluster_by_cluster_id" tables, including schema definitions, read paths, and legacy code. Add the two specified SAI indexes, switch reads to "cluster_by_cluster_id", and verify that the old table and code are no longer used before deleting them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cassandra, go
- Domain
- backend, database
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100