Migrate zoekt_shards to zoekt_nodes
What does this MR do and why?
Migrate zoekt_shards
to zoekt_nodes
. Note that there is only one zoekt_shards
record in production. After this MR is merged, we will repurpose zoekt_shards
with a different schema to actually reflect a "zoekt shard".
This MR also removes the zoekt_shard_id
NOT NULL
constraint from zoekt_indexed_namespaces
table as it is no longer used.
Related to #430787 (closed) (formerly #424456 (closed))
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Dmitry Gruzd