Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | 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 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 |
| | |||||
* | Remove DocumentList with children... | Henning Baldersheim | 2018-03-19 | 11 | -1738/+0 |
| | | | | | | | Conflicts: storage/src/tests/persistence/filestorage/filestormanagertest.cpp Resolve merge conflict. | ||||
* | Finalize ClusterStateBundle to return derived cluster state if bucket space ↵ | Geir Storli | 2018-03-14 | 4 | -3/+84 |
| | | | | | | is found. Add unit tests for ClusterStateBundle. | ||||
* | Revert "Finalize ClusterStateBundle to return derived cluster state if ↵ | Harald Musum | 2018-03-10 | 4 | -84/+3 |
| | | | | bucket…" | ||||
* | Fix typo. | Geir Storli | 2018-03-09 | 1 | -1/+1 |
| | |||||
* | Finalize ClusterStateBundle to return derived cluster state if bucket space ↵ | Geir Storli | 2018-03-09 | 4 | -3/+84 |
| | | | | | | is found. Add unit tests for ClusterStateBundle. | ||||
* | ClusterState parsing not safe with non zero-terminated stringrefs | Tor Brede Vekterli | 2018-03-06 | 2 | -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 controller | Tor Brede Vekterli | 2018-03-06 | 2 | -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 Vekterli | 2018-03-06 | 4 | -60/+3 |
| | |||||
* | ClusterState parsing not safe with non zero-terminated stringrefs | Tor Brede Vekterli | 2018-03-05 | 2 | -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 controller | Tor Brede Vekterli | 2018-03-05 | 2 | -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 Egge | 2018-02-23 | 2 | -0/+7 |
| | |||||
* | Move ClusterStateBundle to vdslib, allowing it to be used outside | Tor Egge | 2018-02-22 | 3 | -0/+61 |
| | | | | storage module. | ||||
* | Initial support for per bucket space cluster states in cluster controller | Tor Brede Vekterli | 2018-02-22 | 2 | -0/+11 |
| | | | | | Multiple spaces are only enabled in tests, so the controller still only generates the legacy baseline cluster state, maintaining today's behavior. | ||||
* | Remove no-op code and clean up Distribution | Tor Brede Vekterli | 2017-12-01 | 5 | -48/+58 |
| | | | | Move group config path parsing into utility class. | ||||
* | Less Gallic influence on naming | Tor Brede Vekterli | 2017-12-01 | 2 | -20/+20 |
| | |||||
* | Throw if we cannot find a sub-group with available distributors | Tor Brede Vekterli | 2017-10-26 | 2 | -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). |