aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src
Commit message (Collapse)AuthorAgeFilesLines
* Start the metrics manager after everything has been setup to avoid the ↵Henning Baldersheim2021-03-191-5/+2
| | | | expensive metrics altered handling. This causes valgrind runs to be way too costly.
* Add copyright headersJon Bratseth2021-03-181-0/+1
|
* Ensure onStop is proxied.Henning Baldersheim2021-03-1711-9/+35
|
* Only access the meta store in the master thread.Henning Baldersheim2021-03-171-7/+5
|
* Remove redundant virtual keywords.Henning Baldersheim2021-03-152-10/+10
|
* Merge pull request #16939 from vespa-engine/toregge/remove-unused-variablesHenning Baldersheim2021-03-131-1/+0
|\ | | | | Remove unused variables.
| * Remove unused variables.Tor Egge2021-03-131-1/+0
| |
* | Fix forward declaration.Tor Egge2021-03-131-1/+1
|/
* To avoid race condition in test parts of the test code must be run in the ↵Henning Baldersheim2021-03-101-69/+122
| | | | master thread.
* No need to postpone cleanup as we fail fast with the atomic needReschedule flag.Henning Baldersheim2021-03-082-25/+6
|
* - considerBucket calls cancel already, no need for explicit cancel in ↵Henning Baldersheim2021-03-071-20/+19
| | | | | | | | failedOperation(). - All inflight buckets are cancelled, and can hence just be cleared. Also removes the need for postponed recompute. - Add sanity check for mover identity before removing it. - Handle failed movers differently.
* Erase failed movers, in common place.Henning Baldersheim2021-03-071-4/+4
|
* - Bring the guards along so they are both created and dropped in the master ↵Henning Baldersheim2021-03-064-63/+82
| | | | | | thread. - Take the bucketdb guard high up so it is evident where we are holding it.
* Revert "Revert "If a document was removed or moved between th emove started ↵Henning Baldersheim2021-03-056-17/+93
| | | | and the d…""
* Revert "If a document was removed or moved between th emove started and the ↵Henning Baldersheim2021-03-056-93/+17
| | | | d…"
* If a document was removed or moved between th emove started and the document ↵Henning Baldersheim2021-03-056-17/+93
| | | | | | | | was retrieved there would be a racewith state change or othe bucket changes requiring the bucket to be reconsidered. The mover would appear in sync prior to completing the move in the master thread. This should now be accounted by accounting the failed state in the mover.
* Reduce to debug loglevel as sub 16G host will be capped.Henning Baldersheim2021-03-051-2/+2
|
* all scalars must be doubleHåvard Pettersen2021-03-042-2/+3
| | | | and all operation results must be at least float
* Make the SearchTerm enum a small scoped enum and rename to Type.Henning Baldersheim2021-03-041-1/+1
|
* Revert "Revert "Set allowedlidbloat to 1 instead of 1000""Henning Baldersheim2021-03-031-1/+1
|
* Revert "Set allowedlidbloat to 1 instead of 1000"Arnstein Ressem2021-03-031-1/+1
|
* Set allowedlidbloat to 1 instead of 1000Henning Baldersheim2021-03-021-1/+1
|
* Merge pull request #16739 from ↵Henning Baldersheim2021-03-0229-36/+67
|\ | | | | | | | | vespa-engine/balder/do-not-promise-more-than-you-need Balder/do not promise more than you need
| * Reduce visibility and do not provide syncable when not necessary.Henning Baldersheim2021-03-0223-21/+52
| |
| * It is enough to promise a ThreadExecutor, no need to have it syncable.Henning Baldersheim2021-03-027-15/+15
| |
* | Merge pull request #16741 from ↵Henning Baldersheim2021-03-021-1/+1
|\ \ | |/ |/| | | | | vespa-engine/vekterli/remove-unused-node-reliability-concept-from-cpp-distribution Remove notion of node-specific reliability from C++ distribution code
| * Remove notion of node-specific reliability from C++ distribution codeTor Brede Vekterli2021-03-021-1/+1
| | | | | | | | | | I have never seen this in use anywhere, and can find no code that ever sets it. Bonus is that node candidate trimming can be vastly simplified.
* | Sign off that the job is complete by erasing the job token.Henning Baldersheim2021-03-021-4/+5
| |
* | - Can not move away shared_ptr.Henning Baldersheim2021-03-021-1/+2
| | | | | | | | - Remove the recompute token once complete.
* | Postpone buckets for reconsideration until it is safe.Henning Baldersheim2021-03-012-33/+84
|/
* Remove unused return value.Henning Baldersheim2021-02-282-4/+3
|
* Use an enum to avoid dangerous implicit type conversionHenning Baldersheim2021-02-272-2/+2
|
* Put all params for commit into a single CommitParam structHenning Baldersheim2021-02-2730-140/+133
|
* Eliminate inline warning.Tor Egge2021-02-272-1/+4
|
* Fix forward declaration.Tor Egge2021-02-251-1/+1
|
* Avoid including singlenumericattribute.hppHenning Baldersheim2021-02-255-6/+0
|
* ensure we we abort operation if timestamp has changed between start and ↵Henning Baldersheim2021-02-243-8/+12
| | | | prepare. Also control the lifetime of the keys so they are either destructed or carried over to the next phase (completeMove) to ensure no races for the accounting.
* Also verify timestampHenning Baldersheim2021-02-241-1/+2
|
* Use current metadata when creating move operation.Henning Baldersheim2021-02-242-15/+36
|
* Obey stop signHenning Baldersheim2021-02-231-4/+7
|
* - Change error handling so that both synchonous and asynchronous errors can ↵Henning Baldersheim2021-02-236-43/+84
| | | | | | | | be reported back from bucket executor. - Treat remapping as an error. - For lidspace compaction job iterator is reset and will be recreated on next invocation. - For bucketmove th ebucket is rechecked and either discarded or restarted.
* Use a value metric for buckets_pending.Henning Baldersheim2021-02-232-2/+2
|
* Add metirc for buckets pending move.Henning Baldersheim2021-02-2314-22/+82
|
* move getting tensor into the attribute codeArne Juul2021-02-221-20/+3
| | | | | * avoids taking an extra copy of the tensor in the DirectTensorAttribute case
* Include memory and typeinfo when needed.Tor Egge2021-02-221-0/+1
|
* string.h does not need alloc.hHenning Baldersheim2021-02-2114-8/+20
|
* Merge pull request #16608 from ↵Henning Baldersheim2021-02-211-1/+1
|\ | | | | | | | | vespa-engine/toregge/explicitly-delete-implicitly-deleted-bucket-mover-move-constructor Explicitly delete implicitly deleted BucketMover move constructor.
| * Explicitly delete implicitly deleted BucketMover move constructor.Tor Egge2021-02-211-1/+1
| |
* | Include thread as needed.Tor Egge2021-02-201-0/+1
|/
* Only count the operation once.Henning Baldersheim2021-02-193-10/+7
| | | | Update test after code is fixed.