Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Synchronize when removing nodes not present anymore. This simplifies code ↵ | Henning Baldersheim | 2022-01-12 | 1 | -13/+13 |
| | | | | | | | at neglible cost that removes the race on size(). - Also use explicit AtomicReference to get an Immutable snapshot when doing a random sample. - Done after observing IllegalArgumentException due to negative argument to Random.nextInt(bound). | ||||
* | unify java warnings | Arne H Juul | 2022-01-06 | 1 | -7/+0 |
| | | | | | * these were stricter than in parent, but to simplify we can just use compiler args from parent | ||||
* | GC deprecated junit assertThat. | Henning Baldersheim | 2021-12-21 | 1 | -9/+8 |
| | |||||
* | Update ABI spec | Tor Brede Vekterli | 2021-12-20 | 1 | -1/+31 |
| | |||||
* | Don't trigger implicit ContentPolicy random send fallback on expected ↵ | Tor Brede Vekterli | 2021-12-20 | 4 | -26/+144 |
| | | | | | | | | | | | | | | | | | | | | | transient errors The `ContentPolicy` has a failure handling policy where more than _n_ error replies (a small number in practice) will trigger an implicit random send instead of using the cached cluster state. This is to force rediscovery of the actual cluster state, and is useful if a node is bad but we're not sending feed to enough other nodes to figure it out from them. However, certain error codes may be used frequently by the content layer for purposes that do _not_ indicate that a change in cluster state may have happened, and should therefore not be counted as errors that may indicate a bad node: * `ERROR_TEST_AND_SET_CONDITION_FAILED`: may happen for any mutating operation that has an associated TaS condition. Technically an `APP_FATAL_ERROR` since resending doesn't make sense. * `ERROR_BUSY`: may happen for concurrent mutations and if distributors are in the process of changing bucket ownership and the grace period hasn't passed yet. Also sent if queues are full and client policy should back off a bit. None of these are errors as per se. | ||||
* | Don't emit a bunch of debug logs by default in ContentPolicy unit tests | Tor Brede Vekterli | 2021-12-20 | 1 | -1/+1 |
| | |||||
* | most unit tests can run with just 1 network thread | Arne H Juul | 2021-12-16 | 4 | -5/+5 |
| | |||||
* | destroy more frames | Arne H Juul | 2021-12-16 | 1 | -0/+12 |
| | |||||
* | Merge pull request #20536 from vespa-engine/arnej/hunting-unit-test-fails-1 | Jon Marius Venstad | 2021-12-16 | 1 | -1/+9 |
|\ | | | | | Arnej/hunting unit test fails 1 | ||||
| * | stop standalone slobroks when test is finished | Arne H Juul | 2021-12-15 | 1 | -1/+9 |
| | | |||||
* | | Match document types in document selections exactly only | Jon Bratseth | 2021-12-14 | 1 | -6/+4 |
|/ | | | | | | Routing all child types to a cluster a parent is added to may be convenient for some users, but if it's not what you want it is then harder to prevent it from happening. | ||||
* | Add noexcept specifiers. | Tor Egge | 2021-12-11 | 1 | -1/+1 |
| | |||||
* | update ABI for generated builders | Arne H Juul | 2021-12-09 | 1 | -0/+1 |
| | |||||
* | update ABI for generated builders | Arne H Juul | 2021-12-09 | 1 | -0/+2 |
| | |||||
* | more descriptive name for header file | Arne H Juul | 2021-12-02 | 3 | -3/+3 |
| | |||||
* | track namespace move in documenttypes.def | Arne H Juul | 2021-12-02 | 3 | -0/+3 |
| | | | | | | | * For C++ code this introduces a "document::config" namespace, which will sometimes conflict with the global "config" namespace. * Move all forward-declarations of the types DocumenttypesConfig and DocumenttypesConfigBuilder to a common header file. | ||||
* | Use given messagebus config also when slobroks config is self-sub | Jon Marius Venstad | 2021-11-11 | 1 | -1/+2 |
| | |||||
* | Ignore NPE message in test. | gjoranv | 2021-11-03 | 1 | -3/+5 |
| | | | | (NPE messages changed with JDK 14+ helpful NPEs.) | ||||
* | Separate return statement, add braces to nested if | Jon Marius Venstad | 2021-10-28 | 1 | -1/+2 |
| | |||||
* | Avoid double completion when transient error on overtime | Jon Marius Venstad | 2021-10-28 | 1 | -14/+8 |
| | |||||
* | Update 2019 Oath copyrights. | gjoranv | 2021-10-27 | 1 | -1/+1 |
| | |||||
* | ino -> ion | Jon Marius Venstad | 2021-10-27 | 1 | -1/+1 |
| | | | Co-authored-by: Tor Brede Vekterli <vekterli@yahooinc.com> | ||||
* | Skip to slice after progress token has been updated, after dist bit count change | Jon Marius Venstad | 2021-10-26 | 2 | -3/+23 |
| | |||||
* | Address review | Jon Marius Venstad | 2021-10-25 | 3 | -45/+54 |
| | |||||
* | Remove unintended check | Jon Marius Venstad | 2021-10-22 | 1 | -4/+0 |
| | |||||
* | Allow specifying slices and sliceId in /document/v1 | Jon Marius Venstad | 2021-10-22 | 1 | -0/+4 |
| | |||||
* | Allow slicing the bucket space for visitors | Jon Marius Venstad | 2021-10-22 | 5 | -13/+197 |
| | |||||
* | Fix warning in javadoc generation. | Arnstein Ressem | 2021-10-07 | 1 | -2/+0 |
| | |||||
* | Update Verizon Media copyright notices. | gjoranv | 2021-10-07 | 5 | -5/+5 |
| | |||||
* | Update 2018 copyright notices. | gjoranv | 2021-10-07 | 5 | -5/+5 |
| | |||||
* | Update 2017 copyright notices. | gjoranv | 2021-10-07 | 271 | -271/+271 |
| | |||||
* | GC unused code. | Henning Baldersheim | 2021-09-24 | 2 | -14/+0 |
| | |||||
* | Exceptions yield no proper HTTP response | Jon Marius Venstad | 2021-09-14 | 1 | -3/+2 |
| | |||||
* | After the first try it is no longer the first try. | Henning Baldersheim | 2021-09-09 | 1 | -1/+1 |
| | |||||
* | No functional changes | Jon Bratseth | 2021-06-28 | 1 | -8/+8 |
| | |||||
* | drop empty buffers instead of using small buffers | Håvard Pettersen | 2021-06-15 | 1 | -1/+1 |
| | |||||
* | admin/slobrok.0 does not always exist ....... anymore. | Henning Baldersheim | 2021-05-27 | 1 | -1/+1 |
| | |||||
* | Avoid coredump on bad/empty config. | Henning Baldersheim | 2021-05-25 | 1 | -2/+3 |
| | |||||
* | Update ABI spec | Jon Marius Venstad | 2021-05-19 | 1 | -0/+3 |
| | |||||
* | Add deadline to DocumentOperationParameters and use in MessageBusAsyncSession | Jon Marius Venstad | 2021-05-19 | 6 | -11/+67 |
| | |||||
* | Avoid non-positive explicit timeouts in MessageBusVisitorSesssion | Jon Marius Venstad | 2021-05-19 | 1 | -4/+5 |
| | |||||
* | Replace with nulls instead of removing to avoid size reduction | Jon Marius Venstad | 2021-05-18 | 1 | -10/+22 |
| | |||||
* | Remove by index is not thread safe, even if the list is a CopyOnWriteArrayList. | Henning Baldersheim | 2021-05-17 | 1 | -3/+3 |
| | | | | | iOne thing is that it might throw if index is invalid. The other thing is that the index might point to something completely different. But remove by value should be fine. | ||||
* | Merge pull request #17858 from vespa-engine/use-forkCount-to-run-tests-faster | gjoranv | 2021-05-15 | 1 | -0/+7 |
|\ | | | | | Set forkCount paramter for maven-surefire-plugin to speed up tests | ||||
| * | Set forkCount paramter for maven-surefire-plugin to speed up tests | gjoranv | 2021-05-14 | 1 | -0/+7 |
| | | |||||
* | | Propagate correct parameters | Jon Marius Venstad | 2021-05-10 | 1 | -1/+1 |
|/ | |||||
* | Let the supervisor owner set the small buffer option | Jon Marius Venstad | 2021-05-03 | 1 | -0/+1 |
| | |||||
* | More lazy debug log message generation | Jon Marius Venstad | 2021-04-28 | 2 | -13/+13 |
| | |||||
* | Add copyright headers | Jon Bratseth | 2021-03-18 | 2 | -0/+2 |
| | |||||
* | Add a safeguard by not adding more than the 1000 traces during visitation. | Henning Baldersheim | 2021-03-13 | 1 | -1/+3 |
| |