Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid holding ref to last generated operation | Tor Brede Vekterli | 2022-07-19 | 1 | -2/+2 |
| | | | | | Move ref away to avoid an unneeded refcount bump and avoid leaving behind a lingering strong reference to the last generated operation. | ||||
* | Add capability request access filter to internal StorageAPI RPC method | Tor Brede Vekterli | 2022-07-11 | 1 | -0/+4 |
| | | | | | | | | This should always succeed today, as authz rules by default grant all capabilities. But since this is a very hot call path, we'll learn very quickly if the capability check incurs a measurable overhead; it is not expected to do so in practice (really just a virtual function call and a few bitwise ops). | ||||
* | Merge pull request #23415 from ↵ | Henning Baldersheim | 2022-07-07 | 6 | -11/+11 |
|\ | | | | | | | | | vespa-engine/vekterli/add-separate-id-and-timestamp-wrapper Add wrapper for <doc id, timestamp> tuple and update APIs to use this | ||||
| * | Add wrapper for <doc id, timestamp> tuple and update APIs to use this | Tor Brede Vekterli | 2022-07-07 | 6 | -11/+11 |
| | | | | | | | | | | Feels more intuitive to have a tuple that implies "document foo at timestamp bar" rather than the current inverse of "timestamp bar with document foo". | ||||
* | | Add back dispatch_on_encode and dispatch_on_decode that still has overrides | Henning Baldersheim | 2022-07-07 | 1 | -0/+10 |
|/ | |||||
* | GC unused numThreads too. | Henning Baldersheim | 2022-07-07 | 2 | -5/+0 |
| | |||||
* | GC temporary dispatch flags. | Henning Baldersheim | 2022-07-07 | 1 | -9/+0 |
| | |||||
* | Never dispatch to network helper threads. | Henning Baldersheim | 2022-07-06 | 1 | -2/+0 |
| | |||||
* | Control events-before-wakeup for mbus too. | Henning Baldersheim | 2022-07-04 | 2 | -0/+4 |
| | |||||
* | GC unused optimize_for config | Henning Baldersheim | 2022-07-01 | 1 | -2/+0 |
| | |||||
* | Merge pull request #23316 from ↵ | Tor Brede Vekterli | 2022-07-01 | 18 | -1952/+31 |
|\ | | | | | | | | | vespa-engine/vekterli/remove-legacy-storage-protocol-versions GC all legacy storage protocol serialization versions | ||||
| * | GC all legacy storage protocol serialization versions | Tor Brede Vekterli | 2022-07-01 | 18 | -1952/+31 |
| | | | | | | | | | | | | Legacy version negotiation only happens over MessageBus transport, which is now removed. Current StorageAPI RPC transport always uses the newest version directly since it's built around Protobuf. | ||||
* | | GC removed config | Henning Baldersheim | 2022-07-01 | 1 | -12/+0 |
|/ | |||||
* | Remove legacy MessageBus StorageAPI transport fallback | Tor Brede Vekterli | 2022-06-30 | 5 | -150/+26 |
| | | | | | Direct P2P RPC has been the preferred way for years, and we don't need the fallback now that we're on Vespa 8. | ||||
* | Always skip messenger and communicationmanager when you can. | Henning Baldersheim | 2022-06-29 | 2 | -22/+4 |
| | |||||
* | GC long gone use_direct_storageapi_rpc. | Henning Baldersheim | 2022-06-28 | 1 | -5/+0 |
| | |||||
* | Remove 'requireSequencing' as an option. | Henning Baldersheim | 2022-06-26 | 2 | -2/+1 |
| | | | | As a consequence move protocol and params resolution to common code so that it is always handled in the decoding/encoding thread. | ||||
* | Remove .sum from metric name | Henning Baldersheim | 2022-06-16 | 2 | -2/+2 |
| | |||||
* | Remove legacy distribution hash fallback | Tor Brede Vekterli | 2022-06-09 | 7 | -219/+29 |
| | | | | | Was used to handle rolling upgrades between versions with different semantics a long time ago on the 7 branch. | ||||
* | Set project version to 8-SNAPSHOT | gjoranv | 2022-06-08 | 1 | -2/+2 |
| | |||||
* | cleanup unused second pass stats | Arne H Juul | 2022-06-08 | 2 | -10/+4 |
| | |||||
* | Remove '.sum' form vds sum metrics. | Henning Baldersheim | 2022-06-08 | 12 | -112/+72 |
| | | | | | | | | Remove '.sum' from metric names for storage node and also remove the average metrics for the same. Remove '.sum' from distributor metrics set and remove distributor average metrics. GC '.sum' from distributor metric names. Remove '.alldisks' from metric names and update tests. GC '.alldisks' from filestor metrics. | ||||
* | Remove most use of vespalib::rmdir | Tor Egge | 2022-06-03 | 4 | -12/+12 |
| | |||||
* | Let deadlock detector dump stack of potentially deadlocked threads | Tor Brede Vekterli | 2022-06-02 | 14 | -137/+159 |
| | | | | | | | | | | | Enable cross-thread stack tracing as part of signal handler init code in both storage and proton daemons. Make deadlock detector parameters live configurable. Remove existing `restart` config definition annotations to reflect this. Remove dumping of bucket DB locks which hasn't really worked for a long time now. | ||||
* | use separate lock for stats | Håvard Pettersen | 2022-05-24 | 2 | -6/+25 |
| | |||||
* | use cached queue size for metrics to avoid lock inversion | Håvard Pettersen | 2022-05-23 | 2 | -5/+24 |
| | |||||
* | Fold fastlib into vespalib and gc some unused code. | Henning Baldersheim | 2022-05-21 | 1 | -1/+0 |
| | | | | Also move some code only used by juniper up into juniper test module. | ||||
* | hold lock while modifying merge states map | Håvard Pettersen | 2022-05-20 | 1 | -2/+6 |
| | |||||
* | Merge pull request #22683 from ↵ | Håvard Pettersen | 2022-05-20 | 1 | -2/+4 |
|\ | | | | | | | | | vespa-engine/havardpe/wait-for-locks-to-be-released-when-deleting-file-stor-handler-impl wait for locks to be released in the destructor | ||||
| * | hold lock while notifying during final touch | Håvard Pettersen | 2022-05-20 | 1 | -1/+0 |
| | | |||||
| * | wait for locks to be released in the destructor | Håvard Pettersen | 2022-05-20 | 1 | -1/+4 |
| | | |||||
* | | Fold staging_vespalib into vespalib | Henning Baldersheim | 2022-05-20 | 2 | -4/+3 |
| | | |||||
* | | read cluster state while holding lock | Håvard Pettersen | 2022-05-20 | 2 | -11/+11 |
|/ | | | | | will also avoid error messages like 'message discarded due to cluster being UP' | ||||
* | Fold storageapi into storage. | Henning Baldersheim | 2022-05-19 | 105 | -2/+11537 |
| | |||||
* | Merge pull request #22662 from ↵ | Tor Brede Vekterli | 2022-05-19 | 1 | -1/+0 |
|\ | | | | | | | | | vespa-engine/havardpe/delay-slobrok-register-destruction delay destruction of the slobrok register component | ||||
| * | delay destruction of the slobrok register component | Håvard Pettersen | 2022-05-19 | 1 | -1/+0 |
| | | |||||
* | | Depend on storage instead of storageframework | Henning Baldersheim | 2022-05-18 | 2 | -2/+2 |
| | | |||||
* | | Collapse storageframework back into storage. | Henning Baldersheim | 2022-05-18 | 72 | -1/+3371 |
|/ | |||||
* | Merge pull request #22640 from ↵ | Henning Baldersheim | 2022-05-18 | 1 | -2/+2 |
|\ | | | | | | | | | vespa-engine/balder/move-from-staging-vespalib-too-vespalib Move state_server, metrivs and some all executors from staging_vespal… | ||||
| * | Move state_server, metrivs and some all executors from staging_vespalib too ↵ | Henning Baldersheim | 2022-05-18 | 1 | -2/+2 |
| | | | | | | | | vespalib. | ||||
* | | We only need to expose a single libstorage.so. No need to split up in ↵ | Henning Baldersheim | 2022-05-18 | 6 | -16/+14 |
|/ | | | | storage storgae_storageserver and storage_distributor. | ||||
* | - Move persitence/spi/types.h under to persitence/spi/types.h | Henning Baldersheim | 2022-05-18 | 2 | -2/+2 |
| | | | | - Cut dependency to persistencetypes for searchlib. | ||||
* | Ensure stripe pool threads vector is fully visible to all started stripes | Tor Brede Vekterli | 2022-05-16 | 2 | -2/+3 |
| | |||||
* | Remove disabled unit test that triggered compiler warnings | Tor Egge | 2022-05-16 | 1 | -42/+0 |
| | | | | (gcc 12 on aarch64 platform). | ||||
* | Merge pull request #22445 from ↵ | Henning Baldersheim | 2022-05-05 | 3 | -4/+32 |
|\ | | | | | | | | | vespa-engine/vekterli/atomic-visitor-queue-size-read Expose a relaxed atomic view of visitor queue size and use it for metric callback | ||||
| * | Expose a relaxed atomic view of visitor queue size and use it for metric ↵ | Tor Brede Vekterli | 2022-05-04 | 3 | -4/+32 |
| | | | | | | | | | | | | callback Avoids having to take a mutex that may potentially trigger lock order inversion | ||||
* | | GC unused metrics | Henning Baldersheim | 2022-05-03 | 2 | -8/+1 |
|/ | |||||
* | Revert "Add lock around visitor queue size read during metric snapshot callback" | Tor Egge | 2022-05-03 | 1 | -1/+0 |
| | |||||
* | Make StorageNode stop-request flag atomic | Tor Brede Vekterli | 2022-05-03 | 2 | -5/+10 |
| | | | | Also change requestShutdown() to be safe in the face of concurrent calls. | ||||
* | Add lock around visitor queue size read during metric snapshot callback | Tor Brede Vekterli | 2022-05-03 | 1 | -0/+1 |
| | | | | Mutex should have very little contention in the common case. |