NVIDIA / NVIDIA/nvcf

Delete “clusters_by_account” table

Open
#773 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.