summaryrefslogtreecommitdiffstats
path: root/storage
Commit message (Collapse)AuthorAgeFilesLines
* Convert BucketDBUpdaterTest from CppUnit to GTestTor Brede Vekterli2019-03-273-896/+597
|
* Merge pull request #8882 from ↵Tor Brede Vekterli2019-03-2632-151/+962
|\ | | | | | | | | vespa-engine/vekterli/add-read-only-support-during-cluster-state-transitions Add read-only support during cluster state transitions
| * Address code review feedback for distributor changesTor Brede Vekterli2019-03-262-7/+15
| |
| * Minor C++ cleanupsTor Brede Vekterli2019-03-226-7/+8
| |
| * Always allow activation commands through bouncer componentTor Brede Vekterli2019-03-202-0/+15
| | | | | | | | | | Otherwise we'd miss activation commands sent for a cluster state in which our own node is marked down.
| * Test more BucketDBUpdater two-phase transition edge casesTor Brede Vekterli2019-03-203-58/+98
| |
| * Properly handle non-owned vs. missing bucketsTor Brede Vekterli2019-03-159-52/+250
| | | | | | | | | | | | | | | | Bonus: no more spurious "we have removed buckets" log messages caused by ownership changes. Also ensure that we BUSY-bounce operations in `ExternalOperationHandler` when there is no actual state to send back in a `WrongDistributionReply`.
| * WIP on BucketDBUpdater explicit activation supportTor Brede Vekterli2019-03-146-7/+115
| |
| * Basic handling of activate_cluster_state_version RPC in backendTor Brede Vekterli2019-03-147-14/+122
| |
| * Move non-owned buckets to read-only DB and allow use for read-only opsTor Brede Vekterli2019-03-1412-66/+321
| |
| * Add read-only bucket space repo and wire it through distributor componentsTor Brede Vekterli2019-03-1415-51/+129
| |
* | include content length in http responseHåvard Pettersen2019-03-261-0/+3
| |
* | Revert "include content length in http response"Harald Musum2019-03-251-3/+0
| |
* | include content length in http responseHåvard Pettersen2019-03-251-0/+3
| |
* | Revert typecasting of variables sent to JsonStream, instead assume thatTor Egge2019-03-151-2/+2
| | | | | | | | JsonStream will get overloads for the relevant fundamental types.
* | Adjust types in storage module.Tor Egge2019-03-146-20/+20
| |
* | Adjust build setup for Darwin.Tor Egge2019-03-141-1/+1
|/
* cinttypes must be included before Jydy.h.Tor Egge2019-03-131-0/+1
|
* Fix format strings in storage module.Tor Egge2019-03-1216-39/+39
|
* Add '()' to macro definition.Geir Storli2019-03-011-1/+1
|
* Simplify.Geir Storli2019-03-011-1/+0
|
* Merge pull request #8616 from ↵Geir Storli2019-02-272-6/+20
|\ | | | | | | | | vespa-engine/vekterli/log-bucket-info-before-and-after-on-update-inconsistency Log before/after bucket info for when update operation inconsistency is discovered
| * Log before/after bucket info for when update operation inconsistency is ↵Tor Brede Vekterli2019-02-262-6/+20
| | | | | | | | | | | | discovered Makes it more obvious if the inconsistency is likely due to e.g. a checksum collision.
* | Eliminate some gcc 9 warnings.Tor Egge2019-02-251-0/+2
|/
* Merge pull request #8588 from ↵Tor Brede Vekterli2019-02-256-36/+70
|\ | | | | | | | | vespa-engine/vekterli/do-not-bruteforce-abort-client-ops-during-orchestrated-down Fail client ops gracefully when distributor is marked down
| * Fail client ops gracefully when distributor is marked downTor Brede Vekterli2019-02-226-36/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, clients would only receive `ABORTED` when the distributor was marked down by orchestration. This would simply cause the client to resend until either the `StoragePolicy` would discard the cluster state entirely and retry against a working distributor, or the operations would time out. Now they will receive a `WrongDistributionReply` that shall immediately update the `StoragePolicy` to avoid sending to the distributor that has been marked down. Also add a separate metric for number of operations aborted by `Bouncer`. This fixes #8448.
* | Reduce code duplication in gtest runners.Geir Storli2019-02-221-8/+2
|/
* Add workarounds for legacy global distribution hash handlingTor Brede Vekterli2019-02-219-21/+277
| | | | | | | | | | | | | | | | | | | 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.
* Stop running storage unit tests in parallel, the tests can interfereTor Egge2019-02-201-3/+1
| | | | with each other, cf. PersistenceTestUtils::setupDisks().
* Use ASSERT_EQ when checking vector sizes.Geir Storli2019-02-181-4/+4
|
* Add gtest runner in storage and migrate bucketmovertest from CppUnit to gtest.Geir Storli2019-02-187-60/+61
|
* Derive correct distribution partition spec for grouped clustersTor Brede Vekterli2019-02-122-27/+31
| | | | | | | | 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
* Merge pull request #8443 from ↵Tor Brede Vekterli2019-02-116-45/+159
|\ | | | | | | | | vespa-engine/vekterli/add-per-bucket-space-data-metrics-on-content-node Expose data metrics per bucket space on content node
| * Use non-generic dimension name for bucket spacesTor Brede Vekterli2019-02-111-1/+1
| |
| * Expose data metrics per bucket space on content nodeTor Brede Vekterli2019-02-086-45/+159
| | | | | | | | Legacy metrics that cover all bucket spaces remain unchanged.
* | Eliminate some clang warnings in storage.Tor Egge2019-02-1013-48/+8
|/
* Update metric descriptionsTor Brede Vekterli2019-02-071-2/+2
|
* Rename and restructure C++ TLS metricsTor Brede Vekterli2019-02-072-20/+31
| | | | | - Use dashes instead of underscores - Explicitly separate client/server metrics in metric path
* Append node identity to response messages sent by Bouncer componentTor Brede Vekterli2019-02-043-6/+16
|
* Adjust forward declarations in storage.Tor Egge2019-02-0324-38/+39
|
* Reduce use of system() in storage unit tests.Tor Egge2019-01-232-6/+9
|
* 6-SNAPSHOT -> 7-SNAPSHOTArnstein Ressem2019-01-211-2/+2
|
* Remove metrics for persistence provider that were deprecated and broken (not ↵Geir Storli2019-01-212-5/+1
| | | | thread safe) on Vespa 6.
* Remove workarounds added during transition to multiple bucket spaces.Tor Egge2019-01-214-51/+9
|
* Remove deprecated iterators_per_bucket setting from stor-visitor.def.Tor Egge2019-01-212-50/+2
|
* Remove deprecated memorytouse setting in stor-server.def.Tor Egge2019-01-211-5/+0
|
* Merge pull request #8153 from vespa-engine/havardpe/remove-fastlib-webserverHenning Baldersheim2019-01-151-1/+0
|\ | | | | remove fastlib webserver
| * remove fastlib webserverHåvard Pettersen2019-01-151-1/+0
| |
* | Merge pull request #8109 from vespa-engine/vekterli/fix-tsan-detected-data-racesTor Brede Vekterli2019-01-157-24/+30
|\ \ | |/ |/| Fix some ThreadSanitizer reported data races
| * Use atomics for flags and configs set and read across threadsTor Brede Vekterli2019-01-105-16/+19
| |