aboutsummaryrefslogtreecommitdiffstats
path: root/vdslib
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Remove v6 and v7 from java side.Henning Baldersheim2019-08-211-21/+0
|
* Remove visitor ordering and order selection.Henning Baldersheim2019-08-094-93/+0
|
* Remove the use and testing of legacy groupdoc/userdoc/orderdoc document ids.Henning Baldersheim2019-08-091-40/+0
|
* Use int64_t for vdslib::Parameters overload.Tor Egge2019-08-071-4/+4
|
* Add missing spaceHenning Baldersheim2019-08-031-1/+1
|
* Update test.Henning Baldersheim2019-08-031-1/+1
|
* Revert "Revert "Add maxRedundancy to exception message.""Henning Baldersheim2019-08-031-1/+3
|
* Revert "Add maxRedundancy to exception message."Henning Baldersheim2019-08-031-3/+1
|
* Add maxRedundancy to exception message.Henning Baldersheim2019-08-031-1/+3
|
* Remove CppUnit dependencies in modulesTor Brede Vekterli2019-06-261-1/+0
| | | | Move test config helpers out of cppunit submodule.
* Add missing includes.Tor Egge2019-06-111-0/+1
|
* Add new DB merging API to distributor BucketDatabaseTor Brede Vekterli2019-06-032-0/+11
| | | | | | | | | | | | | | | | | | | | | | | Abstracts away how an ordered merge may be performed with the database and an arbitrary sorted bucket sequence, with any number of buckets skipped, updated or inserted as part of the merge. Such an API is required to allow efficient bulk updates of a B-tree backed database, as it is suboptimal to require constant tree mutations. Other changes: - Removed legacy mutable iteration API. Not needed with new merge API. - Const-iteration of bucket database now uses an explicit const reference entry type to avoid needing to construct a temporary entry when we can instead just point directly into the backing ArrayStore. - Micro-optimizations of node remover pass to avoid going via cluster state's node state std::map for each bucket replica entry. Now uses a precomputed bit vector. Also avoid BucketId bit reversing operations as much as possible by using raw bucket keys in more places. - Changed wording and contents of log message that triggers when buckets are removed from the DB due to no remaining nodes containing replicas for the bucket. Now more obvious what the message actually means. - Added several benchmark tests (disabled by default)
* Simplify.Geir Storli2019-05-231-3/+3
|
* Rewrite vdslib tests from cppunit to gtest.Geir Storli2019-05-237-686/+292
| | | | | Note that testSkew() and testSkewWithDown() have been inactive for 9 years and are removed. testEmptyAndCopy() has never been executed and is also removed.
* Remove debug test program that is no longer relevant and code that is not used.Geir Storli2019-05-235-843/+0
|
* Resurrect parts of state/grouptest.cpp that are still relevant and remove ↵Geir Storli2019-05-234-422/+96
| | | | unused files.
* Rewrite vdslib tests from cppunit to gtest.Geir Storli2019-05-227-272/+150
|
* get -> getAcquire, set -> setReleaseHenning Baldersheim2019-05-201-6/+6
|
* Ensure visibility of config changes.Henning Baldersheim2019-05-181-18/+29
|
* Merge pull request #9435 from ↵Henning Baldersheim2019-05-161-6/+15
|\ | | | | | | | | vespa-engine/balder/ensure-we-do-not-drop-close-destroy-on-exception-or-create-some-that-we-do-not-destroy - Use double checked locking to ensure that we do not create Policies…
| * Set member to null explicit.Henning Baldersheim2019-05-161-1/+5
| |
| * - Use double checked locking to ensure that we do not create Policies that ↵Henning Baldersheim2019-05-161-5/+10
| | | | | | | | | | | | we forget to destroy. - Catch exceptions and close/destroy when necessary.
* | Rewrite tests from cppunit to gtest.Geir Storli2019-05-165-108/+71
|/
* Get rid of very complicated and inherently thread unsafe code as external ↵Henning Baldersheim2019-04-261-18/+24
| | | | slobrok/configserver support is long gone.
* No '*' importsHenning Baldersheim2019-04-261-8/+11
|
* Merge pull request #8900 from vespa-engine/arnej/no-more-pythonArne H Juul2019-03-291-2/+1
|\ | | | | stop using python script for cppunit tests
| * stop using python script for cppunit testsArne Juul2019-03-261-2/+1
| |
* | Properly handle non-owned vs. missing bucketsTor Brede Vekterli2019-03-152-0/+11
| | | | | | | | | | | | | | | | Bonus: no more spurious "we have removed buckets" log messages caused by ownership changes. Also ensure that we BUSY-bounce operations in `ExternalOperationHandler` when there is no actual state to send back in a `WrongDistributionReply`.
* | Basic handling of activate_cluster_state_version RPC in backendTor Brede Vekterli2019-03-142-3/+26
|/
* Add '()' to macro definition.Geir Storli2019-03-011-1/+1
|
* Simplify.Geir Storli2019-03-011-1/+0
|
* Reduce code duplication in gtest runners.Geir Storli2019-02-221-8/+2
|
* Add gtest runner in vdslib and migrate bucketdistributiontest from CppUnit ↵Geir Storli2019-02-185-34/+50
| | | | | | to gtest. Also note that bucketdistributiontest has not been executed since migration to cmake.
* Derive correct distribution partition spec for grouped clustersTor Brede Vekterli2019-02-121-0/+14
| | | | | | | | Simplify code by emitting wildcards for all groups instead of using explicit leaf counts. Distribution code will distribute replicas evenly across all wildcarded groups. This fixes #8475
* Eliminate clang warnings in vdslib.Tor Egge2019-02-082-7/+6
|
* Adjust forward declaration in vdslib.Tor Egge2019-02-081-1/+1
|
* 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
|