Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adjust explicit instantiations of BufferType and Array. | Tor Egge | 2023-03-24 | 4 | -9/+11 |
| | |||||
* | Merge pull request #26538 from ↵ | Tor Brede Vekterli | 2023-03-23 | 12 | -95/+243 |
|\ | | | | | | | | | vespa-engine/vekterli/add-capability-checks-to-state-api-handlers Add capability checking to state API handlers | ||||
| * | Add capability checking to state API handlers | Tor Brede Vekterli | 2023-03-22 | 12 | -95/+243 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Relax check for max prefix. | Tor Egge | 2023-03-23 | 1 | -1/+1 |
|/ | |||||
* | Add utility wrapper around RE2 possible regex prefix match range | Tor Brede Vekterli | 2023-03-21 | 3 | -3/+57 |
| | | | | | | For a strictly start-anchored regex, this provides a lower/upper bound pair that constrains the possible prefix range that may contain a string matching the regex. | ||||
* | Revert "Add utility wrapper around RE2 possible regex prefix match range" | Harald Musum | 2023-03-20 | 3 | -57/+3 |
| | |||||
* | Merge pull request #26494 from ↵ | Tor Brede Vekterli | 2023-03-20 | 3 | -3/+57 |
|\ | | | | | | | | | vespa-engine/vekterli/add-possible-match-prefix-regex-range-util Add utility wrapper around RE2 possible regex prefix match range | ||||
| * | Test match range failure case with empty ranges returned | Tor Brede Vekterli | 2023-03-20 | 1 | -0/+5 |
| | | |||||
| * | Add utility wrapper around RE2 possible regex prefix match range | Tor Brede Vekterli | 2023-03-20 | 3 | -3/+52 |
| | | | | | | | | | | | | For a strictly start-anchored regex, this provides a lower/upper bound pair that constrains the possible prefix range that may contain a string matching the regex. | ||||
* | | Support gcc 11 std::string::size() not being constexpr. | Henning Baldersheim | 2023-03-20 | 1 | -1/+1 |
| | | |||||
* | | libstdc++ 11 lacks stream operators for duration. Use same workaround | Tor Egge | 2023-03-19 | 2 | -2/+4 |
|/ | | | | as for old libc++ versions. | ||||
* | GC convenience constructor to be explicit. | Henning Baldersheim | 2023-03-16 | 3 | -6/+1 |
| | |||||
* | - GC unused _activeBuffers member. | Henning Baldersheim | 2023-03-15 | 4 | -9/+8 |
| | | | | - Just keep a very small ChangeVector, it might never be used. | ||||
* | Merge pull request #26451 from ↵ | Henning Baldersheim | 2023-03-15 | 1 | -1/+1 |
|\ | | | | | | | | | vespa-engine/toregge/factor-out-implementation-dependent-sizeof-std-string Factor out implementation dependent sizeof(std::string). | ||||
| * | Factor out implementation dependent sizeof(std::string). | Tor Egge | 2023-03-15 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #26448 from vespa-engine/havardpe/verify-object-on-attach | Håvard Pettersen | 2023-03-15 | 1 | -1/+4 |
|\ \ | |/ |/| | verify object when attaching it to a handle | ||||
| * | verify object when attaching it to a handle | Håvard Pettersen | 2023-03-15 | 1 | -1/+4 |
| | | |||||
* | | Merge pull request #26447 from ↵ | Henning Baldersheim | 2023-03-15 | 4 | -8/+11 |
|\ \ | | | | | | | | | | | | | vespa-engine/toregge/expose-static-size-of-entry-ref-hold-list-deque-in-datastore-base Expose static size of entry ref hold list dequeue in DataStoreBase. | ||||
| * | | Expose static size of entry ref hold list dequeue in DataStoreBase. | Tor Egge | 2023-03-15 | 4 | -8/+11 |
| |/ | |||||
* / | Fix format strings. | Tor Egge | 2023-03-15 | 1 | -2/+3 |
|/ | |||||
* | Assert expected guard value earlier in enable_ref_counted::internal_subref | Tor Egge | 2023-03-14 | 1 | -1/+1 |
| | |||||
* | Merge pull request #26441 from vespa-engine/havardpe/avoid-atomic-thread-fence | Tor Egge | 2023-03-14 | 1 | -4/+6 |
|\ | | | | | make TSAN happy (it does not support atomic thread fences) | ||||
| * | make TSAN happy (it does not support atomic thread fences) | Håvard Pettersen | 2023-03-14 | 1 | -4/+6 |
| | | |||||
* | | Prefer std::vector | Henning Baldersheim | 2023-03-14 | 7 | -64/+2 |
| | | |||||
* | | Merge pull request #26440 from ↵ | Henning Baldersheim | 2023-03-14 | 7 | -0/+144 |
|\ \ | | | | | | | | | | | | | vespa-engine/havardpe/run-multiple-coroutines-concurrently-from-coroutine enable running sub-co-routines concurrently | ||||
| * | | enable running sub-co-routines concurrently | Håvard Pettersen | 2023-03-14 | 7 | -0/+144 |
| | | | |||||
* | | | Merge pull request #26436 from ↵ | Henning Baldersheim | 2023-03-14 | 2 | -11/+0 |
|\ \ \ | | | | | | | | | | | | | | | | | vespa-engine/balder/gc-dangerous-docstore-options-with-no-right-to-live summary.cache.initialentries and summary.log.chunk.skipcrconread does… | ||||
| * | | | summary.cache.initialentries and summary.log.chunk.skipcrconread does not ↵ | Henning Baldersheim | 2023-03-14 | 2 | -11/+0 |
| | |/ | |/| | | | | | | | have any purpose. | ||||
* / | | Add noexcept | Henning Baldersheim | 2023-03-14 | 3 | -56/+55 |
|/ / | |||||
* | | Track static cache usage | Henning Baldersheim | 2023-03-14 | 2 | -2/+7 |
| | | |||||
* | | Wire in and test static memory usage for caches. | Henning Baldersheim | 2023-03-14 | 3 | -8/+18 |
| | | |||||
* | | Use std::vector instead of vespalib::Array | Henning Baldersheim | 2023-03-14 | 1 | -6/+6 |
| | | |||||
* | | GC unused includes | Henning Baldersheim | 2023-03-14 | 1 | -1/+0 |
| | | |||||
* | | Pre sizing is not necessary. | Henning Baldersheim | 2023-03-14 | 1 | -2/+0 |
| | | |||||
* | | disable hold_list, not free_list. | Henning Baldersheim | 2023-03-13 | 3 | -5/+5 |
| | | |||||
* | | Unify iteration over used buffers. | Henning Baldersheim | 2023-03-13 | 4 | -53/+49 |
| | | |||||
* | | GC unused void enableFreeList(uint32_t bufferId) method. | Henning Baldersheim | 2023-03-13 | 1 | -5/+1 |
| | | |||||
* | | Fetch state once | Henning Baldersheim | 2023-03-13 | 1 | -3/+5 |
| | | |||||
* | | Unify on proper constness to reflect thread usage and modifications. | Henning Baldersheim | 2023-03-13 | 2 | -8/+8 |
| | | |||||
* | | Properly propagate hold list and free list settings when creating new state. | Henning Baldersheim | 2023-03-13 | 2 | -10/+12 |
| | | |||||
* | | Allocate BufferState in stash and add pointer to BufferAndMeta | Henning Baldersheim | 2023-03-13 | 12 | -140/+189 |
| | | |||||
* | | - Just start from the beginning to locate a free buffer. | Henning Baldersheim | 2023-03-10 | 2 | -30/+25 |
| | | | | | | | | - Assert that the requested buffer id is legal. | ||||
* | | Use a non const Store when you are in write thread, and a const when not. | Henning Baldersheim | 2023-03-10 | 9 | -18/+18 |
| | | |||||
* | | Compacting is only checked during move in write thread | Henning Baldersheim | 2023-03-10 | 4 | -5/+5 |
| | | |||||
* | | Use BufferMeta instead of BufferState to get array size | Henning Baldersheim | 2023-03-10 | 1 | -3/+3 |
| | | |||||
* | | - rename BufferAndTypeId -> BufferAndMeta and add the array size to it. | Henning Baldersheim | 2023-03-10 | 6 | -222/+98 |
| | | | | | | | | - Use _buffers instead of _states to get array size. | ||||
* | | Report more of the static memory usage for datastores. | Henning Baldersheim | 2023-03-09 | 8 | -41/+64 |
| | | |||||
* | | Test both used and allocated memory. | Henning Baldersheim | 2023-03-09 | 1 | -1/+2 |
|/ | |||||
* | Update expected size | Henning Baldersheim | 2023-03-08 | 1 | -4/+4 |
| | |||||
* | - Use a common method to get primary_buffer_id given a type_id. | Henning Baldersheim | 2023-03-08 | 6 | -169/+137 |
| | | | | | - Also avoid multiple public,protected,and private sections. - Make some methods private. |