Skip to content

objectpools: Add `pool_repositories` table index

Justin Tobler requested to merge jt-update-pool-index into master

What does this MR do and why?

objectpools: Add pool_repositories table index

Currently the relative path of an object pool uniquely identifies the corresponding repository because an individual object pool cannot exist on multiple storages. In the future, repository storage moves may result in the same object pool being replicated to another storage. To support this, the unique index of the pool_repositories table is updated to use both the disk_path (relative path) and shard_id (storage).

Changelog: added

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.

Merge request reports