summaryrefslogtreecommitdiffstats
path: root/searchcore
Commit message (Collapse)AuthorAgeFilesLines
* Ensure that we post a dummy task that will wait for makeUpdatedDocument to ↵Henning Baldersheim2021-04-283-17/+36
| | | | complete.
* Disconnect the runner on stopHenning Baldersheim2021-04-248-5/+18
|
* GC unused includeHenning Baldersheim2021-04-241-1/+0
|
* Avoid heap usage after free in lid space compaction unit test.Tor Egge2021-04-232-2/+2
|
* Refcount must have longer lifetime than master executor.Henning Baldersheim2021-04-233-5/+7
|
* Run destruction of jobs in the master thread.Henning Baldersheim2021-04-234-13/+51
|
* Use a RetainGuard to ensure DocumentDB is not closed until everything has ↵Henning Baldersheim2021-04-2324-74/+115
| | | | been drained out.
* Stop maintenance jobs prior to draining references. Also remove a redundant ↵Henning Baldersheim2021-04-235-6/+5
| | | | docTypeName parameter.
* Use std::atomic<vespalib::steady_time>.Tor Egge2021-04-212-4/+4
|
* Extend metrics comment to describe unit used for heart beat age (seconds).Tor Egge2021-04-211-1/+1
|
* Store heart beat time in atomic variable.Tor Egge2021-04-212-10/+4
|
* Add heart beat age metric.Tor Egge2021-04-215-1/+26
|
* - Bring the BucketMover in along with the move keys and the move operations ↵Henning Baldersheim2021-04-204-60/+119
| | | | | | | to ensure proper lifetime. It must outlive the keys and th emove operations to avoid refering random memory or trigger asserts. - Enforce the BucketMover to be a shared_ptr.
* Merge pull request #17437 from ↵Henning Baldersheim2021-04-155-6/+12
|\ | | | | | | | | vespa-engine/balder/ensure-all-jobs-are-drained-from-non-master-executor If the job is posted on non-master-executor, we must also wait for th…
| * If the job is posted on non-master-executor, we must also wait for the ↵Henning Baldersheim2021-04-155-6/+12
| | | | | | | | Runnable jobs, not only the Running jobs.
* | Use a mutex to allow being called from any thread.Henning Baldersheim2021-04-152-8/+7
|/
* Include thread when needed.Tor Egge2021-04-141-0/+1
|
* GC redundant virtual keyword.Henning Baldersheim2021-04-131-2/+1
|
* - Depending on sync of an executor that is shared is not a good idea inside ↵Henning Baldersheim2021-04-138-12/+22
| | | | | | a documentdb component. - Just wait for what you are interested in.
* Avoid to have a period of a day since that is a normal period in crontab ↵Henning Baldersheim2021-04-131-2/+4
| | | | like job control.
* GC unused typedef DocumentDB::UPHenning Baldersheim2021-04-131-1/+0
|
* Force having documentdb as shared_ptr.Henning Baldersheim2021-04-138-104/+119
|
* Add extra check necessary until lidtracker has been removed.Henning Baldersheim2021-04-122-0/+2
|
* Check if job has been stopped before posting to master executor to reduce ↵Henning Baldersheim2021-04-122-0/+4
| | | | risk for accesing freed memory after documentdb have been shutdown.
* Force that lid space compation job and bucket move job are constructed as ↵Henning Baldersheim2021-04-105-43/+68
| | | | shared_ptr since that is required for usage.
* Use shared_ptr to for bucket move job to avoid blocking duirng reconfig.Henning Baldersheim2021-04-104-298/+269
|
* Use shared_ptr to lid space compaction job in order to ensure correct ↵Henning Baldersheim2021-04-096-57/+42
| | | | | | lifetime, and to avoid having to wait for pending operations when reconfiguring or other events requiring move jobs to be stopped.
* Do not std::move shared_ptr in loop.Henning Baldersheim2021-04-091-1/+1
|
* Keep shared_ptrs to BucketMove og LidSpace jobs.Henning Baldersheim2021-04-098-18/+22
|
* Make the scope of the lidspace handler fit its lifetime.Henning Baldersheim2021-04-095-40/+15
|
* Merge pull request #17338 from ↵Henning Baldersheim2021-04-091-3/+3
|\ | | | | | | | | vespa-engine/revert-17322-balder/updated-to-current-defaults Revert "Update to what is current defaults"
| * Revert "Update to what is current defaults"Henning Baldersheim2021-04-091-3/+3
| |
* | Add CompactionStrategy methods to determine if compaction should be performed.Tor Egge2021-04-091-10/+1
|/
* Merge pull request #17323 from vespa-engine/balder/default-is-now-0.15Henning Baldersheim2021-04-091-1/+1
|\ | | | | Default dead-bytes-ratio is now changed from 20% to 15%
| * Default dead-bytes-ratio is now changed from 20% to 15%Henning Baldersheim2021-04-081-1/+1
| |
* | Update to what is current defaultsHenning Baldersheim2021-04-081-3/+3
|/
* Report hash and B-tree memory usage separately for enum store dictionary.Tor Egge2021-04-083-18/+75
|
* Avoid expensive dynamic_castHenning Baldersheim2021-04-022-6/+4
|
* Control dispatch of docusm and search requests separately.Henning Baldersheim2021-03-312-13/+19
| | | | Also let default be that backend selects suitable number of threads.
* Add option to select sync or async query execution in the backend.Henning Baldersheim2021-03-316-23/+41
|
* - Add config control of number of transport threads used for rpc server ↵Henning Baldersheim2021-03-304-7/+23
| | | | | | serving among others, docsum and query as well as state api. - Also increase default to 4.
* Merge pull request #17226 from vespa-engine/balder/dotproduct-as-termHenning Baldersheim2021-03-304-48/+32
|\ | | | | - Let DotProduct,Wand and WeightedSet be Term nodes in the query tree…
| * push_back -> emplace_backHenning Baldersheim2021-03-291-2/+2
| |
| * - Use a LookupKey to further delay data conversion until we know it is ↵Henning Baldersheim2021-03-291-0/+11
| | | | | | | | | | | | necessary. - GC unused code
| * - Let DotProduct,Wand and WeightedSet be Term nodes in the query tree as ↵Henning Baldersheim2021-03-293-46/+19
| | | | | | | | | | | | | | | | they really are. That restricts the nodes to what they can really do and makes them significantly cheaper. - In addition type conversion of numeric terms is delayed to when it is necessary. And as next step they can be avoided completely.
* | Eliminate signed versus unsigned compare warning.Tor Egge2021-03-301-1/+1
| |
* | Move instead of copy of handles.Henning Baldersheim2021-03-302-1/+2
|/
* Control document meta store compaction pace.Tor Egge2021-03-292-8/+39
|
* Merge pull request #17218 from vespa-engine/balder/use-std_to_charsHenning Baldersheim2021-03-291-1/+0
|\ | | | | - Use faster std::to_chars.
| * - Use faster std::to_chars.Henning Baldersheim2021-03-281-1/+0
| | | | | | | | | | - Reorganize stackdumpitertor so members accesses frequently are colocated. - Add test to keep iteratorsize under control.