aboutsummaryrefslogtreecommitdiffstats
path: root/documentapi
Commit message (Collapse)AuthorAgeFilesLines
* - Synchronize when removing nodes not present anymore. This simplifies code ↵Henning Baldersheim2022-01-121-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 warningsArne H Juul2022-01-061-7/+0
| | | | | * these were stricter than in parent, but to simplify we can just use compiler args from parent
* GC deprecated junit assertThat.Henning Baldersheim2021-12-211-9/+8
|
* Update ABI specTor Brede Vekterli2021-12-201-1/+31
|
* Don't trigger implicit ContentPolicy random send fallback on expected ↵Tor Brede Vekterli2021-12-204-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 testsTor Brede Vekterli2021-12-201-1/+1
|
* most unit tests can run with just 1 network threadArne H Juul2021-12-164-5/+5
|
* destroy more framesArne H Juul2021-12-161-0/+12
|
* Merge pull request #20536 from vespa-engine/arnej/hunting-unit-test-fails-1Jon Marius Venstad2021-12-161-1/+9
|\ | | | | Arnej/hunting unit test fails 1
| * stop standalone slobroks when test is finishedArne H Juul2021-12-151-1/+9
| |
* | Match document types in document selections exactly onlyJon Bratseth2021-12-141-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 Egge2021-12-111-1/+1
|
* update ABI for generated buildersArne H Juul2021-12-091-0/+1
|
* update ABI for generated buildersArne H Juul2021-12-091-0/+2
|
* more descriptive name for header fileArne H Juul2021-12-023-3/+3
|
* track namespace move in documenttypes.defArne H Juul2021-12-023-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-subJon Marius Venstad2021-11-111-1/+2
|
* Ignore NPE message in test.gjoranv2021-11-031-3/+5
| | | | (NPE messages changed with JDK 14+ helpful NPEs.)
* Separate return statement, add braces to nested ifJon Marius Venstad2021-10-281-1/+2
|
* Avoid double completion when transient error on overtimeJon Marius Venstad2021-10-281-14/+8
|
* Update 2019 Oath copyrights.gjoranv2021-10-271-1/+1
|
* ino -> ionJon Marius Venstad2021-10-271-1/+1
| | | Co-authored-by: Tor Brede Vekterli <vekterli@yahooinc.com>
* Skip to slice after progress token has been updated, after dist bit count changeJon Marius Venstad2021-10-262-3/+23
|
* Address reviewJon Marius Venstad2021-10-253-45/+54
|
* Remove unintended checkJon Marius Venstad2021-10-221-4/+0
|
* Allow specifying slices and sliceId in /document/v1Jon Marius Venstad2021-10-221-0/+4
|
* Allow slicing the bucket space for visitorsJon Marius Venstad2021-10-225-13/+197
|
* Fix warning in javadoc generation.Arnstein Ressem2021-10-071-2/+0
|
* Update Verizon Media copyright notices.gjoranv2021-10-075-5/+5
|
* Update 2018 copyright notices.gjoranv2021-10-075-5/+5
|
* Update 2017 copyright notices.gjoranv2021-10-07271-271/+271
|
* GC unused code.Henning Baldersheim2021-09-242-14/+0
|
* Exceptions yield no proper HTTP responseJon Marius Venstad2021-09-141-3/+2
|
* After the first try it is no longer the first try.Henning Baldersheim2021-09-091-1/+1
|
* No functional changesJon Bratseth2021-06-281-8/+8
|
* drop empty buffers instead of using small buffersHåvard Pettersen2021-06-151-1/+1
|
* admin/slobrok.0 does not always exist ....... anymore.Henning Baldersheim2021-05-271-1/+1
|
* Avoid coredump on bad/empty config.Henning Baldersheim2021-05-251-2/+3
|
* Update ABI specJon Marius Venstad2021-05-191-0/+3
|
* Add deadline to DocumentOperationParameters and use in MessageBusAsyncSessionJon Marius Venstad2021-05-196-11/+67
|
* Avoid non-positive explicit timeouts in MessageBusVisitorSesssionJon Marius Venstad2021-05-191-4/+5
|
* Replace with nulls instead of removing to avoid size reductionJon Marius Venstad2021-05-181-10/+22
|
* Remove by index is not thread safe, even if the list is a CopyOnWriteArrayList.Henning Baldersheim2021-05-171-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-fastergjoranv2021-05-151-0/+7
|\ | | | | Set forkCount paramter for maven-surefire-plugin to speed up tests
| * Set forkCount paramter for maven-surefire-plugin to speed up testsgjoranv2021-05-141-0/+7
| |
* | Propagate correct parametersJon Marius Venstad2021-05-101-1/+1
|/
* Let the supervisor owner set the small buffer optionJon Marius Venstad2021-05-031-0/+1
|
* More lazy debug log message generationJon Marius Venstad2021-04-282-13/+13
|
* Add copyright headersJon Bratseth2021-03-182-0/+2
|
* Add a safeguard by not adding more than the 1000 traces during visitation.Henning Baldersheim2021-03-131-1/+3
|