Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #25562 from ↵ | Tor Brede Vekterli | 2023-01-13 | 1 | -3/+5 |
|\ | | | | | | | | | vespa-engine/balder/make-lock-release-thread-safe-again Move the checks to the safe section. | ||||
| * | Move the checks to the safe section. | Henning Baldersheim | 2023-01-13 | 1 | -3/+5 |
| | | |||||
* | | Use 2 rpc targets and 2 rpc network threads. | Henning Baldersheim | 2023-01-13 | 1 | -2/+2 |
|/ | |||||
* | Notify outside lock. | Henning Baldersheim | 2023-01-12 | 1 | -1/+6 |
| | | | | | - Notify all if exclusive lock. - Notify one if no more shared locks. | ||||
* | No need to notify anyone when you grab a bucket lock. Nobody will be allowed ↵ | Henning Baldersheim | 2023-01-12 | 1 | -4/+1 |
| | | | | to do anything anyway. | ||||
* | Drop the lock before notifying | Henning Baldersheim | 2023-01-12 | 1 | -3/+8 |
| | |||||
* | Notify only one, and hold the lock if you did not get anything to dispatch. | Henning Baldersheim | 2023-01-12 | 1 | -4/+1 |
| | |||||
* | Revert "No need to notify if bucket is already locked" | Henning Baldersheim | 2023-01-12 | 1 | -1/+8 |
| | |||||
* | We can only handle unconditional async messages in network thread. | Henning Baldersheim | 2023-01-12 | 8 | -17/+9 |
| | |||||
* | When you add a message to the Q you will at most provide work for 1 ↵ | Henning Baldersheim | 2023-01-12 | 1 | -6/+4 |
| | | | | persistence thread. | ||||
* | Merge pull request #25537 from ↵ | Henning Baldersheim | 2023-01-12 | 1 | -8/+1 |
|\ | | | | | | | | | vespa-engine/balder/no-need-to-notify-if-bucket-is-locked No need to notify if bucket is already locked | ||||
| * | No need to notify if bucket is already locked | Henning Baldersheim | 2023-01-12 | 1 | -8/+1 |
| | | |||||
* | | Update test to reflect new default | Henning Baldersheim | 2023-01-12 | 1 | -2/+1 |
| | | |||||
* | | Also switch default in def file. | Henning Baldersheim | 2023-01-12 | 1 | -1/+1 |
|/ | |||||
* | Place some memory traps across various size classes | Tor Brede Vekterli | 2023-01-11 | 3 | -2/+13 |
| | |||||
* | reduce usage of default values. | Henning Baldersheim | 2023-01-06 | 1 | -8/+7 |
| | |||||
* | Merge pull request #25323 from vespa-engine/balder/move-close-prior-to-join | Henning Baldersheim | 2022-12-21 | 1 | -2/+3 |
|\ | | | | | Move close() call up between interrupt() and join(). | ||||
| * | Move close() call up between interrupt() and join(). | Henning Baldersheim | 2022-12-21 | 1 | -2/+3 |
| | | | | | | | | That enables faster join since close will wake up the interrupted threads. | ||||
* | | Change from typedef to using in storage C++ code. | Geir Storli | 2022-12-21 | 49 | -104/+104 |
|/ | |||||
* | Add debug logging to storagelink | Henning Baldersheim | 2022-12-21 | 3 | -3/+7 |
| | |||||
* | Reduce includes not needed | Henning Baldersheim | 2022-12-21 | 6 | -5/+1 |
| | |||||
* | Do not wait for register to do any reconnect. Just wait 10ms, before ↵ | Henning Baldersheim | 2022-12-21 | 1 | -5/+4 |
| | | | | comencing shutdown. | ||||
* | Reduce nap from 50ms to 10ms | Henning Baldersheim | 2022-12-20 | 1 | -1/+1 |
| | |||||
* | Add debug logging to StorageLink::close | Henning Baldersheim | 2022-12-20 | 1 | -0/+2 |
| | |||||
* | Remove stacksize from the thread pools and thread executors. | Henning Baldersheim | 2022-12-20 | 8 | -16/+19 |
| | |||||
* | Misc cleanup and formatting of distributor code | Tor Brede Vekterli | 2022-12-15 | 100 | -675/+454 |
| | | | | No functional changes | ||||
* | Move MessageGuard out to storage/common sub-library | Tor Brede Vekterli | 2022-12-15 | 8 | -48/+60 |
| | |||||
* | Add MBus trace entry when no replicas are found for a document bucket | Tor Brede Vekterli | 2022-12-13 | 1 | -7/+14 |
| | |||||
* | Merge pull request #25199 from ↵ | Tor Brede Vekterli | 2022-12-09 | 1 | -1/+3 |
|\ | | | | | | | | | vespa-engine/vekterli/propagate-update-internal-doc-repo-to-auto-created-doc Propagate doc repo in update to auto-created blank document instance [run-systemtest] | ||||
| * | Propagate doc repo in update to auto-created blank document instance | Tor Brede Vekterli | 2022-12-09 | 1 | -1/+3 |
| | | |||||
* | | Avoid nullptr memcpy argument in protocol serialization. | Tor Egge | 2022-12-09 | 1 | -2/+6 |
|/ | |||||
* | Improve error response when trying to use an imported field in a condition | Tor Brede Vekterli | 2022-12-08 | 2 | -1/+21 |
| | | | | | | | | | | | We don't support using imported fields in conditional mutations, so catch attempts at doing this during the field enumeration that is done as part of the condition evaluation. Would previously get an internal error response with an ugly stack trace since the exception would propagate up to a generic exception-to-response handler. Will now generate an `ILLEGAL_PARAMETERS` error response with a hopefully helpful error message. | ||||
* | Add metric tracking internal `StateManager` state propagation latency | Tor Brede Vekterli | 2022-12-08 | 2 | -0/+24 |
| | | | | | | | | Adds a new top-level metric set with the single metric ``` vds.state_manager.invoke_state_listeners_latency ``` which tracks the latency for invoking the set of all state listeners. | ||||
* | Limit to 1 response thread in test config | Tor Brede Vekterli | 2022-12-01 | 1 | -0/+1 |
| | | | | Avoids any potential surprises caused by reply reordering in tests. | ||||
* | GC old config values | Tor Brede Vekterli | 2022-12-01 | 1 | -40/+0 |
| | |||||
* | Defer MBus DestinationSession registration during content node init | Tor Brede Vekterli | 2022-11-29 | 1 | -0/+9 |
| | | | | | | | | | | | | | Creating a `DestinationSession` that is immediately registered as available for business means we may theoretically start receiving messages over the session even before the call returns to the caller. Either way there would be no memory barrier that ensures that `_messageBusSession` would be fully visible to the MessageBus threads (since it's written after return). To avoid this sneaky scenario, defer registration (and thus introduce a barrier) until _after_ we've initialized our internal member variables. This addresses a TSan warning. | ||||
* | Be more explicit about previous GC timestamp in test | Tor Brede Vekterli | 2022-11-28 | 1 | -0/+3 |
| | |||||
* | Avoid mass pending GC on config enable edge | Tor Brede Vekterli | 2022-11-28 | 5 | -6/+136 |
| | | | | | | | | | | | | If a system is running in a stable state with no GC enabled, per-bucket last GC timestamps in the DB will end up further and further in the past. If GC is then enabled in config, we must ensure that GC timestamps are reset to the current time to avoid suddenly ending up with _every single_ bucket having exceeded its GC deadline, causing pending GC en masse. Resetting is edge-triggered, so it should not happen if GC is enabled in both the old and new configs. | ||||
* | Merge pull request #24999 from ↵ | Henning Baldersheim | 2022-11-25 | 8 | -9/+9 |
|\ | | | | | | | | | vespa-engine/vekterli/make-internal-state-propagation-noexcept Make internal cluster/node state propagation noexcept | ||||
| * | Make internal cluster/node state propagation noexcept | Tor Brede Vekterli | 2022-11-25 | 8 | -9/+9 |
| | | | | | | | | | | It is not well defined what to do if an implementation of the propagation callback throws, so make it noexcept to core the process if it does happen. | ||||
* | | Add shared constant for PAGE_SIZE. | Geir Storli | 2022-11-25 | 1 | -2/+4 |
|/ | |||||
* | Drop support for old gtest. | Tor Egge | 2022-11-18 | 4 | -5/+5 |
| | |||||
* | Use emplace_back | Henning Baldersheim | 2022-10-18 | 3 | -14/+12 |
| | |||||
* | Use std::make_shared for StateCheckers. | Henning Baldersheim | 2022-10-18 | 6 | -197/+119 |
| | |||||
* | Rename trimHoldLists() -> reclaim_memory(). | Geir Storli | 2022-10-12 | 1 | -2/+2 |
| | |||||
* | Rename transferHoldLists() -> assign_generation(). | Geir Storli | 2022-10-12 | 1 | -2/+2 |
| | |||||
* | Rename first used generation -> oldest used generation. | Geir Storli | 2022-10-12 | 1 | -1/+1 |
| | |||||
* | Update test to handle the change to ↵ | Henning Baldersheim | 2022-09-30 | 3 | -3/+9 |
| | | | | enable_metadata_only_fetch_phase_for_inconsistent_updates=true as default. | ||||
* | Always doing three phase updates now. | Henning Baldersheim | 2022-09-30 | 1 | -1/+1 |
| | |||||
* | Remove StateManager handling of deprecated Initializing state | Tor Brede Vekterli | 2022-09-26 | 3 | -58/+32 |
| | | | | | | | Neither distributors nor content nodes ever report their state as Initializing as part of their startup sequence; they go straight from Down to Up. Remove complicated init progress delta reporting that is no longer needed. |