Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Follow clion advise and use, std::move, explicit and avoid instance to call ↵ | Henning Baldersheim | 19 hours | 1 | -17/+18 |
| | | | | static methods. | ||||
* | Remove most of the now void clock indirection. | Henning Baldersheim | 2023-12-15 | 1 | -1/+1 |
| | |||||
* | Also tune or turn off background jobs when content node is in maintenance. | Geir Storli | 2023-11-07 | 1 | -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 Vekterli | 2023-11-01 | 1 | -1/+2 |
| | | | | | This is information that is valuable to many different components, not just the search core internals. | ||||
* | Update copyright | Jon Bratseth | 2023-10-09 | 1 | -1/+1 |
| | |||||
* | Add test for disabling of cache in removed db | Henning Baldersheim | 2023-10-05 | 1 | -21/+46 |
| | |||||
* | Add explorer for the attribute writer. | Geir Storli | 2023-09-01 | 1 | -2/+5 |
| | | | | This shows which attribute fields that are assigned to each executor id. | ||||
* | Remove unused parameter in prepare_reconfig member functions. | Tor Egge | 2023-02-09 | 1 | -1/+1 |
| | |||||
* | Prepare new attribute manager in prepare_reconfig. | Tor Egge | 2023-02-07 | 1 | -0/+1 |
| | |||||
* | Pass optional serial num to prepare reconfig. | Tor Egge | 2023-02-07 | 1 | -1/+1 |
| | |||||
* | Add proton::DocumentDB::prepare_reconfig | Tor Egge | 2023-02-02 | 1 | -1/+5 |
| | |||||
* | Remove redundant or pessimizing moves. | Tor Egge | 2023-01-28 | 1 | -2/+2 |
| | |||||
* | Change from typedef to using in searchcore. | Geir Storli | 2022-12-21 | 1 | -23/+23 |
| | |||||
* | Remove stacksize from the thread pools and thread executors. | Henning Baldersheim | 2022-12-20 | 1 | -1/+1 |
| | |||||
* | Move sessionmanager from documentdb to proton and use a ↵ | Henning Baldersheim | 2022-12-08 | 1 | -0/+1 |
| | | | | SchedulerForwardExecutor to drive pruning instead of a maintenance job. | ||||
* | Wire SessionManager via IDocumentSubDBOwner | Henning Baldersheim | 2022-12-08 | 1 | -2/+8 |
| | |||||
* | Report transient resource usage for all attributes and document meta store. | Geir Storli | 2022-12-06 | 1 | -0/+7 |
| | |||||
* | Use search::test::SchemaBuilder in searchcore unit tests. | Tor Egge | 2022-10-21 | 1 | -25/+25 |
| | |||||
* | Rename search::index::EmptyDocBuilder to search::test::DocBuilder. | Tor Egge | 2022-10-13 | 1 | -4/+5 |
| | | | | Rename search::index::StringFieldBuilder to search::test::StringFieldBuilder. | ||||
* | Stop using search::index::DocBuilder in DocumentFieldPopulator unit | Tor Egge | 2022-10-11 | 1 | -15/+29 |
| | | | | test and document subdbs unit test. | ||||
* | Unify og getNumActiveDocs and hide some implementations. | Henning Baldersheim | 2022-09-09 | 1 | -0/+1 |
| | |||||
* | Remove most use of vespalib::rmdir in searchlib. | Tor Egge | 2022-06-02 | 1 | -1/+0 |
| | |||||
* | Move the AttributeSpec and hide the Config | Henning Baldersheim | 2022-05-26 | 1 | -3/+4 |
| | |||||
* | - Avoid using shared_ptr for simpe AllocConfig and ThreadingServiceConfig. | Henning Baldersheim | 2022-05-23 | 1 | -0/+1 |
| | | | | - Reduce exposure of DocumentDBConfig and DocumentDBConfigManager classes. | ||||
* | Make the attribute enum change interlock shared between all document dbs. | Geir Storli | 2022-03-17 | 1 | -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 Baldersheim | 2022-03-03 | 1 | -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 Baldersheim | 2022-02-23 | 1 | -14/+10 |
| | |||||
* | Revert "Revert "Revert "Use common tranport for TlsClient""" | Harald Musum | 2022-02-23 | 1 | -10/+14 |
| | |||||
* | Revert "Revert "Use common tranport for TlsClient"" | Henning Baldersheim | 2022-02-22 | 1 | -14/+10 |
| | |||||
* | Revert "Use common tranport for TlsClient" | Harald Musum | 2022-02-22 | 1 | -10/+14 |
| | |||||
* | - Use common tranport for TlsClient. | Henning Baldersheim | 2022-02-22 | 1 | -14/+10 |
| | | | | - Also refactor to simplify unit tests. | ||||
* | Add helper classes containg a FNET_Transport and a FastOS_ThreadPool to ↵ | Henning Baldersheim | 2022-02-21 | 1 | -10/+5 |
| | | | | reduce test boiler plate. | ||||
* | Use a common FNET_Transport owned by Proton in both SceduledExecutor and ↵ | Henning Baldersheim | 2022-02-20 | 1 | -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 Baldersheim | 2022-02-06 | 1 | -0/+1 |
| | |||||
* | Merge pull request #20412 from vespa-engine/balder/split-bloat-and-spread | Henning Baldersheim | 2021-12-08 | 1 | -8/+10 |
|\ | | | | | Separate spread and bloat | ||||
| * | Separate spread and bloat | Henning Baldersheim | 2021-12-08 | 1 | -8/+10 |
| | | |||||
* | | Move CompactionStrategy from searchcommon to vespalib. | Tor Egge | 2021-12-08 | 1 | -4/+5 |
|/ | |||||
* | track namespace move in documenttypes.def | Arne H Juul | 2021-12-02 | 1 | -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 Syncable | Henning Baldersheim | 2021-11-26 | 1 | -2/+1 |
| | |||||
* | Differentiate the levels of sync required. | Henning Baldersheim | 2021-11-22 | 1 | -3/+7 |
| | |||||
* | Get callback when setBucketStateCalculator has completed. | Henning Baldersheim | 2021-11-22 | 1 | -8/+10 |
| | |||||
* | sync_all_executor => shutdown | Henning Baldersheim | 2021-11-22 | 1 | -3/+2 |
| | |||||
* | Follow renaming | Henning Baldersheim | 2021-11-22 | 1 | -10/+10 |
| | |||||
* | GC some unused code and less sync_all_executors. | Henning Baldersheim | 2021-11-21 | 1 | -6/+13 |
| | |||||
* | GC some unused code and less sync_all_executors. | Henning Baldersheim | 2021-11-21 | 1 | -3/+1 |
| | |||||
* | GC unused numsearcher config. | Henning Baldersheim | 2021-11-20 | 1 | -18/+18 |
| | |||||
* | Do not inherit Syncable. sync -> sync_all_executors to make its call sites ↵ | Henning Baldersheim | 2021-11-16 | 1 | -5/+5 |
| | | | | more evident. | ||||
* | Add test that compaction config is reflected properly in document metastore ↵ | Henning Baldersheim | 2021-11-12 | 1 | -0/+31 |
| | | | | and attributes. | ||||
* | Test that up -> retired -> up is reflectd correctly in document subdbs. | Henning Baldersheim | 2021-11-12 | 1 | -1/+24 |
| | |||||
* | Update 2017 copyright notices. | gjoranv | 2021-10-07 | 1 | -1/+1 |
| |