summaryrefslogtreecommitdiffstats
path: root/documentapi/src
Commit message (Collapse)AuthorAgeFilesLines
* Use library to copy fields, and make more robust wrt. future concurrency changesJon Marius Venstad2020-06-112-9/+11
|
* Respect selection and field set parameters, and unit test LocalVisitorSessionJon Marius Venstad2020-06-114-108/+270
|
* Minor fixesJon Marius Venstad2020-06-111-4/+4
|
* Add draft LocalVisitorSessionJon Marius Venstad2020-06-111-0/+141
|
* Update return and throws javadoc for SyncSession::updateHåkon Hallingstad2020-06-081-4/+11
|
* Ensure we can not pick the same candidate twice. This make it react a lot ↵Henning Baldersheim2020-06-022-12/+15
| | | | faster especially with few nodes.
* Follow up after PR comments.Henning Baldersheim2020-06-023-16/+20
| | | | | - Make system test deterministic. - Add @Override and be consistent on white space.
* Add test and fix loadbalancer selection.Henning Baldersheim2020-06-022-2/+15
|
* Make the current loadbalancer into 'legacy'.Henning Baldersheim2020-06-025-103/+262
| | | | Add a new 'adaptive' loadbalancer that uses select-best-of-2-random-picks.
* Avoid data race from pending visitor send taskTor Brede Vekterli2020-05-192-1/+4
| | | | | | | | | | | | | | | | | | | It's currently possible for the visitor session to complete even if there's a SendCreateVisitors task scheduled. This will usually happen if there's been an error or if a sufficient number of documents has been retrieved, triggering an early exit of the session. In this case we must ensure that we do not mutate any shared data structures from the send task when it finally executes, as they may be read concurrently by the session client thread. The `done` variable is written under the same mutex as that held by the send task, so visibility is guaranteed. Also add `synchronized` to the binary serialization method for `ProgressToken` to match the existing non-binary serialization methods. This should not be required with the main race condition fix, but is included for completion. Shall not break ABI compatibility.
* Use computeIfAbsentHenning Baldersheim2020-05-131-6/+1
|
* Use syncronized to make the loadbalancer semantically thread safe.Henning Baldersheim2020-05-122-44/+54
| | | | | Use a cache to avoid parsing a string to get an index. Move test to same package to avoid public access to internal details.
* LogLevel -> Level for isLoggable()gjoranv2020-04-253-25/+25
|
* LogLevel.CONFIG -> Level.CONFIGgjoranv2020-04-251-1/+1
|
* LogLevel.ERROR -> Level.SEVEREgjoranv2020-04-255-17/+17
|
* LogLevel.WARNING -> Level.WARNINGgjoranv2020-04-253-4/+4
|
* LogLevel.INFO -> Level.INFOgjoranv2020-04-251-1/+1
|
* LogLevel.SPAM -> Level.FINESTgjoranv2020-04-252-4/+4
|
* LogLevel.DEBUG -> Level.FINEgjoranv2020-04-255-37/+37
|
* Import java.util.logging.Level instead of com.yahoo.log.LogLevelgjoranv2020-04-2512-12/+12
|
* Nonfunctional changes onlyJon Bratseth2020-04-152-34/+31
|
* - Avoid adding empty traces that you need to carry on.Henning Baldersheim2020-03-242-4/+2
| | | | | - Avoid copying shared pointers when not necessary. - Some c++11 improvements.
* Reserve space for vector.Henning Baldersheim2020-03-202-8/+6
| | | | Varoius code cleanup for c++11.
* Remove unused private member variables.Tor Egge2020-01-242-6/+4
|
* Use a single chunkHenning Baldersheim2020-01-231-2/+2
|
* c_str -> dataHenning Baldersheim2020-01-211-1/+1
|
* Unify and factor out common code.Henning Baldersheim2020-01-212-8/+15
|
* Make it known that getting serialized size will always be expensive.Henning Baldersheim2020-01-202-19/+14
|
* GC a load of unused code. ByteBuffer towards read only.Henning Baldersheim2020-01-206-106/+49
|
* Unify towards nbostreamHenning Baldersheim2020-01-162-25/+20
|
* Non-functional changes onlyJon Bratseth2020-01-103-8/+8
|
* Merge branch 'master' into ↵Henning Baldersheim2019-12-053-6/+9
|\ | | | | | | balder/use-duration-in-messagebus-and-storageapi-rebased-1
| * FastOS_THread::Sleep -> std::chrono::sleep_forHenning Baldersheim2019-12-043-6/+9
| | | | | | | | | | Renamed Timer -> ScheduledExecutor. Do not include thread.h when not needed in header files.
* | timeout as durationHenning Baldersheim2019-12-044-45/+51
|/ | | | | Conflicts: messagebus/src/vespa/messagebus/testlib/testserver.cpp
* Use timeouts typed with unit.Henning Baldersheim2019-11-201-2/+4
|
* Remove unused codeHenning Baldersheim2019-11-011-1/+0
|
* Use mockito-core 3.1.0Håkon Hallingstad2019-10-182-13/+13
|
* Less unusable options.Henning Baldersheim2019-09-302-213/+0
|
* Cleanup - no functional changesJon Bratseth2019-09-201-75/+49
|
* Re-enable subset of dusty old StoragePolicy simulation testsTor Brede Vekterli2019-09-131-0/+17
|
* Handle edges when cached StoragePolicy cluster state has no distributorsTor Brede Vekterli2019-09-132-4/+38
| | | | | * Avoid division by zero in `getRandomTargetSpec()` * Ensure policy context is set when `NoDistributorsAvailableException` is thrown
* Update to require atleast vespa 6 version.Henning Baldersheim2019-08-211-19/+23
|
* Remove v6 and v7 from java side.Henning Baldersheim2019-08-211-6/+1
|
* Remove DocIdString outside of documentHenning Baldersheim2019-08-191-6/+4
|
* doc: -> id:Henning Baldersheim2019-08-161-1/+1
|
* Update routing config instead of expected result.Henning Baldersheim2019-08-161-2/+2
|
* Update routing config instead of expected result.Henning Baldersheim2019-08-161-2/+2
|
* Update testsHenning Baldersheim2019-08-161-3/+3
|
* Update tests since id: locks document type.Henning Baldersheim2019-08-161-4/+4
|
* Update java expected files.Henning Baldersheim2019-08-161-4/+4
|