aboutsummaryrefslogtreecommitdiffstats
path: root/vdslib
Commit message (Collapse)AuthorAgeFilesLines
* Include cassert when needed.Tor Egge2021-06-041-0/+1
|
* Revert "Revert "GC unused DiskState and add the partition metrics to node ↵Henning Baldersheim2021-03-122-251/+0
| | | | level.""
* Revert "GC unused DiskState and add the partition metrics to node level."Harald Musum2021-03-122-0/+251
|
* GC unused DiskState and add the partition metrics to node level.Henning Baldersheim2021-03-122-251/+0
|
* Merge pull request #16926 from ↵Tor Brede Vekterli2021-03-122-21/+3
|\ | | | | | | | | vespa-engine/vekterli/dont-store-full-bundle-objects-in-state-history Don't store full bundle objects in state history
| * Don't store full bundle objects in cluster state historyTor Brede Vekterli2021-03-122-21/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Bundles have a lot of sub-objects per state, so in systems with a high amount of node entries, this adds unnecessary pressure on the heap. Instead, store the string representations of the bundle and the string representation of the diff to the previous state version (if any). This is also inherently faster than computing the diffs on-demand on every status page render. Also remove mutable `official` field from `ClusterState`. Not worth violating immutability of an object just to get some prettier (but with high likelihood actually more confusing) status page rendering.
* | Revert "GC unused DiskState"Arnstein Ressem2021-03-122-0/+251
|/
* GC unused DiskStateHenning Baldersheim2021-03-112-251/+0
|
* GC unused diskstates array.Henning Baldersheim2021-03-111-142/+5
|
* GC use of void DiskState.Henning Baldersheim2021-03-113-63/+18
|
* GC use of NodeState.getDiskCount and NodeState.getDiskStates.Henning Baldersheim2021-03-114-106/+2
|
* GC long gone disk state checks.Henning Baldersheim2021-03-112-24/+0
|
* Shrink the size of the NodeState object by using float over double for ↵Henning Baldersheim2021-03-113-14/+13
| | | | initProgress and capacity. Also gc unused 'reliability' member.
* Remove notion of node-specific reliability from Java distribution codeTor Brede Vekterli2021-03-024-62/+24
| | | | | | | | Not used, and wasn't algorithmically in sync with the C++ code anyway. Also add guard to avoid emitting invalid node indices for storage nodes if the number of configured nodes is lower than the replication factor. Looks like this particular code path is only called by cross-language conformance tests, so hasn't been a problem in practice.
* Remove notion of node-specific reliability from C++ distribution codeTor Brede Vekterli2021-03-025-119/+32
| | | | | I have never seen this in use anywhere, and can find no code that ever sets it. Bonus is that node candidate trimming can be vastly simplified.
* string.h does not need alloc.hHenning Baldersheim2021-02-214-0/+4
|
* - Reduce visibility of ClusterState and Distribution.Henning Baldersheim2021-02-199-51/+27
|
* use size literals in streamingArne Juul2021-02-153-5/+8
|
* 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
|