Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #26788 from ↵ | Tor Brede Vekterli | 2023-04-20 | 5 | -31/+139 |
|\ | | | | | | | | | vespa-engine/vekterli/add-condition-match-metadata-aggregation-for-newest-replica Add condition support to distributor `GetOperation` | ||||
| * | Add condition support to distributor `GetOperation` | Tor Brede Vekterli | 2023-04-19 | 5 | -31/+139 |
| | | | | | | | | | | | | This involves two things: * Propagate input condition to sent Get requests when present * Add condition match status to newest replica metadata aggregation | ||||
* | | wire document condition probing through protobuf protocol | Håvard Pettersen | 2023-04-19 | 8 | -1/+38 |
|/ | |||||
* | Add backend support for distributed condition evaluation | Tor Brede Vekterli | 2023-04-18 | 11 | -61/+245 |
| | | | | | | | | | | | | Lets the "test" part of a test-and-set condition be evaluated locally on individual content nodes. Piggybacks on top of metadata-only Get operations, adding a new condition field to the request and a boolean match result to the response. Decouples the existing TaS utility code from being command-oriented, allowing it to be used in other contexts as well. Not yet wired through any protocols. | ||||
* | Change buffer state accounting from elements to entries. | Tor Egge | 2023-04-04 | 1 | -1/+1 |
| | |||||
* | Use timed waits on persistence queue condition variable | Tor Brede Vekterli | 2023-04-04 | 1 | -2/+2 |
| | | | | | | | | | | This is a pragmatic workaround for our current optimistic signalling mechanisms seemingly being susceptible to lost wakeups under certain conditions. We should redesign how persistence queue signalling works on a more fundamental level to avoid this scenario altogether, but for now this will at least remove the possibility that a thread may be stalled if the persistence queues are completely quiescent over longer periods of time. | ||||
* | Minor code cleanups; no changes in semantics | Tor Brede Vekterli | 2023-03-28 | 5 | -12/+12 |
| | |||||
* | Ensure proper memory visibility on distributor stripe flush | Tor Brede Vekterli | 2023-03-27 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | Flushing the distributor stripes happens as part of process shutdown and therefore takes place in the main thread. At this point we should no longer receive any messages from the RPC/messaging subsystems, but there may still be lingering replies to be purged. At this point, the stripe threads are joined but the communication manager thread is not (happens slightly after in the shutdown sequence). We therefore have to explicitly form a mutex acquire/release pair to ensure proper memory visibility between anything touched by the comm. manager thread (within the mutex) and our main thread. This should resolve a ThreadSanitizer error. | ||||
* | Add capability checking to state API handlers | Tor Brede Vekterli | 2023-03-22 | 4 | -6/+25 |
| | | | | | | | | | | | | | | | | | | This covers both the entry points from the `storagenode` and `searchnode` HTTP servers, though the former is mostly in the name of legacy support. Ideally, capability checking would exist as a property of the HTTP server (Portal) bindings, but the abstractions for the JSON request handling are sufficiently leaky that it ended up making more sense to push things further down the hierarchy. It's always a good thing to move away from using strings with implicit semantics as return types anyway. The `searchnode` state API handler mapping supports fine grained capabilities. The legacy `storagenode` state API forwarding does not; it uses a sledgehammer that expects the union of all possible API capability requirements. | ||||
* | Include mutex to get definition of std::mutex. | Tor Egge | 2023-03-16 | 1 | -0/+1 |
| | |||||
* | Add locking for reported node state in TestNodeStateUpdater. | Tor Egge | 2023-03-16 | 2 | -2/+5 |
| | |||||
* | Merge pull request #26423 from ↵ | Geir Storli | 2023-03-13 | 8 | -17/+20 |
|\ | | | | | | | | | vespa-engine/geirst/less-document-without-type-repo Reduce creation of Document instances without DocumentTypeRepo. | ||||
| * | Reduce creation of Document instances without DocumentTypeRepo. | Geir Storli | 2023-03-13 | 8 | -17/+20 |
| | | |||||
* | | Be explicit about lbound/ubound for bucket DB iteration and add lbound variant | Tor Brede Vekterli | 2023-03-13 | 7 | -51/+90 |
|/ | | | | | | The DB API was rather coy about whether `forEach` had lower or upper bound semantics with regards to the bucket ID passed in as a starting point. Be explicit and add a lower-bound variant. | ||||
* | Use `optional` instead of `unique_ptr` | Tor Brede Vekterli | 2023-03-07 | 1 | -41/+29 |
| | | | | Plus some additional minor cleanup. | ||||
* | use ref_counted in fnet | Håvard Pettersen | 2023-03-06 | 5 | -8/+8 |
| | | | | | | also get rid of some cleanup functions on reference counted classes enable specifying low-level parameters to addref/subref (cnt/reserve) | ||||
* | Use matching duration for time_point. | Tor Egge | 2023-03-06 | 6 | -8/+8 |
| | |||||
* | typesafe getLastProcessedTime too | Henning Baldersheim | 2023-03-01 | 2 | -5/+5 |
| | |||||
* | Use a typed period. | Henning Baldersheim | 2023-03-01 | 3 | -13/+12 |
| | |||||
* | Always run the snapshot hooks when forcing a metrics update. | Henning Baldersheim | 2023-03-01 | 1 | -5/+1 |
| | |||||
* | Set period in constructor only | Henning Baldersheim | 2023-03-01 | 1 | -4/+4 |
| | |||||
* | GC legacy dontcallupdatehooks metrics param. | Henning Baldersheim | 2023-03-01 | 1 | -10/+6 |
| | |||||
* | Revert "Revert "Balder/enforce system time for snapshot"" | Henning Baldersheim | 2023-03-01 | 2 | -13/+12 |
| | |||||
* | Revert "Balder/enforce system time for snapshot" | Henning Baldersheim | 2023-03-01 | 2 | -12/+13 |
| | |||||
* | Merge pull request #26253 from vespa-engine/balder/use-typesafe-time-in-vespalog | Henning Baldersheim | 2023-03-01 | 4 | -1/+4 |
|\ | | | | | Use typesafe time in vespalog | ||||
| * | Reduce transitive includes. | Henning Baldersheim | 2023-03-01 | 4 | -1/+4 |
| | | |||||
* | | Merge pull request #26234 from ↵ | Henning Baldersheim | 2023-03-01 | 2 | -13/+12 |
|\ \ | |/ |/| | | | | | vespa-engine/balder/enforce-system-time-for-snapshot Balder/enforce system time for snapshot | ||||
| * | Merge branch 'master' into balder/enforce-system-time-for-snapshot | Henning Baldersheim | 2023-02-28 | 1 | -0/+1 |
| |\ | |||||
| * | | - Enforce using the correct clock for metrics snapshot. | Henning Baldersheim | 2023-02-28 | 2 | -13/+12 |
| | | | | | | | | | | | | | | | - Print human readable time in error messages. - Human readable time in text/plain too. | ||||
| * | | Ensure we stay with system time until limitation has been lifted in a type ↵ | Henning Baldersheim | 2023-02-28 | 2 | -2/+2 |
| | | | | | | | | | | | | safe way. | ||||
| * | | Unify on steady time | Henning Baldersheim | 2023-02-28 | 2 | -2/+2 |
| | | | |||||
* | | | Merge pull request #26241 from vespa-engine/balder/gc-unused-messagesink | Henning Baldersheim | 2023-03-01 | 3 | -117/+0 |
|\ \ \ | | | | | | | | | GC unused MessageSink | ||||
| * | | | GC unused MessageSink | Henning Baldersheim | 2023-03-01 | 3 | -117/+0 |
| | |/ | |/| | |||||
* | | | remove additional no-longer-relevant fastos references | Håvard Pettersen | 2023-03-01 | 1 | -6/+6 |
| | | | |||||
* | | | re-apply "remove fastos" | Håvard Pettersen | 2023-03-01 | 1 | -1/+0 |
|/ / | | | | | | | This reverts commit 003f019d7579e49f4ec7609ef8eac26ada6ae753. | ||||
* | | Merge pull request #26233 from vespa-engine/revert-26225-havardpe/remove-fastos | Henning Baldersheim | 2023-02-28 | 1 | -0/+1 |
|\ \ | | | | | | | Revert "remove fastos" | ||||
| * | | Revert "remove fastos" | Harald Musum | 2023-02-28 | 1 | -0/+1 |
| |/ | |||||
* | | Merge pull request #26224 from ↵ | Henning Baldersheim | 2023-02-28 | 2 | -2/+2 |
|\ \ | |/ |/| | | | | | vespa-engine/balder/use-steady-time-for-metric-manager Unify on steady time | ||||
| * | Ensure we stay with system time until limitation has been lifted in a type ↵ | Henning Baldersheim | 2023-02-28 | 2 | -2/+2 |
| | | | | | | | | safe way. | ||||
| * | Unify on steady time | Henning Baldersheim | 2023-02-28 | 2 | -2/+2 |
| | | |||||
* | | Merge pull request #26227 from vespa-engine/balder/remove-fastos-types | Henning Baldersheim | 2023-02-28 | 1 | -34/+0 |
|\ \ | | | | | | | Remove fastos/types. | ||||
| * | | Remove fastos/types. | Henning Baldersheim | 2023-02-28 | 1 | -34/+0 |
| |/ | |||||
* / | remove fastos | Håvard Pettersen | 2023-02-28 | 1 | -1/+0 |
|/ | |||||
* | Use vespalib::steady_time for getMilliSecTime to ensure no wraps around and ↵ | Henning Baldersheim | 2023-02-28 | 3 | -60/+46 |
| | | | | safer code. | ||||
* | GC xml output of metrics. | Henning Baldersheim | 2023-02-28 | 1 | -13/+1 |
| | |||||
* | avoid using fastos thread in searchcore | Håvard Pettersen | 2023-02-27 | 1 | -1/+0 |
| | | | | also remove some left-behind includes | ||||
* | Merge pull request #26175 from ↵ | Geir Storli | 2023-02-24 | 7 | -22/+9 |
|\ | | | | | | | | | vespa-engine/havardpe/avoid-fastos-thread-in-storage avoid using fastos thread in storage | ||||
| * | avoid using fastos thread in storage | Håvard Pettersen | 2023-02-24 | 7 | -22/+9 |
| | | |||||
* | | untangle messagebus from fastos | Håvard Pettersen | 2023-02-24 | 1 | -0/+1 |
|/ | |||||
* | untangle fnet from fastos | Håvard Pettersen | 2023-02-22 | 3 | -7/+2 |
| |