aboutsummaryrefslogtreecommitdiffstats
path: root/vdslib/src/test
Commit message (Collapse)AuthorAgeFilesLines
* Update copyrightJon Bratseth2023-10-099-9/+9
|
* Cleanup, simplify, remove dead code. No functional changesHarald Musum2023-07-079-147/+141
|
* Deprecate distributor_auto_ownership_transfer_on_whole_group_downHarald Musum2023-03-281-30/+0
| | | | | 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
* Replace synchronized Stack with Deque in feed and query path.Henning Baldersheim2023-01-251-80/+83
|
* Replace jettison with jacksonjonmv2022-10-211-33/+23
|
* Suppress warningHarald Musum2022-07-071-0/+1
|
* switch to new-style configArne H Juul2022-04-121-91/+113
|
* Add TODO to not use ConfigGettergjoranv2022-01-311-3/+2
|
* Update 2017 copyright notices.gjoranv2021-10-079-9/+9
|
* Use a BitSet to enable more compact representation of ClusterState internally.Henning Baldersheim2021-09-231-0/+12
| | | | | | Down nodes without a comment occupies only a single bit. Up nodes that has no extra information also only occupies a single bit. The anomalities are represented in a hash map.
* Revert "Revert "GC unused DiskState and add the partition metrics to node ↵Henning Baldersheim2021-03-121-116/+0
| | | | level.""
* Revert "GC unused DiskState and add the partition metrics to node level."Harald Musum2021-03-121-0/+116
|
* GC unused DiskState and add the partition metrics to node level.Henning Baldersheim2021-03-121-116/+0
|
* Merge pull request #16926 from ↵Tor Brede Vekterli2021-03-121-5/+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-121-5/+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-121-0/+116
|/
* GC unused DiskStateHenning Baldersheim2021-03-111-116/+0
|
* GC use of void DiskState.Henning Baldersheim2021-03-112-40/+18
|
* GC use of NodeState.getDiskCount and NodeState.getDiskStates.Henning Baldersheim2021-03-112-68/+2
|
* Shrink the size of the NodeState object by using float over double for ↵Henning Baldersheim2021-03-112-5/+5
| | | | initProgress and capacity. Also gc unused 'reliability' member.
* Remove notion of node-specific reliability from Java distribution codeTor Brede Vekterli2021-03-022-25/+3
| | | | | | | | 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.
* Revert "Revert "Jonmv/reapply document protocol super config [run-systemtest]""Jon Marius Venstad2021-01-282-1/+5
| | | | This reverts commit 2e2e2edeb3ea99f2c04925070cf44601e2cd94fb.
* Revert "Jonmv/reapply document protocol super config [run-systemtest]"Jon Marius Venstad2021-01-282-5/+1
|
* Revert "Revert "Jonmv/document protocol super config""Jon Marius Venstad2021-01-272-1/+5
| | | | This reverts commit d7359f7c72ff06889af594431baf4075e2b4da78.
* Revert "Jonmv/document protocol super config"Harald Musum2021-01-272-5/+1
|
* Use direct bit operations instead of stored arrayJon Marius Venstad2021-01-191-0/+1
|
* Use only injected config for injected document accessJon Marius Venstad2021-01-191-1/+4
|
* Stick to junit for simple test.Henning Baldersheim2020-08-111-16/+19
|
* Remove v6 and v7 from java side.Henning Baldersheim2019-08-211-21/+0
|
* Remove the use and testing of legacy groupdoc/userdoc/orderdoc document ids.Henning Baldersheim2019-08-091-40/+0
|
* Add missing spaceHenning Baldersheim2019-08-031-1/+1
|
* Update test.Henning Baldersheim2019-08-031-1/+1
|
* remove unused classesArne Juul2019-01-212-197/+0
|
* Remove use of deprecated methods.Henning Baldersheim2018-10-261-3/+11
|
* Fix author tag for SimonBjørn Christian Seime2018-07-051-1/+1
|
* Use new junit APIJon Bratseth2018-05-045-18/+63
|
* Remove usage of junit.frameworkJon Bratseth2018-04-303-22/+32
|
* Throw if we cannot find a sub-group with available distributorsTor Brede Vekterli2017-10-261-3/+37
| | | | | | | This matches the existing behavior of the C++ Distribution implementation and avoids triggering an NPE if a distributor is attempted resolved in a hierarchic cluster when the cluster state does not have any available distributors (such as when it is down).
* Update copyright headersJon Bratseth2017-06-1413-13/+13
|
* Revert "Update copyright headers"Jon Bratseth2017-06-1413-13/+13
|
* Update copyright headersJon Bratseth2017-06-1413-13/+13
|
* Remove carriage returnJon Bratseth2017-06-141-110/+110
|
* Revert "Copyright header"Jon Bratseth2017-06-1313-123/+123
|
* Copyright headerJon Bratseth2017-06-1313-123/+123
|
* use Objects.hash() to implement hashCode()Arne H Juul2017-04-211-1/+3
|
* implement hashCode to avoid warningArne H Juul2017-04-201-0/+4
|
* Rewrite and refactor core cluster controller state generation logicTor Brede Vekterli2016-10-052-5/+138
| | | Cluster controller will now generate the new cluster state on-demand in a "pure functional" way instead of conditionally patching a working state over time. This makes understanding (and changing) the state generation logic vastly easier than it previously was.
* balder -> baldersheimHenning Baldersheim2016-06-171-1/+1
|
* PublishJon Bratseth2016-06-1516-0/+2193