Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSami Hiltunen <shiltunen@gitlab.com>2020-11-11 21:57:22 +0300
committerSami Hiltunen <shiltunen@gitlab.com>2020-11-19 18:39:49 +0300
commit720fe6dd7dd7429f5ee91f4eef37fffc872a3018 (patch)
tree8518601a7fa6937d512fa696867689e7ccadef5e /.editorconfig
parent381df30b1b49b9fcfbc1e4107a106a70f1403c7d (diff)
fetch host node assignments from the database
In preparation for variable replication factor, Praefect gained support for assigning host nodes for repositories in 243dc385. The PerRepositoryRouter uses host assignments to determine which nodes should participate in transactions or get replicated to a given write. This commit adds a Postgres implementation of AssignmentGetter interface. This allows the PerRepositoryRouter to get host node assignments from the database to only include assigned nodes in transactions and replications.
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions