aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/tests/distributor/removeoperationtest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Condition probing has long been defaultHenning Baldersheim2024-02-021-33/+13
|
* Update copyrightJon Bratseth2023-10-091-1/+1
|
* Make partial cancellelation state part of the APITor Brede Vekterli2023-08-211-1/+1
| | | | | Also rename factory function to avoid explicit coupling to higher level semantics.
* Implement edge-triggered distributor operation cancellingTor Brede Vekterli2023-08-181-0/+40
| | | | | | | | | | | | | | | | Will be used for ensuring active operations do not mutate the bucket database upon completion with stale entries for buckets that may no longer be valid for that distributor to handle. Removes the need for today's "always-on" implicit checks for node state and bucket ownership upon every single DB update (which is potentially ABA-susceptible). Moving to edge-triggering is intentionally done to avoid ABA problems. Cancellation cases are: * Distributor ownership of bucket changed * Subset of target nodes has become unavailable Note: cancellation is not yet wired in; this code is cold.
* Add dedicated condition probe metrics for `PutOperation`/`RemoveOperation`Tor Brede Vekterli2023-05-161-1/+2
| | | | | Follows the same pattern as that used for sub-operation metrics for write-repair during Update processing.
* Handle MessageBus trace propagation for conditional removesTor Brede Vekterli2023-05-151-1/+40
| | | | Pretty much a mirror image of the logic in `PutOperation`.
* added write repair logic to RemoveOperationHåvard Pettersen2023-05-121-5/+157
|
* Use espalib::system_time instead of framework::MilliSecTime for OperationHenning Baldersheim2023-02-071-3/+2
|
* Revert "Øess use of getSeconds/getMicroSeconds/getMilliSeconds."Henning Baldersheim2023-02-071-2/+3
|
* Øess use of getSeconds/getMicroSeconds/getMilliSeconds.Henning Baldersheim2023-02-051-3/+2
|
* Update 2017 copyright notices.gjoranv2021-10-071-1/+1
|
* Rename Distributor to TopLevelDistributor.Geir Storli2021-09-061-1/+1
|
* Rewrite per stripe tests to use DistributorStripeTestUtil instead of ↵Geir Storli2021-08-251-9/+7
| | | | DistributorTestUtil.
* Reduce direct use of DistributorStripeComponent.Geir Storli2021-05-141-2/+2
|
* Remove functions from DistributorStripeComponent that are part of ↵Geir Storli2021-03-221-1/+1
| | | | DistributorOperationContext interface.
* First steps of splitting distributor logic up into disjoint stripesTor Brede Vekterli2021-03-191-0/+1
| | | | For now only a single stripe may be used.
* Remove dependency between ExternalOperationHandler and DistributorComponent.Geir Storli2020-12-031-3/+3
|
* Add operation context interface to remove coupling between external ↵Geir Storli2020-11-301-0/+1
| | | | operations and DistributorComponent.
* Remove loadmetrics indirection.Henning Baldersheim2020-11-261-1/+1
|
* doc: -> id:Henning Baldersheim2019-08-161-15/+14
|
* Convert remaining CppUnit tests to GTestTor Brede Vekterli2019-06-251-104/+58
| | | | | | Move base message sender stub out to common test module to avoid artificial dependency from persistence tests to the distributor tests.
* Simplify distributor unit tests.Tor Egge2018-02-231-3/+2
|
* Pass distributor bucket space to remove location operation, removeTor Egge2017-11-031-0/+1
| | | | operation, stat bucket operation and visitor operation.
* Move test function makeDocumentBucket to document module.Tor Egge2017-10-201-2/+2
|
* Take document::Bucket instead of document::BucketId as constructorTor Egge2017-10-171-1/+4
| | | | argument to storage commands that inherit from BucketCommand.
* Update copyright headersJon Bratseth2017-06-141-1/+1
|
* Revert "Update copyright headers"Jon Bratseth2017-06-141-1/+1
|
* Update copyright headersJon Bratseth2017-06-141-1/+1
|
* Revert "Copyright header"Jon Bratseth2017-06-131-1/+1
|
* Copyright headerJon Bratseth2017-06-131-1/+1
|
* add override in storage testsArne H Juul2017-04-111-2/+2
|
* Further decouple some hpp files, config and the attributevector.Henning Baldersheim2016-12-201-4/+1
|
* PublishJon Bratseth2016-06-151-0/+203