summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/documentdb
Commit message (Collapse)AuthorAgeFilesLines
* Remove most of the now void clock indirection.Henning Baldersheim2023-12-153-4/+3
|
* Use shared executor for warmup and GC warmup executor.Henning Baldersheim2023-12-051-1/+1
|
* Merge pull request #29269 from ↵Geir Storli2023-11-074-43/+71
|\ | | | | | | | | vespa-engine/geirst/control-resource-usage-when-in-maintenance Control resource usage when node in maintenance
| * Also tune or turn off background jobs when content node is in maintenance.Geir Storli2023-11-073-15/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the following has been adjusted when the node is retired: 1) Lid space compaction - turned off. 2) Flush engine strategy - tuned to reduce disk and CPU usage. 3) Attribute vector compaction - tuned to reduce memory allocations and CPU usage. In a node retirement scenario documents are being removed from the node, and eventually the node is deleted. Without the adjustments above a lot of resources are spent "fixing" the results of removing documents, and the process just takes a lot longer. A similar set of challenges can occur when a node is set in maintenance, especially if the node transitions from retired to maintenance. E.g. this happens when the Vespa version is upgraded in Vespa Cloud. With this change the resource usage of background jobs are kept in check for both a retired node and a node in maintenance.
| * Rewrite to use GTest.Geir Storli2023-11-072-35/+26
| |
* | Test remove by gid for nonexisting gid and for gid with tombstone.Tor Egge2023-11-071-0/+3
|/
* Move `HwInfo` from `proton` namespace to `vespalib`Tor Brede Vekterli2023-11-014-2/+5
| | | | | This is information that is valuable to many different components, not just the search core internals.
* Merge pull request #29156 from ↵Geir Storli2023-10-312-5/+18
|\ | | | | | | | | vespa-engine/balder/test-document-refusing-to-move Test that a document that refuses to move is not moved.
| * Test that a document that refuses to move is not moved.Henning Baldersheim2023-10-302-5/+18
| |
* | Get attribute vector match settings from live config when starting proton.Tor Egge2023-10-301-4/+108
|/
* Test that documents failing move are detected and causes retry and eventual ↵Henning Baldersheim2023-10-303-6/+68
| | | | completition.
* BucketMove is 3 phased, startMove, createMoveOps, completeMove.Henning Baldersheim2023-10-303-5/+7
| | | | | | | First and last happens in master, while second happens in bucket executor. As feed might happen inbetween these phases, care must be taken to check that the state for a document is the same in complete as it was in first phase. If not the move must be retried.
* Update copyrightJon Bratseth2023-10-0952-52/+52
|
* Add test for disabling of cache in removed dbHenning Baldersheim2023-10-051-21/+46
|
* Add explorer for the attribute writer.Geir Storli2023-09-011-2/+5
| | | | This shows which attribute fields that are assigned to each executor id.
* Simplify IThreadingService as there only is one field writer executor.Geir Storli2023-08-312-17/+4
| | | | | Support for separate executors for "index invert", "index write", and "attribute write" was removed in 2022.
* Modernize C++ code.Geir Storli2023-08-292-4/+4
|
* Use std::filesystem::copy instead of vespalib::copyTor Egge2023-07-191-6/+1
|
* Reduce use of vespalib::unlink.Tor Egge2023-07-171-2/+2
|
* Export moved config definitions.Tor Egge2023-05-0911-11/+1
|
* Move ranking config to configdefinitions module.Tor Egge2023-05-093-7/+8
|
* Revert "Move ranking config to configdefinitions module"Harald Musum2023-05-083-8/+7
|
* Move ranking config to configdefinitions module.Tor Egge2023-05-083-7/+8
|
* Reduce creation of Document instances without DocumentTypeRepo.Geir Storli2023-03-131-2/+1
|
* avoid using fastos thread in searchcoreHåvard Pettersen2023-02-271-1/+0
| | | | also remove some left-behind includes
* stop using FastOS_ThreadIdHåvard Pettersen2023-02-221-8/+7
|
* Remove unused parameter in prepare_reconfig member functions.Tor Egge2023-02-092-4/+4
|
* Delay creation of AttributeCollectionSpec.Tor Egge2023-02-081-25/+31
|
* Prepare new attribute manager in prepare_reconfig.Tor Egge2023-02-072-7/+15
|
* Pass optional serial num to prepare reconfig.Tor Egge2023-02-072-4/+4
|
* Reapply make attribute collection spec serial num optional.Tor Egge2023-02-061-19/+33
| | | | | Pass reconfig serial num explicitly to various reconfigure member functions since it might not be available from attribute collection spec.
* Revert "Make attribute collection spec serial num optional. Pass reconfig"Henning Baldersheim2023-02-061-33/+19
|
* Make attribute collection spec serial num optional. Pass reconfigTor Egge2023-02-061-19/+33
| | | | | serial num explicitly to various reconfigure member functions since it might not be available from attribute collection spec.
* Drop ranking assets repo from SearchableDocSubDB.Tor Egge2023-02-031-4/+3
|
* Remove unused variable.Tor Egge2023-02-021-1/+0
|
* Add helper member function to fixture classes.Tor Egge2023-02-021-46/+60
|
* Add prepare_reconfig member function to FastAccessDocSubDBConfigurerTor Egge2023-02-021-13/+45
| | | | and SearchableDocSubDBConfigurer.
* Add proton::DocumentDB::prepare_reconfigTor Egge2023-02-021-1/+5
|
* Deinline large destructors and clean up some code based on clion hints.Henning Baldersheim2023-02-011-16/+14
|
* Remove redundant or pessimizing moves.Tor Egge2023-01-281-2/+2
|
* Propagate schema to summary manager.Tor Egge2023-01-251-1/+28
|
* Change from typedef to using in searchcore.Geir Storli2022-12-218-46/+46
|
* Remove stacksize from the thread pools and thread executors.Henning Baldersheim2022-12-209-10/+10
|
* There is only one the master executor available to the MaintenanceJobs.Henning Baldersheim2022-12-131-24/+5
| | | | Remove all traces suggesting otherwise.
* Move sessionmanager from documentdb to proton and use a ↵Henning Baldersheim2022-12-083-66/+7
| | | | SchedulerForwardExecutor to drive pruning instead of a maintenance job.
* GC unused session managerHenning Baldersheim2022-12-081-1/+0
|
* Add SessionManager in IDocumentDBOwner, but only use in mocks in tests for now.Henning Baldersheim2022-12-081-25/+10
|
* Wire SessionManager via IDocumentSubDBOwnerHenning Baldersheim2022-12-082-9/+12
|
* GC unused DocumentDBMaintenanceConfigHenning Baldersheim2022-12-071-2/+2
|
* Report transient resource usage for all attributes and document meta store.Geir Storli2022-12-061-0/+7
|