summaryrefslogtreecommitdiffstats
path: root/vdslib
Commit message (Collapse)AuthorAgeFilesLines
* remove unused classesArne Juul2019-01-218-843/+0
|
* 6-SNAPSHOT -> 7-SNAPSHOTArnstein Ressem2019-01-211-2/+2
|
* Do not take refs to temporaries that immediately go out of scopeTor Brede Vekterli2019-01-151-1/+1
|
* GC unused code and update includesHenning Baldersheim2019-01-051-13/+1
|
* getContentType -> contentStruct and java doc.Henning Baldersheim2018-11-011-2/+2
|
* Deprecating a whole lot of body/header related methods that should have been ↵Henning Baldersheim2018-10-311-3/+9
| | | | done a long time ago.
* Remove use of deprecated methods.Henning Baldersheim2018-10-261-3/+11
|
* Remove declaration of unused plugin.gjoranv2018-08-241-17/+0
|
* Remove whitespaceHenning Baldersheim2018-08-1211-17/+17
|
* Pass stringref by valueHenning Baldersheim2018-08-116-10/+10
|
* Pass stringref by valueHenning Baldersheim2018-08-1012-40/+40
|
* Remove stringref::c_str()Tor Brede Vekterli2018-07-258-13/+15
| | | | | | | | | | | | | The expected semantics of c_str() (a null-terminated string) cannot be satisfied with a string reference, so remove the function entirely to prevent people from using it in buggy ways. Replaces c_str() with data() in places where it is presumed safe, otherwise constructs temporary string instances. Certain callsites have been de-stringref'd in favor of regular strings, in particular where C APIs have been transitively called. The vast majority of these were called with string parameters anyway, so should not cause much extra allocation.
* Fix author tag for SimonBjørn Christian Seime2018-07-052-2/+2
|
* use LOG_ABORT not just abort()Arne Juul2018-06-121-2/+2
| | | | | | | | | | * abort() has the unfortunate effect that nothing is seen in the log, just an event (which is usually not displayed); so ops people don't see that the program is crashing at all. * LOG_ABORT("message") will log an error with the message (and the file and line) before calling abort(), so it's easy to see what happened. * add or move <vespa/log/log.h> include and LOG_SETUP lines before LOG_ABORT is used (or included).
* clean up remnants of .mak filesArne Juul2018-06-111-1/+0
|
* Use new junit APIJon Bratseth2018-05-045-18/+63
|
* Revert "Revert "Gjoranv/java9 prep 05""gjoranv2018-05-023-3/+3
|
* Revert "Gjoranv/java9 prep 05"gjoranv2018-05-023-3/+3
|
* Merge pull request #5758 from vespa-engine/gjoranv/java9-prep-05gjoranv2018-05-013-3/+3
|\ | | | | Gjoranv/java9 prep 05
| * Java 9: Replace 'new Double' with 'Double.valueOf'gjoranv2018-05-012-2/+2
| |
| * Java 9: Replace 'new Integer' with 'Integer.valueOf'gjoranv2018-04-301-1/+1
| |
* | Remove usage of junit.frameworkJon Bratseth2018-04-303-22/+32
|/
* Use move constructors.Henning Baldersheim2018-04-031-17/+9
|
* Remove DocumentList with children...Henning Baldersheim2018-03-1911-1738/+0
| | | | | | | Conflicts: storage/src/tests/persistence/filestorage/filestormanagertest.cpp Resolve merge conflict.
* Finalize ClusterStateBundle to return derived cluster state if bucket space ↵Geir Storli2018-03-144-3/+84
| | | | | | is found. Add unit tests for ClusterStateBundle.
* 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.