summaryrefslogtreecommitdiffstats
path: root/vdslib
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "Jonmv/reapply document protocol super config [run-systemtest]""Jon Marius Venstad2021-01-284-66/+122
| | | | This reverts commit 2e2e2edeb3ea99f2c04925070cf44601e2cd94fb.
* Revert "Jonmv/reapply document protocol super config [run-systemtest]"Jon Marius Venstad2021-01-284-122/+66
|
* Revert "Revert "Jonmv/document protocol super config""Jon Marius Venstad2021-01-274-66/+122
| | | | This reverts commit d7359f7c72ff06889af594431baf4075e2b4da78.
* Revert "Jonmv/document protocol super config"Harald Musum2021-01-274-122/+66
|
* Merge pull request #16089 from vespa-engine/jonmv/document-protocol-super-configJon Marius Venstad2021-01-274-66/+122
|\ | | | | Jonmv/document protocol super config
| * Address reviewJon Marius Venstad2021-01-271-3/+3
| |
| * Use direct bit operations instead of stored arrayJon Marius Venstad2021-01-192-17/+12
| |
| * Use only injected config for injected document accessJon Marius Venstad2021-01-192-47/+97
| |
| * Add config for distribution and doc-protoc policies across _all_ content ↵Jon Marius Venstad2021-01-182-4/+15
| | | | | | | | clusters
* | Merge pull request #16103 from vespa-engine/hakonhall/support-group-maintenanceHåkon Hallingstad2021-01-201-0/+2
|\ \ | | | | | | Support group maintenance [run-systemtest]
| * | Support group maintenance [run-systemtest]Håkon Hallingstad2021-01-191-0/+2
| |/
* / Add feed block status to ClusterStateBundle in C++.Geir Storli2021-01-183-6/+111
|/
* Merge pull request #16014 from vespa-engine/balder/disable-valgrindHenning Baldersheim2021-01-131-5/+1
|\ | | | | Reduce cost as test from 400 to below 100
| * Update CMakeLists.txtHenning Baldersheim2021-01-131-1/+1
| |
| * No need to set cost explicit.Henning Baldersheim2021-01-121-1/+1
| |
| * Disable valgrind as this test takes 360s with and 3s without.Henning Baldersheim2021-01-121-5/+1
| |
* | - Factor out insert() to a separate method.Henning Baldersheim2021-01-1210-122/+103
| | | | | | | | | | | | | | | | | | - Inline Node::Node. - Remove virtuality of Node - Inline State::oneOf - Microoptimize ClusterState::getNodeState. This brings the runtime down from 2.23s to 1.68s And with valgrind from 130s to 85s. In total with the other commits in this PR it is now down from 2.95s to 1.68, and from 360s to 85s with valgrind.
* | Allocate once and reuse.Henning Baldersheim2021-01-121-21/+22
| |
* | Replace the use of std::list with std::vector. This avoids a lof of new/delete.Henning Baldersheim2021-01-121-28/+16
|/ | | | | The number of elements that are moved around is small and significantly less than the gain by more efficient memory management.
* Eliminate inlining warnings.Tor Egge2020-12-042-0/+4
|
* Add noexceptHenning Baldersheim2020-11-262-11/+11
|
* As we have have now removed the expensive Route member we can further ↵Henning Baldersheim2020-11-262-20/+36
| | | | | | | | | | compact the message objects. - Compact StorageMessageAddress to 16 bytes by - using reference to cluster name. - Use small enums for protocol and node type. - Avoid having StorageMessage as separate allocation. - Avoid default values
* Remove disk distribution from C++ part of vdslib.Tor Egge2020-11-053-48/+4
|
* Remove diskstate from vdslib.Tor Egge2020-11-0312-807/+20
|
* Use std::mutex and std:.condition_variable and GC some unused code.Henning Baldersheim2020-10-139-573/+0
|
* Use vespalib::Lock -> std::mutexHenning Baldersheim2020-10-081-6/+5
|
* - GC unused code.Henning Baldersheim2020-10-078-340/+0
| | | | - vespalib::Lock -> std::mutex
* Remove broken copy and move constructor and assignment operatoos on ↵Henning Baldersheim2020-10-073-11/+4
| | | | | | vespalib::Lock and vespalib::Monitor. Also repair broken usages of the same.
* Use noexcept as advise by gcc -WnoexceptHenning Baldersheim2020-10-062-2/+2
|
* Annotate some expensive tests to allow them to start first when running in ↵Arnstein Ressem2020-09-021-0/+1
| | | | parallel.
* Check _node2Group array size in Distribution.Tor Egge2020-08-201-1/+1
|
* Stick to junit for simple test.Henning Baldersheim2020-08-111-16/+19
|
* Consolidate search for GTest.Tor Egge2020-07-076-7/+0
|
* Improvements to handling of cluster removalJon Bratseth2020-07-021-5/+2
| | | | | | | | | - Don't change health status to "initializing" when creating a new VipStatus, as 'initializing' now requires all clusters to be up to transition to 'up', which means that if we're already up but are missing a cluster we'll go from 'up' to 'initializing' and stay there. - Forget up/down status for removed clusters. - Nicer logging on ignorable reconfiguration errors.
* Merge pull request #13742 from ↵Geir Storli2020-06-306-6/+13
|\ | | | | | | | | vespa-engine/toregge/use-find-package-to-find-gtest Use find_package to find gtest library.
| * Use find_package to find gtest library.Tor Egge2020-06-296-6/+13
| |
* | Only sort once during ideal group calculationsTor Brede Vekterli2020-06-292-24/+127
|/ | | | | | | | | Avoids invoking `std::sort` O(n) times in favor of just once. Benchmark for 150 groups of 1 node each: * Before: 0.0004381478 seconds per invocation * After: 0.0000377917 seconds per invocation
* Precompute node 2 group mapping config time.Henning Baldersheim2020-06-263-18/+25
|
* Nested namespaceHenning Baldersheim2020-06-262-13/+7
|
* 0 -> nullptrHenning Baldersheim2020-06-261-1/+1
|
* Use std::moveHenning Baldersheim2020-06-262-5/+6
|
* Modernize to c++11 style loops.Henning Baldersheim2020-06-263-35/+22
|
* Revert "Only sort once during ideal group calculations"Arnstein Ressem2020-06-262-75/+24
|
* Only sort once during ideal group calculationsTor Brede Vekterli2020-06-252-24/+75
| | | | | | | | | Avoids invoking `std::sort` O(n) times in favor of just once. Benchmark for 150 groups of 1 node each: * Before: 0.0004381478 seconds per invocation * After: 0.0000377917 seconds per invocation
* Don't write outside container in vdslib distribution test.Tor Egge2020-04-231-19/+18
|
* Add noexcept to move constructors and operatorsHenning Baldersheim2020-01-212-4/+4
|
* GC a load of unused code. ByteBuffer towards read only.Henning Baldersheim2020-01-207-68/+69
|
* FastOS_THread::Sleep -> std::chrono::sleep_forHenning Baldersheim2019-12-041-2/+4
| | | | | Renamed Timer -> ScheduledExecutor. Do not include thread.h when not needed in header files.
* Remove unused vespa/vespalib/util/regexp.h include in vdslib.Tor Egge2019-10-071-1/+0
|
* Use the get() api correctly. The value is returned.Henning Baldersheim2019-10-011-21/+2
|