summaryrefslogtreecommitdiffstats
path: root/documentapi/src/tests/policies
Commit message (Collapse)AuthorAgeFilesLines
* Improve thread safety of MessageBus ContentPolicyTor Brede Vekterli2023-10-171-5/+5
| | | | | | | | | Updates of distribution config and cached cluster state are now both thread safe. Move to `shared_ptr` to allow for taking immutable strong refs. Also remove pointless two-phased config switch-over in favor of directly updating value inside lock.
* Update copyrightJon Bratseth2023-10-094-4/+4
|
* Reduce creation of Document instances without DocumentTypeRepo.Geir Storli2023-03-131-9/+12
|
* - Use T && f() && to avoid moving temporaries.Henning Baldersheim2023-02-031-2/+2
| | | | - std::make_unique/make_shared
* - Deinline destructor.Henning Baldersheim2023-02-012-84/+75
| | | | | | - Move instead of copy = > noexcept move construtors. - make_unique/make_shared. - c++11 for loops
* deinline destructors.Henning Baldersheim2023-02-011-2/+2
|
* Change from typedef to using in documentapi C++ code.Geir Storli2022-12-211-1/+1
|
* Make load balancer thread safe.Henning Baldersheim2022-06-301-4/+2
|
* Reduce visibility of document::DocumentHenning Baldersheim2022-03-071-1/+1
|
* Ensure that internal state of ExternSlobrokPolicy and ExternPolicy is ↵Henning Baldersheim2022-02-231-4/+3
| | | | consistent with respect to transport, supervisor, and mirror.
* more descriptive name for header fileArne H Juul2021-12-021-1/+1
|
* track namespace move in documenttypes.defArne H Juul2021-12-021-0/+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.
* Update 2017 copyright notices.gjoranv2021-10-074-4/+4
|
* Use vespalib::duration for timeoutsHenning Baldersheim2021-01-311-1/+1
|
* Revert "Revert "Jonmv/remove storage policy""Jon Marius Venstad2021-01-051-24/+24
| | | | This reverts commit 75b2e4c11ea6463c335f1c77dab3fdb5493e5600.
* Revert "Jonmv/remove storage policy"Jon Marius Venstad2021-01-051-24/+24
|
* Merge storagepolicy into contentpolicyJon Marius Venstad2020-12-301-24/+24
|
* GC LoadTypeSetHenning Baldersheim2020-11-273-20/+16
|
* Remove disk distribution from C++ part of vdslib.Tor Egge2020-11-051-6/+1
|
* Use named constants instead of strings sprinkled all over.Henning Baldersheim2020-08-041-4/+4
|
* Merge branch 'master' into ↵Henning Baldersheim2019-12-052-3/+5
|\ | | | | | | balder/use-duration-in-messagebus-and-storageapi-rebased-1
| * FastOS_THread::Sleep -> std::chrono::sleep_forHenning Baldersheim2019-12-042-3/+5
| | | | | | | | | | Renamed Timer -> ScheduledExecutor. Do not include thread.h when not needed in header files.
* | timeout as durationHenning Baldersheim2019-12-042-27/+29
|/ | | | | Conflicts: messagebus/src/vespa/messagebus/testlib/testserver.cpp
* Use timeouts typed with unit.Henning Baldersheim2019-11-201-2/+4
|
* Update routing config instead of expected result.Henning Baldersheim2019-08-161-2/+2
|
* Update testsHenning Baldersheim2019-08-161-3/+3
|
* doc: -> id:Henning Baldersheim2019-08-161-27/+27
|
* Remove the use and testing of legacy groupdoc/userdoc/orderdoc document ids.Henning Baldersheim2019-08-091-28/+0
|
* Eliminate clang warnings in documentapiTor Egge2019-02-081-1/+1
|
* Narrow down routing of Document API GetDocument messages.Tor Egge2018-11-011-0/+34
|
* Remove the costly and unnecessary setSlobrokId interface.Henning Baldersheim2018-10-042-57/+28
|
* Use forward declaration of document::DocumentUpdate.Tor Egge2018-09-251-0/+1
|
* 1 - Use a backing buffer for the DocumentUpdate that always is source of truth.Henning Baldersheim2018-06-121-2/+2
| | | | | | | | | | | 2 - Use this buffer for re-serialization. 3 - Make deserialization lazy where possible. Currently lazy on replay and when arriving over the storageapi. Still needs to eager over documentapi. 4 - Deserialize eagerly in the persistence thread since those are plentyfull and not bottlenecked, instead of in the single master thread. Use real repo.
* Remove unused systemstateHenning Baldersheim2018-04-162-14/+0
|
* Use shared pointer to const DocumentTypeRepo.Tor Egge2018-04-043-5/+5
|
* Recreate object that was moved awayHenning Baldersheim2018-03-191-0/+1
|
* Remove DocumentList with children...Henning Baldersheim2018-03-191-1/+0
| | | | | | | Conflicts: storage/src/tests/persistence/filestorage/filestormanagertest.cpp Resolve merge conflict.
* Remove MultiOperationHenning Baldersheim2018-03-191-23/+0
| | | | | | | | Conflicts: storage/src/tests/persistence/filestorage/filestormanagertest.cpp storage/src/vespa/storage/persistence/persistencethread.cpp Fix merge conflict.
* Route document removes only to the recipient(s) handling the document type ↵Geir Storli2018-02-131-0/+60
| | | | | | (as given in the document id). For legacy document ids (without document type) we still use all the routes.
* Merge branch 'master' into balder/remove-searchxxxpolicyHenning Baldersheim2017-10-171-1/+1
|\
| * Remove some java OSS stuff too.Henning Baldersheim2017-10-161-2/+1
| |
| * Remove OSS from c++Henning Baldersheim2017-10-161-34/+30
| |
* | Remove unused codeHenning Baldersheim2017-10-171-46/+0
| |
* | Remove SERVICE_OOS from c++Henning Baldersheim2017-10-171-260/+71
| |
* | Remove some java OSS stuff too.Henning Baldersheim2017-10-171-2/+1
| |
* | Remove OSS from c++Henning Baldersheim2017-10-171-34/+30
|/
* Moved databuffer and compresssion to vespalibHenning Baldersheim2017-08-281-0/+1
|
* Move shared_ptrs when possible.Henning Baldersheim2017-08-241-1/+1
|
* No SP for getProtocolHenning Baldersheim2017-07-251-1/+1
|
* Update copyright headersJon Bratseth2017-06-144-4/+4
|