summaryrefslogtreecommitdiffstats
path: root/storage/src/tests/common/global_bucket_space_distribution_converter_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove legacy distribution hash fallbackTor Brede Vekterli2022-06-091-62/+2
| | | | | Was used to handle rolling upgrades between versions with different semantics a long time ago on the 7 branch.
* Reduce code visibility and include only what you need from config library.Henning Baldersheim2022-02-061-1/+0
|
* Update 2017 copyright notices.gjoranv2021-10-071-1/+1
|
* - Reduce visibility of ClusterState and Distribution.Henning Baldersheim2021-02-191-0/+1
|
* Convert tests in 'common' module from CppUnit to GTestTor Brede Vekterli2019-06-121-52/+28
| | | | Still builds shared non-test library.
* Add workarounds for legacy global distribution hash handlingTor Brede Vekterli2019-02-211-2/+64
| | | | | | | | | | | | | | | | | | | This addresses a regression introduced as part of #8479, which in turn was intended to serve as a fix for issue #8475. This regression would stall cluster state convergence when a subset of nodes contained the fix and another subset did not. With the workarounds present, nodes gracefully handle the case where different distribution hashes are expected for the global bucket space. `BucketManager` will now fall back to comparing the new incoming hash to that of the legacy derived distribution config if it mismatches. `PendingClusterState` will try to send a subset of bucket info requests with legacy hash format for the global bucket space iff there has been at least 1 rejected request. All these workarounds will be removed on Vespa 8.
* Derive correct distribution partition spec for grouped clustersTor Brede Vekterli2019-02-121-19/+19
| | | | | | | | Simplify code by emitting wildcards for all groups instead of using explicit leaf counts. Distribution code will distribute replicas evenly across all wildcarded groups. This fixes #8475
* Add utility function for transforming lib::Distribution instances to globalTor Brede Vekterli2018-01-111-26/+21
|
* Add utility for transforming default distribution config to globalTor Brede Vekterli2017-12-011-0/+385
Global distribution config in this context means a config that places a replica of every bucket on every node in the group hierarchy.