summaryrefslogtreecommitdiffstats
path: root/searchcore
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #16241 from vespa-engine/balder/some-code-healthHenning Baldersheim2021-01-2814-55/+45
|\ | | | | Some code healt by exposing what is necessary only
| * Some code healt by exposing what is necessary onlyHenning Baldersheim2021-01-2614-55/+45
| |
* | Still test both variantsHenning Baldersheim2021-01-281-1/+1
| |
* | In order to ensure that lid stats are sampled at the right time ensure that ↵Henning Baldersheim2021-01-289-26/+39
| | | | | | | | | | | | | | you do it the *next* time you are in the master thread. This is to ensure that the sync call has taken effect. This also keep the iterator creation logic in one method enhancing readability.
* | Ensure all tasks are queued on the master executor so compaction will pack ↵Henning Baldersheim2021-01-274-2/+9
| | | | | | | | the top too.
* | Copy the maintenance subdb so you can safely use its members without ↵Henning Baldersheim2021-01-271-2/+3
| | | | | | | | worrying that they might change under youor feet.
* | Use shared_ptr to ensure lifetime is sufficient.Henning Baldersheim2021-01-2711-49/+49
| |
* | Call onStop on the jobHenning Baldersheim2021-01-271-2/+5
| |
* | Add a proper way for controlled stop.Henning Baldersheim2021-01-273-1/+6
| |
* | Check _stopped in execute, and guard it by the lock.Henning Baldersheim2021-01-272-7/+13
|/
* gc last usages of closuresHenning Baldersheim2021-01-267-14/+10
|
* Kill jobs when syncing feedview.Henning Baldersheim2021-01-261-0/+1
|
* Remove the syncFeedView upcall as it has no purpose other than forcing it ↵Henning Baldersheim2021-01-267-34/+3
| | | | | | more than necessary. Instead do it in the main documentdb after all subds are reconfigured.
* - Kill maintenance jobs prior to doing reconfig.Henning Baldersheim2021-01-253-17/+25
| | | | - Start if they are stopped.
* - Stop maintenance jobs prior to reconfiguring.Henning Baldersheim2021-01-251-14/+9
| | | | - Always create new LidSpaceCompactionHandlers.
* Merge pull request #16215 from vespa-engine/balder/use-lambda-over-closure-2Henning Baldersheim2021-01-2516-108/+37
|\ | | | | Closure -> lambda
| * Closure -> lambdaHenning Baldersheim2021-01-2516-108/+37
| |
* | Use lambda over closure.Henning Baldersheim2021-01-252-19/+18
|/
* No need to sync the feedviews when we reconfigure searchable.Henning Baldersheim2021-01-251-2/+2
|
* Check gid and bucketid inside the correct master thread to ensure you do the ↵Henning Baldersheim2021-01-253-19/+39
| | | | right thing.
* Sync executor when destructing the jobs.Henning Baldersheim2021-01-252-1/+4
|
* Simplify by avoiding closure.Henning Baldersheim2021-01-251-26/+37
|
* Do not switch default yet.Henning Baldersheim2021-01-241-1/+1
|
* - The metastore must be read in the master thread.Henning Baldersheim2021-01-2412-47/+34
| | | | - The getMetaData belong to the handler, not the iterator.
* Merge pull request #16187 from vespa-engine/balder/use-the-correct-lidHenning Baldersheim2021-01-232-2/+23
|\ | | | | Use the correct lid when looking up the meta data.
| * Use the correct lid when looking up the meta data.Henning Baldersheim2021-01-232-2/+23
| |
* | Use lambda over closure. c++11ificationHenning Baldersheim2021-01-239-131/+79
|/
* Reverse the logic so it is correct.Henning Baldersheim2021-01-231-7/+7
|
* Revert "Revert "Wire in the BucketExecutor.""Henning Baldersheim2021-01-2318-43/+100
|
* Revert "Wire in the BucketExecutor."Harald Musum2021-01-2318-100/+43
|
* Wire in config control too.Henning Baldersheim2021-01-236-7/+17
|
* Update comment and use auto.Henning Baldersheim2021-01-232-4/+4
|
* Wire in the BucketExecutor.Henning Baldersheim2021-01-2314-35/+82
|
* Merge pull request #16182 from vespa-engine/balder/cleanup-1Henning Baldersheim2021-01-2310-72/+71
|\ | | | | Various readability and code cleanup. closure -> lambda
| * Various readability and code cleanup. closure -> lambdaHenning Baldersheim2021-01-2310-72/+71
| |
* | Merge pull request #16179 from ↵Henning Baldersheim2021-01-232-3/+24
|\ \ | | | | | | | | | | | | vespa-engine/balder/make-persistence-engine-bucket-executor-proxy Make the PersistenceEngine a proxy and gatekeeper for the BucketExecu…
| * | Make the PersistenceEngine a proxy and gatekeeper for the BucketExecutor ↵Henning Baldersheim2021-01-232-3/+24
| |/ | | | | | | from the content layer.
* / Do not move the lid upon creation, but upon move.Henning Baldersheim2021-01-231-3/+5
|/
* Update comments and simplify by using autoHenning Baldersheim2021-01-224-13/+6
|
* Fix forward declarations.Tor Egge2021-01-224-7/+7
|
* Merge pull request #16164 from vespa-engine/balder/split-testHenning Baldersheim2021-01-227-550/+821
|\ | | | | - Splitt common test code.
| * - Update copyright.Henning Baldersheim2021-01-226-123/+90
| | | | | | | | - Move code to .cpp file.
| * - Splitt common test code.Henning Baldersheim2021-01-227-549/+853
| | | | | | | | | | - Splitt out HandlerTest. - Make JobTest parameterized to run with current way of using frozen bucket concept, or future using BucketExecutor and content layer bucket locking.
* | Merge pull request #16159 from ↵Geir Storli2021-01-226-9/+325
|\ \ | |/ |/| | | | | vespa-engine/toregge/propagate-attribute-usage-to-resource-usage-tracker Track attribute resource usage.
| * Add get_update_count() method to test class.Tor Egge2021-01-221-4/+5
| |
| * Remove get_usage_vector() member function from resource usage listener mock.Tor Egge2021-01-221-16/+15
| | | | | | | | Add get_usage() member function to test class.
| * Add class comment.Tor Egge2021-01-221-0/+3
| |
| * Track attribute resource usage.Tor Egge2021-01-226-3/+316
| |
* | Wire in proper BucketSpace.Henning Baldersheim2021-01-223-8/+15
| |
* | Make a lidspace job that uses a bucket executor to hold the bucket lock.Henning Baldersheim2021-01-2211-195/+399
| |