Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use gtest | Henning Baldersheim | 2021-02-04 | 7 | -634/+640 |
| | |||||
* | Call std::_Exit(0) if SIGINT or SIGTERM is received while loading | Tor Egge | 2021-02-04 | 1 | -1/+43 |
| | | | | data structures, replaying transaction log or performing startup reprocessing. | ||||
* | Split to one test file per fixture. | Henning Baldersheim | 2021-02-04 | 3 | -132/+151 |
| | |||||
* | Refactor test for easier reuse. | Henning Baldersheim | 2021-02-04 | 5 | -508/+565 |
| | |||||
* | Merge pull request #16367 from vespa-engine/toregge/include-thread-as-needed | Henning Baldersheim | 2021-02-03 | 3 | -0/+3 |
|\ | | | | | Include thread as needed. | ||||
| * | Include thread as needed. | Tor Egge | 2021-02-03 | 3 | -0/+3 |
| | | |||||
* | | Count on the right places. | Henning Baldersheim | 2021-02-03 | 1 | -2/+13 |
| | | |||||
* | | Remove the sync interface from Bucket Executor. Due to the nature of ↵ | Henning Baldersheim | 2021-02-02 | 7 | -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-job | Henning Baldersheim | 2021-02-02 | 7 | -94/+98 |
|\ | | | | | Factor out the scan iterator from the BucketMoveJob. | ||||
| * | Factor out the scan iterator from the BucketMoveJob. | Henning Baldersheim | 2021-02-02 | 7 | -94/+98 |
| | | |||||
* | | Extend proton_config_fetcher unit test. | Tor Egge | 2021-02-02 | 1 | -0/+30 |
| | | |||||
* | | Extend unit test for ReconfigParams. | Tor Egge | 2021-02-02 | 2 | -0/+8 |
| | | |||||
* | | Update class comments. | Tor Egge | 2021-02-02 | 2 | -2/+4 |
| | | |||||
* | | More descriptive test name. | Tor Egge | 2021-02-02 | 1 | -1/+1 |
| | | |||||
* | | Improve handling of changed alloc config. | Tor Egge | 2021-02-02 | 33 | -157/+342 |
|/ | |||||
* | Pretend that compaction strategy config can be changed without needing restart. | Tor Egge | 2021-02-01 | 1 | -2/+2 |
| | |||||
* | Wire in config for compaction strategy. | Tor Egge | 2021-02-01 | 14 | -13/+61 |
| | |||||
* | Use correct name for parameter. | Henning Baldersheim | 2021-02-01 | 1 | -1/+1 |
| | |||||
* | Add test that verifies that concurrency is upheld during triggerFlush too. | Henning Baldersheim | 2021-01-31 | 1 | -55/+51 |
| | |||||
* | Use vespalib::duration for timeouts | Henning Baldersheim | 2021-01-31 | 20 | -113/+85 |
| | |||||
* | Non-empty _pendingPrune will shortcut throttleing when doing flushAll. | Henning Baldersheim | 2021-01-31 | 2 | -5/+5 |
| | | | | That is done on triggerFlush and prepareForRestart. That is incorrect as it causes a memory surge. | ||||
* | Use vespalib::duration for time. | Henning Baldersheim | 2021-01-30 | 4 | -26/+26 |
| | |||||
* | Various code health. | Henning Baldersheim | 2021-01-30 | 16 | -98/+64 |
| | |||||
* | Wire reporting of attribute resource usage all the way to the cluster ↵ | Geir Storli | 2021-01-29 | 10 | -24/+110 |
| | | | | controller via the host info API. | ||||
* | Fix forward declarations. | Tor Egge | 2021-01-29 | 2 | -2/+2 |
| | |||||
* | Merge pull request #16241 from vespa-engine/balder/some-code-health | Henning Baldersheim | 2021-01-28 | 14 | -55/+45 |
|\ | | | | | Some code healt by exposing what is necessary only | ||||
| * | Some code healt by exposing what is necessary only | Henning Baldersheim | 2021-01-26 | 14 | -55/+45 |
| | | |||||
* | | Still test both variants | Henning Baldersheim | 2021-01-28 | 1 | -1/+1 |
| | | |||||
* | | In order to ensure that lid stats are sampled at the right time ensure that ↵ | Henning Baldersheim | 2021-01-28 | 9 | -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 Baldersheim | 2021-01-27 | 4 | -2/+9 |
| | | | | | | | | the top too. | ||||
* | | Copy the maintenance subdb so you can safely use its members without ↵ | Henning Baldersheim | 2021-01-27 | 1 | -2/+3 |
| | | | | | | | | worrying that they might change under youor feet. | ||||
* | | Use shared_ptr to ensure lifetime is sufficient. | Henning Baldersheim | 2021-01-27 | 11 | -49/+49 |
| | | |||||
* | | Call onStop on the job | Henning Baldersheim | 2021-01-27 | 1 | -2/+5 |
| | | |||||
* | | Add a proper way for controlled stop. | Henning Baldersheim | 2021-01-27 | 3 | -1/+6 |
| | | |||||
* | | Check _stopped in execute, and guard it by the lock. | Henning Baldersheim | 2021-01-27 | 2 | -7/+13 |
|/ | |||||
* | gc last usages of closures | Henning Baldersheim | 2021-01-26 | 7 | -14/+10 |
| | |||||
* | Kill jobs when syncing feedview. | Henning Baldersheim | 2021-01-26 | 1 | -0/+1 |
| | |||||
* | Remove the syncFeedView upcall as it has no purpose other than forcing it ↵ | Henning Baldersheim | 2021-01-26 | 7 | -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 Baldersheim | 2021-01-25 | 3 | -17/+25 |
| | | | | - Start if they are stopped. | ||||
* | - Stop maintenance jobs prior to reconfiguring. | Henning Baldersheim | 2021-01-25 | 1 | -14/+9 |
| | | | | - Always create new LidSpaceCompactionHandlers. | ||||
* | Merge pull request #16215 from vespa-engine/balder/use-lambda-over-closure-2 | Henning Baldersheim | 2021-01-25 | 16 | -108/+37 |
|\ | | | | | Closure -> lambda | ||||
| * | Closure -> lambda | Henning Baldersheim | 2021-01-25 | 16 | -108/+37 |
| | | |||||
* | | Use lambda over closure. | Henning Baldersheim | 2021-01-25 | 2 | -19/+18 |
|/ | |||||
* | No need to sync the feedviews when we reconfigure searchable. | Henning Baldersheim | 2021-01-25 | 1 | -2/+2 |
| | |||||
* | Check gid and bucketid inside the correct master thread to ensure you do the ↵ | Henning Baldersheim | 2021-01-25 | 3 | -19/+39 |
| | | | | right thing. | ||||
* | Sync executor when destructing the jobs. | Henning Baldersheim | 2021-01-25 | 2 | -1/+4 |
| | |||||
* | Simplify by avoiding closure. | Henning Baldersheim | 2021-01-25 | 1 | -26/+37 |
| | |||||
* | Do not switch default yet. | Henning Baldersheim | 2021-01-24 | 1 | -1/+1 |
| | |||||
* | - The metastore must be read in the master thread. | Henning Baldersheim | 2021-01-24 | 12 | -47/+34 |
| | | | | - The getMetaData belong to the handler, not the iterator. | ||||
* | Merge pull request #16187 from vespa-engine/balder/use-the-correct-lid | Henning Baldersheim | 2021-01-23 | 2 | -2/+23 |
|\ | | | | | Use the correct lid when looking up the meta data. |