aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Follow clion advise and use, std::move, explicit and avoid instance to call ↵Henning Baldersheim19 hours1-17/+18
| | | | static methods.
* Remove most of the now void clock indirection.Henning Baldersheim2023-12-151-1/+1
|
* Also tune or turn off background jobs when content node is in maintenance.Geir Storli2023-11-071-5/+10
| | | | | | | | | | | | | | | | | | 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.
* Move `HwInfo` from `proton` namespace to `vespalib`Tor Brede Vekterli2023-11-011-1/+2
| | | | | This is information that is valuable to many different components, not just the search core internals.
* Update copyrightJon Bratseth2023-10-091-1/+1
|
* 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.
* Remove unused parameter in prepare_reconfig member functions.Tor Egge2023-02-091-1/+1
|
* Prepare new attribute manager in prepare_reconfig.Tor Egge2023-02-071-0/+1
|
* Pass optional serial num to prepare reconfig.Tor Egge2023-02-071-1/+1
|
* Add proton::DocumentDB::prepare_reconfigTor Egge2023-02-021-1/+5
|
* Remove redundant or pessimizing moves.Tor Egge2023-01-281-2/+2
|
* Change from typedef to using in searchcore.Geir Storli2022-12-211-23/+23
|
* Remove stacksize from the thread pools and thread executors.Henning Baldersheim2022-12-201-1/+1
|
* Move sessionmanager from documentdb to proton and use a ↵Henning Baldersheim2022-12-081-0/+1
| | | | SchedulerForwardExecutor to drive pruning instead of a maintenance job.
* Wire SessionManager via IDocumentSubDBOwnerHenning Baldersheim2022-12-081-2/+8
|
* Report transient resource usage for all attributes and document meta store.Geir Storli2022-12-061-0/+7
|
* Use search::test::SchemaBuilder in searchcore unit tests.Tor Egge2022-10-211-25/+25
|
* Rename search::index::EmptyDocBuilder to search::test::DocBuilder.Tor Egge2022-10-131-4/+5
| | | | Rename search::index::StringFieldBuilder to search::test::StringFieldBuilder.
* Stop using search::index::DocBuilder in DocumentFieldPopulator unitTor Egge2022-10-111-15/+29
| | | | test and document subdbs unit test.
* Unify og getNumActiveDocs and hide some implementations.Henning Baldersheim2022-09-091-0/+1
|
* Remove most use of vespalib::rmdir in searchlib.Tor Egge2022-06-021-1/+0
|
* Move the AttributeSpec and hide the ConfigHenning Baldersheim2022-05-261-3/+4
|
* - Avoid using shared_ptr for simpe AllocConfig and ThreadingServiceConfig.Henning Baldersheim2022-05-231-0/+1
| | | | - Reduce exposure of DocumentDBConfig and DocumentDBConfigManager classes.
* Make the attribute enum change interlock shared between all document dbs.Geir Storli2022-03-171-10/+11
| | | | This is to avoid a potential deadlock when using imported attributes in parent/child.
* Let the InvocationService drive the clock instead of having its own ticking ↵Henning Baldersheim2022-03-031-4/+5
| | | | | | | loop. Also use sleep_until to get intervals indendant of invoke cost as long as cost is within interval. This also also saves a clock sample and simplifies implementation.
* Revert "Revert "Revert "Revert "Use common tranport for TlsClient""""Henning Baldersheim2022-02-231-14/+10
|
* Revert "Revert "Revert "Use common tranport for TlsClient"""Harald Musum2022-02-231-10/+14
|
* Revert "Revert "Use common tranport for TlsClient""Henning Baldersheim2022-02-221-14/+10
|
* Revert "Use common tranport for TlsClient"Harald Musum2022-02-221-10/+14
|
* - Use common tranport for TlsClient.Henning Baldersheim2022-02-221-14/+10
| | | | - Also refactor to simplify unit tests.
* Add helper classes containg a FNET_Transport and a FastOS_ThreadPool to ↵Henning Baldersheim2022-02-211-10/+5
| | | | reduce test boiler plate.
* Use a common FNET_Transport owned by Proton in both SceduledExecutor and ↵Henning Baldersheim2022-02-201-13/+21
| | | | | | | | | | TransactionLogServer. This reduces the number of Transport object by 1 per document type and netto 1 in Proton. Each of them contains 2 threads. In addition it uses a common Transport for the RpcFileAcquirer objects used during config fetching. This prevents creating 3 temporary Transport objects on every reconfig.
* Reduce code visibility and include only what you need from config library.Henning Baldersheim2022-02-061-0/+1
|
* Merge pull request #20412 from vespa-engine/balder/split-bloat-and-spreadHenning Baldersheim2021-12-081-8/+10
|\ | | | | Separate spread and bloat
| * Separate spread and bloatHenning Baldersheim2021-12-081-8/+10
| |
* | Move CompactionStrategy from searchcommon to vespalib.Tor Egge2021-12-081-4/+5
|/
* track namespace move in documenttypes.defArne H Juul2021-12-021-1/+1
| | | | | | | * For C++ code this introduces a "document::config" namespace, which will sometimes conflict with the global "config" namespace. * Move all forward-declarations of the types DocumenttypesConfig and DocumenttypesConfigBuilder to a common header file.
* Remove the need for SyncableHenning Baldersheim2021-11-261-2/+1
|
* Differentiate the levels of sync required.Henning Baldersheim2021-11-221-3/+7
|
* Get callback when setBucketStateCalculator has completed.Henning Baldersheim2021-11-221-8/+10
|
* sync_all_executor => shutdownHenning Baldersheim2021-11-221-3/+2
|
* Follow renamingHenning Baldersheim2021-11-221-10/+10
|
* GC some unused code and less sync_all_executors.Henning Baldersheim2021-11-211-6/+13
|
* GC some unused code and less sync_all_executors.Henning Baldersheim2021-11-211-3/+1
|
* GC unused numsearcher config.Henning Baldersheim2021-11-201-18/+18
|
* Do not inherit Syncable. sync -> sync_all_executors to make its call sites ↵Henning Baldersheim2021-11-161-5/+5
| | | | more evident.
* Add test that compaction config is reflected properly in document metastore ↵Henning Baldersheim2021-11-121-0/+31
| | | | and attributes.
* Test that up -> retired -> up is reflectd correctly in document subdbs.Henning Baldersheim2021-11-121-1/+24
|
* Update 2017 copyright notices.gjoranv2021-10-071-1/+1
|