diff options
author | Tor Brede Vekterli <vekterli@yahoo-inc.com> | 2016-11-16 12:02:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-16 12:02:25 +0100 |
commit | a589b650c81a9d8e2f0bf9a29195e6c160f455c8 (patch) | |
tree | 4c41a85843683d52595838f74af8d538a29dac0f /storage/src/tests/distributor/CMakeLists.txt | |
parent | 1c56eec1f6daf95f8e6b165fcfb15064a28f3a8d (diff) |
Implement distributor bucket ownership handover safe time point (#1098)
This adds a period of time after each distributor bucket ownership handover edge where mutations requiring timestamp assignments are bounced back to the client. This is in order to avoid the possibility of generating the same timestamp as a previous distributor whose bucket subset we now own. The time period is configurable in whole seconds based on expected worst-case cluster clock skew and the feature may be disabled entirely by setting the configured value to zero.
Read-only operations and mutating operations that don't require new timestamps (such as RemoveLocation are allowed through).
Diffstat (limited to 'storage/src/tests/distributor/CMakeLists.txt')
-rw-r--r-- | storage/src/tests/distributor/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/src/tests/distributor/CMakeLists.txt b/storage/src/tests/distributor/CMakeLists.txt index 30751a01a30..600a8231a8e 100644 --- a/storage/src/tests/distributor/CMakeLists.txt +++ b/storage/src/tests/distributor/CMakeLists.txt @@ -38,6 +38,7 @@ vespa_add_library(storage_testdistributor TEST bucketgctimecalculatortest.cpp nodemaintenancestatstrackertest.cpp distributor_host_info_reporter_test.cpp + ownership_transfer_safe_time_point_calculator_test.cpp DEPENDS storage_distributor storage_testcommon |