Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove CppUnit dependencies in modules | Tor Brede Vekterli | 2019-06-26 | 1 | -1/+0 |
| | | | | Move test config helpers out of cppunit submodule. | ||||
* | Add missing includes. | Tor Egge | 2019-06-11 | 1 | -0/+1 |
| | |||||
* | Add new DB merging API to distributor BucketDatabase | Tor Brede Vekterli | 2019-06-03 | 2 | -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 Storli | 2019-05-23 | 1 | -3/+3 |
| | |||||
* | Rewrite vdslib tests from cppunit to gtest. | Geir Storli | 2019-05-23 | 7 | -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 Storli | 2019-05-23 | 5 | -843/+0 |
| | |||||
* | Resurrect parts of state/grouptest.cpp that are still relevant and remove ↵ | Geir Storli | 2019-05-23 | 4 | -422/+96 |
| | | | | unused files. | ||||
* | Rewrite vdslib tests from cppunit to gtest. | Geir Storli | 2019-05-22 | 7 | -272/+150 |
| | |||||
* | get -> getAcquire, set -> setRelease | Henning Baldersheim | 2019-05-20 | 1 | -6/+6 |
| | |||||
* | Ensure visibility of config changes. | Henning Baldersheim | 2019-05-18 | 1 | -18/+29 |
| | |||||
* | Merge pull request #9435 from ↵ | Henning Baldersheim | 2019-05-16 | 1 | -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 Baldersheim | 2019-05-16 | 1 | -1/+5 |
| | | |||||
| * | - Use double checked locking to ensure that we do not create Policies that ↵ | Henning Baldersheim | 2019-05-16 | 1 | -5/+10 |
| | | | | | | | | | | | | we forget to destroy. - Catch exceptions and close/destroy when necessary. | ||||
* | | Rewrite tests from cppunit to gtest. | Geir Storli | 2019-05-16 | 5 | -108/+71 |
|/ | |||||
* | Get rid of very complicated and inherently thread unsafe code as external ↵ | Henning Baldersheim | 2019-04-26 | 1 | -18/+24 |
| | | | | slobrok/configserver support is long gone. | ||||
* | No '*' imports | Henning Baldersheim | 2019-04-26 | 1 | -8/+11 |
| | |||||
* | Merge pull request #8900 from vespa-engine/arnej/no-more-python | Arne H Juul | 2019-03-29 | 1 | -2/+1 |
|\ | | | | | stop using python script for cppunit tests | ||||
| * | stop using python script for cppunit tests | Arne Juul | 2019-03-26 | 1 | -2/+1 |
| | | |||||
* | | Properly handle non-owned vs. missing buckets | Tor Brede Vekterli | 2019-03-15 | 2 | -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 backend | Tor Brede Vekterli | 2019-03-14 | 2 | -3/+26 |
|/ | |||||
* | Add '()' to macro definition. | Geir Storli | 2019-03-01 | 1 | -1/+1 |
| | |||||
* | Simplify. | Geir Storli | 2019-03-01 | 1 | -1/+0 |
| | |||||
* | Reduce code duplication in gtest runners. | Geir Storli | 2019-02-22 | 1 | -8/+2 |
| | |||||
* | Add gtest runner in vdslib and migrate bucketdistributiontest from CppUnit ↵ | Geir Storli | 2019-02-18 | 5 | -34/+50 |
| | | | | | | to gtest. Also note that bucketdistributiontest has not been executed since migration to cmake. | ||||
* | Derive correct distribution partition spec for grouped clusters | Tor Brede Vekterli | 2019-02-12 | 1 | -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 Egge | 2019-02-08 | 2 | -7/+6 |
| | |||||
* | Adjust forward declaration in vdslib. | Tor Egge | 2019-02-08 | 1 | -1/+1 |
| | |||||
* | remove unused classes | Arne Juul | 2019-01-21 | 8 | -843/+0 |
| | |||||
* | 6-SNAPSHOT -> 7-SNAPSHOT | Arnstein Ressem | 2019-01-21 | 1 | -2/+2 |
| | |||||
* | Do not take refs to temporaries that immediately go out of scope | Tor Brede Vekterli | 2019-01-15 | 1 | -1/+1 |
| | |||||
* | GC unused code and update includes | Henning Baldersheim | 2019-01-05 | 1 | -13/+1 |
| | |||||
* | getContentType -> contentStruct and java doc. | Henning Baldersheim | 2018-11-01 | 1 | -2/+2 |
| | |||||
* | Deprecating a whole lot of body/header related methods that should have been ↵ | Henning Baldersheim | 2018-10-31 | 1 | -3/+9 |
| | | | | done a long time ago. | ||||
* | Remove use of deprecated methods. | Henning Baldersheim | 2018-10-26 | 1 | -3/+11 |
| | |||||
* | Remove declaration of unused plugin. | gjoranv | 2018-08-24 | 1 | -17/+0 |
| | |||||
* | Remove whitespace | Henning Baldersheim | 2018-08-12 | 11 | -17/+17 |
| | |||||
* | Pass stringref by value | Henning Baldersheim | 2018-08-11 | 6 | -10/+10 |
| | |||||
* | Pass stringref by value | Henning Baldersheim | 2018-08-10 | 12 | -40/+40 |
| | |||||
* | Remove stringref::c_str() | Tor Brede Vekterli | 2018-07-25 | 8 | -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 Simon | Bjørn Christian Seime | 2018-07-05 | 2 | -2/+2 |
| | |||||
* | use LOG_ABORT not just abort() | Arne Juul | 2018-06-12 | 1 | -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 files | Arne Juul | 2018-06-11 | 1 | -1/+0 |
| | |||||
* | Use new junit API | Jon Bratseth | 2018-05-04 | 5 | -18/+63 |
| | |||||
* | Revert "Revert "Gjoranv/java9 prep 05"" | gjoranv | 2018-05-02 | 3 | -3/+3 |
| | |||||
* | Revert "Gjoranv/java9 prep 05" | gjoranv | 2018-05-02 | 3 | -3/+3 |
| | |||||
* | Merge pull request #5758 from vespa-engine/gjoranv/java9-prep-05 | gjoranv | 2018-05-01 | 3 | -3/+3 |
|\ | | | | | Gjoranv/java9 prep 05 | ||||
| * | Java 9: Replace 'new Double' with 'Double.valueOf' | gjoranv | 2018-05-01 | 2 | -2/+2 |
| | | |||||
| * | Java 9: Replace 'new Integer' with 'Integer.valueOf' | gjoranv | 2018-04-30 | 1 | -1/+1 |
| | | |||||
* | | Remove usage of junit.framework | Jon Bratseth | 2018-04-30 | 3 | -22/+32 |
|/ | |||||
* | Use move constructors. | Henning Baldersheim | 2018-04-03 | 1 | -17/+9 |
| |