summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/documentdb/lid_space_compaction
Commit message (Collapse)AuthorAgeFilesLines
* Check gid and bucketid inside the correct master thread to ensure you do the ↵Henning Baldersheim2021-01-252-17/+31
| | | | right thing.
* Sync executor when destructing the jobs.Henning Baldersheim2021-01-251-0/+1
|
* - The metastore must be read in the master thread.Henning Baldersheim2021-01-242-5/+6
| | | | - The getMetaData belong to the handler, not the iterator.
* Revert "Revert "Wire in the BucketExecutor.""Henning Baldersheim2021-01-232-3/+9
|
* Revert "Wire in the BucketExecutor."Harald Musum2021-01-232-9/+3
|
* Wire in config control too.Henning Baldersheim2021-01-231-1/+1
|
* Wire in the BucketExecutor.Henning Baldersheim2021-01-232-2/+8
|
* Merge pull request #16182 from vespa-engine/balder/cleanup-1Henning Baldersheim2021-01-231-6/+23
|\ | | | | Various readability and code cleanup. closure -> lambda
| * Various readability and code cleanup. closure -> lambdaHenning Baldersheim2021-01-231-6/+23
| |
* | Do not move the lid upon creation, but upon move.Henning Baldersheim2021-01-231-3/+5
|/
* Fix forward declarations.Tor Egge2021-01-221-1/+1
|
* - 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.
* Make a lidspace job that uses a bucket executor to hold the bucket lock.Henning Baldersheim2021-01-221-0/+3
|
* Decouple and cleanup. No semantic changes.Henning Baldersheim2021-01-211-1/+7
|
* Update lid_space_compaction_test.cppHenning Baldersheim2021-01-211-2/+2
| | | Update comments to reflect reality.
* Revert "Revert "Reinstate the check for progress.""Henning Baldersheim2021-01-211-1/+2
|
* Revert "Reinstate the check for progress."Henning Baldersheim2021-01-211-2/+1
|
* Reinstate the check for progress.Henning Baldersheim2021-01-211-1/+2
| | | | | Remove the now defunct maxdocs parameter that was set explicit to 3 in this test. It is void.
* There is now no need to have the 10k maxdocs limit to avoid iterating too long.Henning Baldersheim2021-01-201-28/+9
| | | | Now we iterate in the most efficient way by scanning a bit vector and maxtime wil be so small that it can be ignored.
* Move idestructorcallback.h to vespalib module and ↵Henning Baldersheim2021-01-141-2/+2
| | | | search::IDestructorCallback to vespalib::IdestructorCallback.
* Add teste for move when pending.Henning Baldersheim2020-11-011-0/+9
| | | | Implement backoff for lidspace when poending.
* Check if the lid might block due to missing commit.Henning Baldersheim2020-10-301-1/+3
| | | | | If so pill back and reschedule. Rescheduling will give a busy loop, but that is rare and find.
* Keep commit result live until force commit is done.Tor Egge2020-10-201-1/+1
|
* Add noexcept as indicated by -WnoeexceptHenning Baldersheim2020-10-071-3/+2
|
* Add startCommit methodHenning Baldersheim2020-09-211-0/+3
|
* Rename storeOperation to appendOperationHenning Baldersheim2020-09-211-1/+1
|
* Revert "Revert "Revert "Revert "- Change APi for fetching documents to ↵Henning Baldersheim2020-08-131-1/+1
| | | | support optimal document retri…""""
* Revert "Revert "Revert "- Change APi for fetching documents to support ↵Henning Baldersheim2020-08-131-1/+1
| | | | optimal document retri…"""
* Revert "Revert "- Change APi for fetching documents to support optimal ↵Henning Baldersheim2020-08-121-1/+1
| | | | document retri…""
* Revert "- Change APi for fetching documents to support optimal document ↵Henning Baldersheim2020-08-121-1/+1
| | | | retri…"
* Follow up of PR comment with renaming and refactoring.Henning Baldersheim2020-08-121-1/+1
|
* - Change APi for fetching documents to support optimal document retrival ↵Henning Baldersheim2020-08-071-1/+1
| | | | | | when everything is available in memory. - When all fields are present only in attributes, only access the fields that are required.
* Cleanup code by following clion advise an move some classes to its proper home.Henning Baldersheim2020-08-051-41/+36
|
* Consolidate search for GTest.Tor Egge2020-07-071-1/+0
|
* Use find_package to find gtest library.Tor Egge2020-06-291-1/+2
|
* Add tracking of remove operations rate and use this to consider blocking lid ↵Geir Storli2020-04-291-29/+79
| | | | | | | | | space compaction. During a period with a high rate of remove operations, there is no use running lid space compaction as this will interfere with the remove operations, increasing latency of those. Moving a document as part of lid space compaction is a costly operation (similar to putting the document in the first place) and it typically uses both the index and attribute writer thread pools.
* Improve tracking of remove batch rate used to consider to block lid space ↵Geir Storli2020-04-291-24/+33
| | | | | | | compaction. This is also a preparation for tracking the rate of regular remove operations, and use this to consider to block lid space compaction.
* Log when we actually remove.Henning Baldersheim2020-04-081-2/+3
|
* fastos::TimeStamp -> vespalib::durationHenning Baldersheim2019-12-161-12/+12
|
* Block lid space compaction job while remove batch (delete buckets) is ongoing.Geir Storli2019-08-131-12/+60
|
* Rewrite lid space compaction tests to gtest.Geir Storli2019-08-082-268/+276
|
* Fix bug in lid space compaction where partial updates to attributes were ↵Geir Storli2019-05-311-32/+38
| | | | | | | | | lost when moving a document. Instead of using the document store directly (when reading the document to move) the document retriever must be used. The document retriever patches in attribute values and also correctly waits for the thread writing to the document store. The job moving documents between the "ready" and "not ready" sub databases was already doing this correctly.
* Remove files used by old unit test runner.Tor Egge2019-02-192-3/+0
|
* Stop using nested typedef for shared pointer to const DocumentTypeRepo.Tor Egge2018-04-041-4/+4
|
* Introduce async write interface in the TLS.Henning Baldersheim2017-10-181-1/+1
| | | | | Wire it in all the way up and in to proton. The implementation is still synchronous.
* Revert "Introduce async write interface in the TLS."Henning Baldersheim2017-10-171-1/+1
|
* Introduce async write interface in the TLS.Henning Baldersheim2017-10-171-1/+1
| | | | | Wire it in all the way up and in to proton. The implementation is still synchronous.
* Block lid space compaction job when it has too many outstanding move operations.Geir Storli2017-07-031-40/+135
|
* Extend IFeedView::handleMove() with destructor callback to get a hook for ↵Geir Storli2017-07-031-5/+8
| | | | | | | when the move operation is done. This is in preparation for limiting the number of outstanding move operations that lid space compaction and bucket move jobs have.