summaryrefslogtreecommitdiffstats
path: root/vdslib
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Finalize ClusterStateBundle to return derived cluster state if ↵Harald Musum2018-03-104-84/+3
| | | | bucket…"
* Fix typo.Geir Storli2018-03-091-1/+1
|
* Finalize ClusterStateBundle to return derived cluster state if bucket space ↵Geir Storli2018-03-094-3/+84
| | | | | | is found. Add unit tests for ClusterStateBundle.
* ClusterState parsing not safe with non zero-terminated stringrefsTor Brede Vekterli2018-03-062-2/+4
| | | | | | Use vespalib::string explicitly for now until numeric parsing has moved away from C style atoi() parsing, which risks overrunning stringref buffer if it is not created verbatim from a zero-terminated string.
* Add handling of v3 setDistributionStates RPC from cluster controllerTor Brede Vekterli2018-03-062-1/+56
| | | | | ClusterStateBundle is populated with derived states, but these are not yet exposed via the bucket space getter function.
* Revert "Add cluster state RPC v3 support on content nodes"Tor Brede Vekterli2018-03-064-60/+3
|
* ClusterState parsing not safe with non zero-terminated stringrefsTor Brede Vekterli2018-03-052-2/+4
| | | | | | Use vespalib::string explicitly for now until numeric parsing has moved away from C style atoi() parsing, which risks overrunning stringref buffer if it is not created verbatim from a zero-terminated string.
* Add handling of v3 setDistributionStates RPC from cluster controllerTor Brede Vekterli2018-03-052-1/+56
| | | | | ClusterStateBundle is populated with derived states, but these are not yet exposed via the bucket space getter function.
* Simplify distributor unit tests.Tor Egge2018-02-232-0/+7
|
* Move ClusterStateBundle to vdslib, allowing it to be used outsideTor Egge2018-02-223-0/+61
| | | | storage module.
* Initial support for per bucket space cluster states in cluster controllerTor Brede Vekterli2018-02-222-0/+11
| | | | | Multiple spaces are only enabled in tests, so the controller still only generates the legacy baseline cluster state, maintaining today's behavior.
* Merge pull request #4328 from ↵Tor Brede Vekterli2017-12-047-68/+78
|\ | | | | | | | | vespa-engine/vekterli/add-global-distribution-transformation-utility Add global distribution config transformation utility
| * Remove no-op code and clean up DistributionTor Brede Vekterli2017-12-015-48/+58
| | | | | | | | Move group config path parsing into utility class.
| * Less Gallic influence on namingTor Brede Vekterli2017-12-012-20/+20
| |
* | Split parent + container-dependency-versions from root pom.gjoranv2017-12-011-0/+1
|/ | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent.
* Revert "Gjoranv/split parent2"gjoranv2017-11-301-1/+0
|
* Split parent + container-dependency-versions from root pom.gjoranv2017-11-301-0/+1
| | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent.
* Revert "Gjoranv/split parent"gjoranv2017-11-291-1/+0
|
* Split parent + container-dependency-versions from root pom.gjoranv2017-11-291-0/+1
| | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent.
* Throw if we cannot find a sub-group with available distributorsTor Brede Vekterli2017-10-262-5/+46
| | | | | | | 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).
* Moved databuffer and compresssion to vespalibHenning Baldersheim2017-08-281-11/+7
|
* Include what you need.Henning Baldersheim2017-08-184-0/+4
|
* Remove more clutter in fastos/types.hHenning Baldersheim2017-08-181-0/+1
|
* Include only what you need.Henning Baldersheim2017-08-181-0/+2
|
* Use nested namespace syntax.Henning Baldersheim2017-07-259-44/+21
| | | | Do not include more than you need.
* continue instead of fallthrough.Henning Baldersheim2017-07-251-1/+1
|
* Use syntax that works for both gcc 7 and gcc 6.Henning Baldersheim2017-07-241-1/+1
|
* Add [[falltrhough]] for gcc 7Henning Baldersheim2017-07-241-0/+1
|
* pre-size hashtable to avoid reallocationHenning Baldersheim2017-06-191-0/+1
|
* Update copyright headersJon Bratseth2017-06-14121-121/+121
|
* Revert "Update copyright headers"Jon Bratseth2017-06-14121-121/+121
|
* Update copyright headersJon Bratseth2017-06-14121-121/+121
|
* Remove carriage returnJon Bratseth2017-06-143-315/+315
|
* Upgrade maven-install-plugin to 2.5.2Bjørn Christian Seime2017-06-131-1/+0
|
* Only include what you really needHenning Baldersheim2017-06-081-4/+4
|
* split log and bufferedlogHenning Baldersheim2017-06-071-5/+3
|
* Hide BucketId::ListHenning Baldersheim2017-06-073-8/+6
|
* Forward declare XmlOutputStream and FieldValue::IteratorHandler.Henning Baldersheim2017-06-071-1/+2
|
* Forward declare ByteBuffer and FastOS_ThreadHenning Baldersheim2017-06-063-3/+5
|
* Include stringfmt where it was needed.Henning Baldersheim2017-06-061-0/+1
|
* Transfer ownership.Haakon Dybdahl2017-05-231-1/+0
|
* remove old unused ignoresArne Juul2017-05-191-0/+0
|
* Invert logic.Henning Baldersheim2017-05-081-1/+1
|
* Rewrite the large ClusterState constructor that gcc 7 compiled incorrectly.Henning Baldersheim2017-05-062-126/+121
| | | | Probably still an issue with gcc7, but now the code is a bit more readable.
* Due to c++17 eval order in gcc 7 we need to be more careful.Henning Baldersheim2017-05-061-2/+3
| | | | | From gcc 7 release notes. "The C++17 evaluation order requirements can be selected in other modes with the -fstrong-eval-order flag, or disabled in C++17 mode with -fno-strong-eval-order."
* Deinline after gcc 7 adviseHenning Baldersheim2017-05-051-0/+6
|
* Fix warnings hidden earlier due to including application headers as system ↵Henning Baldersheim2017-05-022-0/+8
| | | | includes
* Add override in documentapi.Henning Baldersheim2017-04-252-2/+11
|
* Add missing override.Henning Baldersheim2017-04-2515-52/+24
| | | | | remove virtual on override. optimize includes.
* disallow warningsArne H Juul2017-04-241-0/+1
|