summaryrefslogtreecommitdiffstats
path: root/searchcore
Commit message (Collapse)AuthorAgeFilesLines
* Add alloc_aligned member function.Tor Egge2021-02-131-2/+1
|
* Forward declare MemoryAllocator in vespalib/util/alloc.h.Tor Egge2021-02-131-0/+1
|
* Merge pull request #16501 from vespa-engine/balder/less-assert-in-header-filesHenning Baldersheim2021-02-1311-47/+26
|\ | | | | Less asserts in header files.
| * Less asserts in header files.Henning Baldersheim2021-02-1311-47/+26
| |
* | urgen ->urgentHenning Baldersheim2021-02-131-1/+1
| |
* | Move control of internal limits closer to where the limitation is.Henning Baldersheim2021-02-133-14/+10
|/
* Add unit test for cappingHenning Baldersheim2021-02-111-0/+24
|
* Ensure that we do not go above 16G as we then might trigger other internal ↵Henning Baldersheim2021-02-111-6/+7
| | | | | | limits that we do not have full control of.
* Merge pull request #16469 from vespa-engine/balder/refactor-moverHenning Baldersheim2021-02-119-126/+194
|\ | | | | Refactor to splitt out work that can be done in separate thread.
| * Refactor to splitt out work that can be done in separate thread.Henning Baldersheim2021-02-109-126/+194
| |
* | Wire in configuration for bucket move jobHenning Baldersheim2021-02-109-102/+144
|/
* To ensure that lid stats is sampled after everything has been completed ↵Henning Baldersheim2021-02-072-0/+2
| | | | | | compaction must happen in 2 stages. First it must reach inSync, then it must rescheduled once more in the master thread. Then all movement is visible in the master thread.
* Use gtestHenning Baldersheim2021-02-047-634/+640
|
* Call std::_Exit(0) if SIGINT or SIGTERM is received while loadingTor Egge2021-02-041-1/+43
| | | | data structures, replaying transaction log or performing startup reprocessing.
* Split to one test file per fixture.Henning Baldersheim2021-02-043-132/+151
|
* Refactor test for easier reuse.Henning Baldersheim2021-02-045-508/+565
|
* Merge pull request #16367 from vespa-engine/toregge/include-thread-as-neededHenning Baldersheim2021-02-033-0/+3
|\ | | | | Include thread as needed.
| * Include thread as needed.Tor Egge2021-02-033-0/+3
| |
* | Count on the right places.Henning Baldersheim2021-02-031-2/+13
| |
* | Remove the sync interface from Bucket Executor. Due to the nature of ↵Henning Baldersheim2021-02-027-32/+36
|/ | | | | | requiring a bucket lock it is very hard to get sync to work in a safe way. Instead the users must do their own accounting as they know their own threading model.
* Merge pull request #16348 from vespa-engine/balder/refactor-bucketmove-jobHenning Baldersheim2021-02-027-94/+98
|\ | | | | Factor out the scan iterator from the BucketMoveJob.
| * Factor out the scan iterator from the BucketMoveJob.Henning Baldersheim2021-02-027-94/+98
| |
* | Extend proton_config_fetcher unit test.Tor Egge2021-02-021-0/+30
| |
* | Extend unit test for ReconfigParams.Tor Egge2021-02-022-0/+8
| |
* | Update class comments.Tor Egge2021-02-022-2/+4
| |
* | More descriptive test name.Tor Egge2021-02-021-1/+1
| |
* | Improve handling of changed alloc config.Tor Egge2021-02-0233-157/+342
|/
* Pretend that compaction strategy config can be changed without needing restart.Tor Egge2021-02-011-2/+2
|
* Wire in config for compaction strategy.Tor Egge2021-02-0114-13/+61
|
* Use correct name for parameter.Henning Baldersheim2021-02-011-1/+1
|
* Add test that verifies that concurrency is upheld during triggerFlush too.Henning Baldersheim2021-01-311-55/+51
|
* Use vespalib::duration for timeoutsHenning Baldersheim2021-01-3120-113/+85
|
* Non-empty _pendingPrune will shortcut throttleing when doing flushAll.Henning Baldersheim2021-01-312-5/+5
| | | | That is done on triggerFlush and prepareForRestart. That is incorrect as it causes a memory surge.
* Use vespalib::duration for time.Henning Baldersheim2021-01-304-26/+26
|
* Various code health.Henning Baldersheim2021-01-3016-98/+64
|
* Wire reporting of attribute resource usage all the way to the cluster ↵Geir Storli2021-01-2910-24/+110
| | | | controller via the host info API.
* Fix forward declarations.Tor Egge2021-01-292-2/+2
|
* 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.