aboutsummaryrefslogtreecommitdiffstats
path: root/documentapi
Commit message (Collapse)AuthorAgeFilesLines
* Add a separate module for documentapi dependencies.gjoranv2020-06-301-47/+12
| | | | | - Makes the poms maintainable. - Yields correct Import-Packages for container-documentapi
* Add container-documentapi module.gjoranv2020-06-301-7/+15
|
* Merge pull request #13619 from vespa-engine/bratseth/spare-capacity-maintainerJon Bratseth2020-06-182-1/+1
|\ | | | | Bratseth/spare capacity maintainer
| * SpareCapacityMaintainer sketchJon Bratseth2020-06-121-1/+0
| |
| * Nonfunctional changes onlyJon Bratseth2020-06-101-0/+1
| |
* | Merge pull request #13601 from ↵Henning Baldersheim2020-06-182-30/+27
|\ \ | | | | | | | | | | | | vespa-engine/balder/remove-leftovers-from-head-body-period-and-depcrecate-methods-levaing-on-vespa-8 - Removing body struct from our own usage.
| * | - Removing body struct from our own usage.Henning Baldersheim2020-06-162-30/+27
| | | | | | | | | | | | | | | - Deprecate public methods using body struct. - Update expected generated config.
* | | Randomness is also needed when having only 2 nodes. If not it will always ↵Henning Baldersheim2020-06-171-7/+3
| | | | | | | | | | | | select [0] when pending is equal.
* | | Remove Beta annotations.Henning Baldersheim2020-06-162-4/+0
|/ /
* | Legacy non-balancing loadbalancer is now a thing of the past.Henning Baldersheim2020-06-153-166/+7
| |
* | 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
| |
* | Update abi specJon Marius Venstad2020-06-111-0/+22
| |
* | 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-026-117/+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-193-2/+5
| | | | | | | | | | | | | | | | | | | 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-123-74/+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
|
* Use xxhash for most out hashing. It is significantly better quality hash.Henning Baldersheim2020-03-271-0/+0
| | | | From 0.7.3 is is also significantly faster.
* - 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.
* Revert "Revert "Since the most important aspect our use of hash maps/sets is ↵Henning Baldersheim2020-03-201-0/+0
| | | | for spee…""
* Revert "Since the most important aspect our use of hash maps/sets is for ↵Harald Musum2020-03-201-0/+0
| | | | spee…"
* Merge pull request #12646 from ↵Henning Baldersheim2020-03-201-0/+0
|\ | | | | | | | | vespa-engine/balder/make-default-hashing-use-2N-and-instead-of-prime-mod Since the most important aspect our use of hash maps/sets is for spee…
| * Ordering in tests chnages when hashing changes.Henning Baldersheim2020-03-201-0/+0
| |
* | 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