summaryrefslogtreecommitdiffstats
path: root/storage/src/tests/visiting/visitortest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Reduce use of Identifiable for document::DatatTypeHenning Baldersheim2022-03-031-0/+1
|
* Make ConfigUri constructors explicit and use same context where possible in ↵Henning Baldersheim2022-02-201-1/+1
| | | | proton.
* Revert "Revert "Balder/refactor docentry""Henning Baldersheim2022-01-071-29/+28
|
* Revert "Balder/refactor docentry"Arnstein Ressem2022-01-071-28/+29
|
* Use enum class for the flags.Henning Baldersheim2022-01-061-26/+27
|
* Simplify by avoid both DocumentSize and PersistedDocumentSize. That is the same.Henning Baldersheim2022-01-061-5/+2
|
* Simplify DocEntry to get a clean interface with multiple implementations, ↵Henning Baldersheim2022-01-061-0/+1
| | | | | | instead of an mutant. Also add tests for the different variations a DocEntry can have.
* Update 2017 copyright notices.gjoranv2021-10-071-1/+1
|
* Gracefully abort outdated reindexing visitorsTor Brede Vekterli2020-12-141-11/+72
| | | | | | | | | | Instead of sending `REJECTED` when lock token does not match, send `TEST_AND_SET_CONDITION_FAILED` from distributors. The reindexing visitor will detect this and remap the failure code to `ABORTED` while simultaneously failing the backend visitor. `ABORTED` will be considered transient by the visiting client, allowing it to retry towards another distributor without the whole thing having to fail out.
* Remove loadmetrics indirection.Henning Baldersheim2020-11-261-2/+1
|
* As we have have now removed the expensive Route member we can further ↵Henning Baldersheim2020-11-261-1/+2
| | | | | | | | | | compact the message objects. - Compact StorageMessageAddress to 16 bytes by - using reference to cluster name. - Use small enums for protocol and node type. - Avoid having StorageMessage as separate allocation. - Avoid default values
* Use a std:.unique_ptr to make Trace a thin wrapper for TraceNode to make the ↵Henning Baldersheim2020-11-181-0/+1
| | | | happy path fast.
* No need to copy an empty object into another empty object.Henning Baldersheim2020-11-181-2/+2
|
* Use std::mutex/std::condition instead of vespalib::Monitor.Henning Baldersheim2020-10-141-6/+4
|
* Use vespalib::Lock -> std::mutexHenning Baldersheim2020-10-081-3/+1
|
* Remove the use and testing of legacy groupdoc/userdoc/orderdoc document ids.Henning Baldersheim2019-08-091-1/+1
|
* Convert storageserver and visiting tests from CppUnit to GTestTor Brede Vekterli2019-06-141-300/+218
|
* Adjust types in storage module.Tor Egge2019-03-141-3/+3
|
* Reduce use of system() in storage unit tests.Tor Egge2019-01-231-4/+6
|
* Remove deprecated iterators_per_bucket setting from stor-visitor.def.Tor Egge2019-01-211-40/+2
|
* Let CreateIterator inherit priority of parent visitorTor Brede Vekterli2018-10-051-1/+5
| | | | | Since CreateIterator now does more than just in-memory metadata work (i.e. it may hit the disk), it should not be given a fixed, very high priority.
* Hardcode visitor iterators per bucket to 1Tor Brede Vekterli2018-07-121-23/+18
| | | | | | | | | | We have an SPI iterate() invariant that states the provider shall never observe concurrent calls for the same iterator ID. If GetIter operations can operate in shared locking mode, this invariant will no longer hold if multiple GetIters for a single iterator ID can be pipelined in the queue. We therefore ignore the config entirely. This is not expected to cause any performance regressions in practice.
* Remove MultiOperationHenning Baldersheim2018-03-191-4/+2
| | | | | | | | Conflicts: storage/src/tests/persistence/filestorage/filestormanagertest.cpp storage/src/vespa/storage/persistence/persistencethread.cpp Fix merge conflict.
* Revert "Revert "Use existing bucket space instead of placeholder value""Håkon Hallingstad2017-10-231-1/+3
|
* Revert "Use existing bucket space instead of placeholder value"Håkon Hallingstad2017-10-231-3/+1
|
* Add bucket space to create visitor command.Tor Egge2017-10-231-1/+3
|
* Separate interface with a const getXXX for readonly and another getXXXSP ↵Henning Baldersheim2017-08-241-8/+4
| | | | when you really need the SP.
* Update copyright headersJon Bratseth2017-06-141-1/+1
|
* Revert "Update copyright headers"Jon Bratseth2017-06-141-1/+1
|
* Update copyright headersJon Bratseth2017-06-141-1/+1
|
* Revert "Copyright header"Jon Bratseth2017-06-131-1/+1
|
* Copyright headerJon Bratseth2017-06-131-1/+1
|
* Reduce exposure to config internals.Henning Baldersheim2017-06-081-0/+1
|
* - Optimize includes.Henning Baldersheim2017-04-251-10/+0
| | | | | - Move htmltable code to implementation file and add add override. - No virtual on override.
* Revert "Balder/enforce override 2"Arne H Juul2017-04-241-0/+10
|
* Including storage now builds fine with override enforcement.Henning Baldersheim2017-04-231-10/+0
|
* add override in storage testsArne H Juul2017-04-111-1/+1
|
* remove most usage of LinkedPtr from vespaHaavard2017-03-271-4/+4
|
* Ensure that we use unique directories.Henning Baldersheim2017-01-021-5/+7
|
* Update tests with explicitt includes.Henning Baldersheim2016-12-191-2/+2
|
* PublishJon Bratseth2016-06-151-0/+1023