Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move search::FeatureValues to vespalib::FeatureValues in preparation for | Tor Egge | 2023-04-25 | 3 | -0/+246 |
| | | | | extending vdslib::SearchResult. | ||||
* | Add NewestReplica equality tests and gmock matcher for distinct elements in ↵ | Tor Brede Vekterli | 2023-04-20 | 1 | -0/+35 |
| | | | | | | | | | | | a range Add a new `matchers` directory in vespalib which can be used as a repository for generic, reusable GMock matchers. Move distributor tests from using an explicit gtest runner to using `GTest::gmock_main` which serves the same purpose. Need to depend on a gmock target (not just gtest) to be able to link with stuff required for matchers. | ||||
* | Merge pull request #26721 from vespa-engine/toregge/remove-unused-variable | Henning Baldersheim | 2023-04-12 | 1 | -1/+0 |
|\ | | | | | Remove unused variable. | ||||
| * | Remove unused variable. | Tor Egge | 2023-04-12 | 1 | -1/+0 |
| | | |||||
* | | Don't convert a call to a jump when this breaks reporting of | Tor Egge | 2023-04-12 | 2 | -0/+9 |
|/ | | | | stack frames. | ||||
* | Remove array size from BufferFreeList. | Tor Egge | 2023-04-11 | 11 | -21/+16 |
| | |||||
* | Adjust BufferState member function comments. | Tor Egge | 2023-04-05 | 1 | -2/+2 |
| | |||||
* | Change buffer state accounting from elements to entries. | Tor Egge | 2023-04-04 | 42 | -575/+548 |
| | |||||
* | Rename member functions in BufferTypeBase to track rename | Tor Egge | 2023-04-04 | 3 | -5/+5 |
| | | | | of member variables. | ||||
* | Rename member variables in BufferTypeBase: | Tor Egge | 2023-04-04 | 15 | -112/+112 |
| | | | | | | minArrays => min_entries maxArrays => max_entries numArraysForNewBuffer => num_entries_for_new_buffer | ||||
* | Pass number of needed entries to DataStoreBase member functions that | Tor Egge | 2023-04-04 | 6 | -44/+48 |
| | | | | might switch primary buffer for a buffer type. | ||||
* | Switch from elements to entries for raw alloator alloc parameter. | Tor Egge | 2023-04-04 | 12 | -32/+32 |
| | |||||
* | Adjust ArrayStoreTypeMapper class comment. | Tor Egge | 2023-04-03 | 1 | -1/+1 |
| | |||||
* | Use ElemT as template parameter for ArrayStoreTest. | Tor Egge | 2023-04-03 | 1 | -21/+21 |
| | |||||
* | Use ElemT as template parameter for ArrayStoreSimpleTypeMapper | Tor Egge | 2023-04-03 | 2 | -5/+5 |
| | |||||
* | Use ElemT as template parameter for BufferType, SmallArrayBufferType, | Tor Egge | 2023-04-03 | 8 | -109/+112 |
| | | | | LargeArrayBufferType and ArrayStore. | ||||
* | Workarounds for libc++ 15 are still needed for libc++ 16. | Tor Egge | 2023-04-03 | 2 | -2/+2 |
| | |||||
* | Fix typo in optimized.h | Ikko Eltociear Ashimine | 2023-03-29 | 1 | -4/+4 |
| | | | postion -> position | ||||
* | 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 | 6 | -0/+143 |
|\ \ | | | | | | | | | | | | | 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 | 6 | -0/+143 |
| | | | |||||
* | | | 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 |
| | |