Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert typecasting of variables sent to JsonStream, instead assume that | Tor Egge | 2019-03-15 | 1 | -2/+2 |
| | | | | JsonStream will get overloads for the relevant fundamental types. | ||||
* | Adjust types in storage module. | Tor Egge | 2019-03-14 | 6 | -20/+20 |
| | |||||
* | Adjust build setup for Darwin. | Tor Egge | 2019-03-14 | 1 | -1/+1 |
| | |||||
* | cinttypes must be included before Jydy.h. | Tor Egge | 2019-03-13 | 1 | -0/+1 |
| | |||||
* | Fix format strings in storage module. | Tor Egge | 2019-03-12 | 16 | -39/+39 |
| | |||||
* | Add '()' to macro definition. | Geir Storli | 2019-03-01 | 1 | -1/+1 |
| | |||||
* | Simplify. | Geir Storli | 2019-03-01 | 1 | -1/+0 |
| | |||||
* | Merge pull request #8616 from ↵ | Geir Storli | 2019-02-27 | 2 | -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 Vekterli | 2019-02-26 | 2 | -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 Egge | 2019-02-25 | 1 | -0/+2 |
|/ | |||||
* | Merge pull request #8588 from ↵ | Tor Brede Vekterli | 2019-02-25 | 6 | -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 down | Tor Brede Vekterli | 2019-02-22 | 6 | -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 Storli | 2019-02-22 | 1 | -8/+2 |
|/ | |||||
* | Add workarounds for legacy global distribution hash handling | Tor Brede Vekterli | 2019-02-21 | 9 | -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 interfere | Tor Egge | 2019-02-20 | 1 | -3/+1 |
| | | | | with each other, cf. PersistenceTestUtils::setupDisks(). | ||||
* | Use ASSERT_EQ when checking vector sizes. | Geir Storli | 2019-02-18 | 1 | -4/+4 |
| | |||||
* | Add gtest runner in storage and migrate bucketmovertest from CppUnit to gtest. | Geir Storli | 2019-02-18 | 7 | -60/+61 |
| | |||||
* | Derive correct distribution partition spec for grouped clusters | Tor Brede Vekterli | 2019-02-12 | 2 | -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 Vekterli | 2019-02-11 | 6 | -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 spaces | Tor Brede Vekterli | 2019-02-11 | 1 | -1/+1 |
| | | |||||
| * | Expose data metrics per bucket space on content node | Tor Brede Vekterli | 2019-02-08 | 6 | -45/+159 |
| | | | | | | | | Legacy metrics that cover all bucket spaces remain unchanged. | ||||
* | | Eliminate some clang warnings in storage. | Tor Egge | 2019-02-10 | 13 | -48/+8 |
|/ | |||||
* | Update metric descriptions | Tor Brede Vekterli | 2019-02-07 | 1 | -2/+2 |
| | |||||
* | Rename and restructure C++ TLS metrics | Tor Brede Vekterli | 2019-02-07 | 2 | -20/+31 |
| | | | | | - Use dashes instead of underscores - Explicitly separate client/server metrics in metric path | ||||
* | Append node identity to response messages sent by Bouncer component | Tor Brede Vekterli | 2019-02-04 | 3 | -6/+16 |
| | |||||
* | Adjust forward declarations in storage. | Tor Egge | 2019-02-03 | 24 | -38/+39 |
| | |||||
* | Reduce use of system() in storage unit tests. | Tor Egge | 2019-01-23 | 2 | -6/+9 |
| | |||||
* | 6-SNAPSHOT -> 7-SNAPSHOT | Arnstein Ressem | 2019-01-21 | 1 | -2/+2 |
| | |||||
* | Remove metrics for persistence provider that were deprecated and broken (not ↵ | Geir Storli | 2019-01-21 | 2 | -5/+1 |
| | | | | thread safe) on Vespa 6. | ||||
* | Remove workarounds added during transition to multiple bucket spaces. | Tor Egge | 2019-01-21 | 4 | -51/+9 |
| | |||||
* | Remove deprecated iterators_per_bucket setting from stor-visitor.def. | Tor Egge | 2019-01-21 | 2 | -50/+2 |
| | |||||
* | Remove deprecated memorytouse setting in stor-server.def. | Tor Egge | 2019-01-21 | 1 | -5/+0 |
| | |||||
* | Merge pull request #8153 from vespa-engine/havardpe/remove-fastlib-webserver | Henning Baldersheim | 2019-01-15 | 1 | -1/+0 |
|\ | | | | | remove fastlib webserver | ||||
| * | remove fastlib webserver | Håvard Pettersen | 2019-01-15 | 1 | -1/+0 |
| | | |||||
* | | Merge pull request #8109 from vespa-engine/vekterli/fix-tsan-detected-data-races | Tor Brede Vekterli | 2019-01-15 | 7 | -24/+30 |
|\ \ | |/ |/| | Fix some ThreadSanitizer reported data races | ||||
| * | Use atomics for flags and configs set and read across threads | Tor Brede Vekterli | 2019-01-10 | 5 | -16/+19 |
| | | |||||
| * | Use atomics to ensure well-defined memory visibility in test | Tor Brede Vekterli | 2019-01-10 | 1 | -7/+8 |
| | | |||||
| * | Pending count must be atomic, read and written from different threads | Tor Brede Vekterli | 2019-01-09 | 1 | -1/+3 |
| | | |||||
* | | improve path/query handling | Håvard Pettersen | 2019-01-14 | 1 | -14/+2 |
|/ | | | | | | - return attributes by value to avoid referencing deconstructed objects. - use path/query form portal request to avoid dequoting issues - log raw uri instead of dequoted non-parsed uri | ||||
* | GC unused code and update includes | Henning Baldersheim | 2019-01-05 | 2 | -1/+2 |
| | |||||
* | Quck bail out when port can not be listened to. | Henning Baldersheim | 2019-01-04 | 1 | -2/+8 |
| | |||||
* | log status server exceptions | Håvard Pettersen | 2019-01-04 | 1 | -0/+1 |
| | |||||
* | move-construct function member | Håvard Pettersen | 2019-01-04 | 1 | -1/+1 |
| | |||||
* | do not inherit from Runnable | Håvard Pettersen | 2019-01-04 | 1 | -3/+1 |
| | |||||
* | use portal in storage webserver | Håvard Pettersen | 2019-01-02 | 3 | -243/+114 |
| | |||||
* | Add TLS statistics to vespalib and expose as metrics via storageserver | Tor Brede Vekterli | 2018-12-18 | 6 | -8/+123 |
| | | | | Now without unused expiry time extraction. | ||||
* | Revert "Add TLS statistics to vespalib and expose as metrics via storageserver" | Harald Musum | 2018-12-18 | 6 | -123/+8 |
| | |||||
* | Add TLS statistics to vespalib and expose as metrics via storageserver | Tor Brede Vekterli | 2018-12-17 | 6 | -8/+123 |
| | | | | | Also add functionality for extracting "notAfter" expiration time from current certificate, which may later be added as an expiry metric. | ||||
* | Support test-and-set for auto-create document updates | Tor Brede Vekterli | 2018-11-26 | 7 | -29/+72 |
| | | | | | | | Has the obvious consistency caveats that if all your existing replicas are down, the update will go through since the document from an weak consistency perspective does not exist anywhere. But can be a useful feature if this is an acceptable tradeoff. | ||||
* | Remove experimental enable-multiple-bucket-spaces flag. | Geir Storli | 2018-11-23 | 6 | -50/+4 |
| | | | | The feature has been default on since late May 2018. |