bundle-URI: remove storage name from bundle path
When storing a bundle to storage, Gitaly generates a bundle name using the tuple (storage_name, relative_path).
This scheme does not work well when using Gitaly Cluster because the storage name is unique per node, which results in the same bundle being genearted n
number of times, where n
equals the number of nodes in the cluster.
This commit removes the storage_name
from the bundle name. By using only the relative_path
, which is common for the same repository across all nodes, all nodes of a cluster can now share the same bundle URI for the same repository.
Relevant resources: