aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/tests/persistence/common
Commit message (Collapse)AuthorAgeFilesLines
* - Reduce visibility of ClusterState and Distribution.Henning Baldersheim2021-02-191-0/+1
|
* Implement bucketexecutor interface and.Henning Baldersheim2021-01-192-0/+7
|
* Wire in HostInfo to FileStorManager.Tor Egge2021-01-181-1/+2
|
* Wire in skeleton for implementation of the BucketExecutor interface.Henning Baldersheim2021-01-171-22/+13
|
* Use forward declarations to reduce amount of included code.Henning Baldersheim2021-01-151-2/+0
|
* - Add an BucketExecutor interface taking a bucket and a BucketTask for ↵Henning Baldersheim2021-01-151-1/+0
| | | | | | | | | executing a task by the content layer. - Add method to register this interface. - Minor followups after PR review. - Avoid including the world when not necessary to avoid having to recompile everyting for the smallest unrelated change.
* Add interface for resource usage listener to spi.Tor Egge2021-01-152-0/+8
| | | | Propagate resource usage to service layer.
* As we have have now removed the expensive Route member we can further ↵Henning Baldersheim2020-11-261-1/+3
| | | | | | | | | | 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
* Remove load type from MergeStatus and Mergehandler.Henning Baldersheim2020-11-241-0/+1
|
* Remove load type from ContextHenning Baldersheim2020-11-242-7/+2
|
* Track parameter name in member function definition.Tor Egge2020-11-031-1/+1
|
* Change FileStorHandler into an interface that FileStorHandlerImpl implements.Geir Storli2020-10-161-3/+3
|
* Greatly simplify bucket DB persistence provider bootstrap procedureTor Brede Vekterli2020-10-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | The legacy bucket DB initialization logic was designed for the case where bucket information was spread across potentially millions of files residing on spinning rust drives. It was therefore async and running in parallel with client operations, adding much complexity in order to deal with a myriad of concurrency edge cases. Replace this with a very simple, synchronous init method that expects the provider to have the required information readily and cheaply available. This effectively removes the concept of a node's "initializing" state, moving directly from reported state Down to Up. Even though a node still technically starts up in Initializing state, we never end up reporting this to the Cluster Controller as the DB init completes before the RPC server stack is set up. Legacy bucket DB initializer code will be removed in a separate pass. Also simplify bucket DB interface contract for mutating iteration, indicating that it is done in an unspecified order.
* GC disk related code.Henning Baldersheim2020-10-151-3/+1
|
* Remove partitions from SPI.Tor Egge2020-10-143-14/+6
|
* Revert "Revert "Balder/use an actual fieldset repo""Henning Baldersheim2020-08-202-6/+5
|
* Revert "Balder/use an actual fieldset repo"Arnstein Ressem2020-08-192-5/+6
|
* Change api so that we can drop clone from the interface and prepare for ↵Henning Baldersheim2020-08-142-6/+5
| | | | using a true repo.
* Use named constants instead of strings sprinkled all over.Henning Baldersheim2020-08-041-2/+2
|
* Consolidate search for GTest.Tor Egge2020-07-071-1/+0
|
* Use find_package to find gtest library.Tor Egge2020-06-291-1/+2
|
* Remove unused clearResult method, and use std::lock_guardHenning Baldersheim2020-05-081-4/+1
|
* Use a lock to ensure it is thread safe.Henning Baldersheim2020-05-082-6/+18
|
* Add async update and followup on PR comments.Henning Baldersheim2020-05-052-5/+4
|
* - Add async interface to putHenning Baldersheim2020-04-292-6/+4
| | | | | - Use MessageTracker for keeping context. - implement putAsync, but still use it synchronously.
* Remove flush from provider interface.Henning Baldersheim2020-04-272-13/+2
|
* Use enum class for storage::spi::Result::ErrorType.Tor Egge2019-07-302-3/+3
|
* Convert remaining CppUnit tests to GTestTor Brede Vekterli2019-06-251-1/+0
| | | | | | Move base message sender stub out to common test module to avoid artificial dependency from persistence tests to the distributor tests.
* Convert persistence tests from CppUnit to GTestTor Brede Vekterli2019-06-123-16/+12
|
* Add tests of shared/exclusive persistence queue lockingTor Brede Vekterli2018-07-162-21/+16
|
* Use forward declared DocumentTypeRepo.Tor Egge2018-04-041-0/+1
|
* Order sources in CMakeLists.txt files.Geir Storli2017-11-021-1/+1
|
* Rename storage::spi::test::makeBucket to storage::spi::test::makeSpiBucket.Tor Egge2017-10-201-2/+2
|
* Move test function makeDocumentBucket to document module.Tor Egge2017-10-201-2/+2
|
* Take document::Bucket instead of document::BucketId as constructorTor Egge2017-10-171-3/+5
| | | | argument to storage commands that inherit from BucketCommand.
* Add BucketSpace parameter to listBuckets() and getModifiedBuckets() SPITor Egge2017-10-052-4/+4
| | | | methods.
* Use document::Bucket in storage::spi::Bucket to add bucket space.Tor Egge2017-10-041-1/+4
|
* Update copyright headersJon Bratseth2017-06-145-5/+5
|
* Revert "Update copyright headers"Jon Bratseth2017-06-145-5/+5
|
* Update copyright headersJon Bratseth2017-06-145-5/+5
|
* Revert "Copyright header"Jon Bratseth2017-06-135-5/+5
|
* Copyright headerJon Bratseth2017-06-135-5/+5
|
* Fix warnings hidden earlier due to including application headers as system ↵Henning Baldersheim2017-05-023-72/+40
| | | | includes
* Ensure that we use unique directories.Henning Baldersheim2017-01-021-5/+5
|
* Missing include in test files.Henning Baldersheim2016-11-242-2/+4
|
* Finished with the storage dependency mess cleanup.Arnstein Ressem2016-10-125-0/+639