Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | remove document::Runnable | Håvard Pettersen | 2023-02-20 | 17 | -52/+39 |
| | | | | use std::thread directly instead | ||||
* | Add metrics tracking failed RPC and status page capability checks | Tor Brede Vekterli | 2023-02-17 | 3 | -1/+19 |
| | |||||
* | use std::thread directly | Håvard Pettersen | 2023-02-15 | 1 | -1/+1 |
| | | | | | | also add very simple ThreadPool class to run multiple threads at once make an effort to only join once | ||||
* | stop using fastos thread more places | Håvard Pettersen | 2023-02-14 | 1 | -3/+1 |
| | | | | | | | | | | - also stop using std::jthread - remove Active and Joinable interfaces - remove stop, stopped and slumber - remove currentThread - make start function static - override start for Runnable w/init or custom function - explicit stop/slumber where needed | ||||
* | Include ostream to get declaration of std::ostream. | Tor Egge | 2023-02-11 | 1 | -0/+1 |
| | |||||
* | Avoid std::ranges::reverse_view until clang supports it properly | Henning Baldersheim | 2023-02-10 | 2 | -4/+5 |
| | |||||
* | Align indentation | Henning Baldersheim | 2023-02-08 | 1 | -1/+1 |
| | |||||
* | - Disconnect clock and MicroSecTime. | Henning Baldersheim | 2023-02-08 | 34 | -294/+95 |
| | | | | | - GC unused functionality from clock/time.h - Unify on vespalib::steady_time/system_time/duration. |