summaryrefslogtreecommitdiffstats
path: root/vdslib/src
Commit message (Collapse)AuthorAgeFilesLines
* - Avoid inefficient generic template.Henning Baldersheim2023-12-293-33/+48
| | | | - Add explicit implementations for the types needed.
* Update copyrightJon Bratseth2023-10-0980-80/+80
|
* Use hashmap and sort instead of std::mapHenning Baldersheim2023-08-181-5/+11
|
* - Avoid going via a temporary IdealNodesList.Henning Baldersheim2023-08-147-231/+45
| | | | | | | - Use ConstArrayRef to hide implementation. - Store all 3 node categories in a single vector. - Use a small_vector that can handle redundancy up to 5 without requiring extra memory allocation. - Build a hash_map if redundancy/groups > 32 for constant lookup time.
* When splitting a large number of nodes into their leaf groups you end up ↵Henning Baldersheim2023-08-112-2/+6
| | | | | | with many vectors with only a single node in them. Then it is more efficient to use a small_vector that keeps the 4 first entries within. Reduces # allocations and avoids indirection.
* Merge pull request #28023 from vespa-engine/balder/minor-layout-cleanupHenning Baldersheim2023-08-112-24/+20
|\ | | | | Minor code health.
| * Minor code health.Henning Baldersheim2023-08-102-24/+20
| |
* | Reduce use of default values in method callsHenning Baldersheim2023-08-103-114/+60
| |
* | Unify code layoutHenning Baldersheim2023-08-102-61/+37
|/
* Generate fast lookup table for ideal onceHenning Baldersheim2023-08-101-7/+2
|
* GC void ignoreNewFeatures flag always false.Henning Baldersheim2023-08-093-27/+20
|
* - Use a hashmap for string Node/NodeState in ClusterState for fast lookup.Henning Baldersheim2023-08-093-11/+21
| | | | - Do explicit sort when serializing.
* Common code for node serialization too.Henning Baldersheim2023-08-092-43/+40
|
* All are up if NONE are printed....Henning Baldersheim2023-08-091-1/+1
|
* Avoid short-circuit optimization trap...Henning Baldersheim2023-08-092-8/+8
|
* Modernize code and prepare for changing map implementation.Henning Baldersheim2023-08-093-151/+132
|
* Merge pull request #27990 from vespa-engine/balder/minor-noexceptHenning Baldersheim2023-08-093-18/+14
|\ | | | | Add noexcept and minor style changes
| * Add noexcept and minor style changesHenning Baldersheim2023-08-083-18/+14
| |
* | Add noexceptHenning Baldersheim2023-08-082-11/+11
|/
* Add back needed codeHarald Musum2023-07-071-0/+11
|
* Cleanup, simplify, remove dead code. No functional changesHarald Musum2023-07-0719-340/+211
|
* Minor refactoring and start of some new testHarald Musum2023-07-051-2/+2
|
* Deserialize match features in SearchResult used in streaming search.Geir Storli2023-05-022-15/+73
|
* Serialize match features in vdslib::SearchResult.Tor Egge2023-04-283-18/+214
|
* Add match features to search result in vdslib module.Tor Egge2023-04-273-7/+67
|
* Build with jdk20Jon Bratseth2023-04-171-2/+2
|
* Use std::distance to find distance between two iterators.Tor Egge2023-04-031-2/+3
|
* Use return value from std::unique.Tor Egge2023-04-031-1/+2
|
* More understandable errors, and implement inner convertJon Bratseth2023-03-311-8/+8
|
* Don't use record, fails when running system testsHarald Musum2023-03-281-3/+21
|
* Deprecate distributor_auto_ownership_transfer_on_whole_group_downHarald Musum2023-03-283-649/+11
| | | | | Stop using the config value (same as currrent default value, which is true). Also: distribution config does not have this field, only stor-distribution config has
* Simplify and add todo about removing disk_distribution in Vespa 9Harald Musum2023-03-281-5/+0
|
* Minor cleanup, no functional changesHarald Musum2023-03-274-46/+34
|
* Move test code to test classHarald Musum2023-03-261-39/+0
|
* Timestamp used in NodeState must have well defined resolution in order to ↵Henning Baldersheim2023-02-073-20/+16
| | | | | | compare for exactness. Revert back to using an uint64_t for representing it as seconds since epoch.
* Let default max timeout be 600sHenning Baldersheim2023-02-071-2/+1
|
* it => token and some formattingHenning Baldersheim2023-02-071-51/+31
|
* Revert "Revert "Use steady_time for vdslib::NodeState MERGEOK""Henning Baldersheim2023-02-073-45/+45
|
* Revert "Use steady_time for vdslib::NodeState MERGEOK"Henning Baldersheim2023-02-073-45/+45
|
* Use steady_time for vdslib::NodeStateHenning Baldersheim2023-02-073-45/+45
|
* Revert "Øess use of getSeconds/getMicroSeconds/getMilliSeconds."Henning Baldersheim2023-02-073-45/+45
|
* Øess use of getSeconds/getMicroSeconds/getMilliSeconds.Henning Baldersheim2023-02-053-45/+45
|
* deinline destructors.Henning Baldersheim2023-02-012-1/+4
|
* Include cstdint to get declaration of fixed width integer types.Tor Egge2023-01-281-0/+1
|
* Replace synchronized Stack with Deque in feed and query path.Henning Baldersheim2023-01-251-80/+83
|
* Change from typedef to using in vdslib C++ code.Geir Storli2022-12-2110-22/+22
|
* GC unused code (using BobHash)Henning Baldersheim2022-11-211-19/+1
|
* Move related non-local variables to same translation unit to ensureTor Egge2022-10-245-12/+44
| | | | ordered dynamic initialization.
* Replace jettison with jacksonjonmv2022-10-2143-26624/+21321
|
* Remove validDiskState, not usedHarald Musum2022-10-051-18/+11
|