aboutsummaryrefslogtreecommitdiffstats
path: root/storageapi/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Use find_package to find gtest library.Tor Egge2020-06-293-3/+6
|
* Propagate tombstone info through protocol serializationTor Brede Vekterli2020-05-261-0/+35
| | | | | | | For older versions that don't understand the explicit presence of tombstones for GetReply, make it appear as if the reply has simply returned a Not Found response. This makes behavior unchanged in an upgrade scenario.
* Reduce code duplication in test code.Tor Egge2020-03-301-12/+5
|
* Handle newer gtest versions where the legacy API is deprecated.Tor Egge2020-03-291-1/+7
|
* Add count metric for number of documents garbage collectedTor Brede Vekterli2020-02-241-1/+8
| | | | | | | | | | | | | | | New distributor metric available as: ``` vds.idealstate.garbage_collection.documents_removed ``` Add documents removed statistics to `RemoveLocation` responses, which is what GC is currently built around. Could technically have been implemented as a diff of before/after BucketInfo, but GC is very low priority so many other mutating ops may have changed the bucket document set in the time span between sending the GC ops and receiving the replies. This relates to issue #12139
* Add internal read consistency enum to storage protocol Get requestsTor Brede Vekterli2020-01-161-0/+22
|
* timeout as durationHenning Baldersheim2019-12-041-1/+1
| | | | | Conflicts: messagebus/src/vespa/messagebus/testlib/testserver.cpp
* Remove CppUnit dependencies in modulesTor Brede Vekterli2019-06-262-29/+1
| | | | Move test config helpers out of cppunit submodule.
* Ensure required response metadata is propagated to Reply instanceTor Brede Vekterli2019-04-241-1/+52
|
* Reapply protocol buffers for internal StorageAPI wire encodingTor Brede Vekterli2019-04-233-686/+412
|
* Revert "Use protocol buffers for internal StorageAPI wire encoding"Tor Brede Vekterli2019-04-123-412/+686
|
* Tag protocol switchover version as 7.40.5Tor Brede Vekterli2019-04-121-1/+1
|
* Address code review feedbackTor Brede Vekterli2019-04-101-5/+0
| | | | | | - don't state next tag in comments, we'll use `reserved` instead - restructure bucket info to version the checksum and not the info itself - add some comments
* Explicitly test response without bucket ID remappingTor Brede Vekterli2019-04-101-1/+12
|
* Extend testing of encoded/decoded fieldsTor Brede Vekterli2019-04-081-170/+103
|
* Remove old 5.0 code path that generated data no one usedTor Brede Vekterli2019-04-081-44/+2
|
* Faster protobuf serialization without `std::string` indirectionTor Brede Vekterli2019-04-051-0/+10
|
* Break up protobufs into multiple files to avoid single, massive generated .h/.ccTor Brede Vekterli2019-04-051-2/+28
|
* Implement SetBucketState, Create/DestroyVisitor and RemoveLocationTor Brede Vekterli2019-04-051-2/+0
|
* Add start of protobuf serialization protocol implementationTor Brede Vekterli2019-04-052-2/+16
|
* Make serialization tests version-parameterizableTor Brede Vekterli2019-04-051-58/+81
|
* Convert protocol serialization tests from CppUnit to GTestTor Brede Vekterli2019-04-053-506/+264
|
* stop using python script for cppunit testsArne Juul2019-03-261-3/+1
|
* Add '()' to macro definition.Geir Storli2019-03-011-1/+1
|
* Simplify.Geir Storli2019-03-011-1/+0
|
* Reduce code duplication in gtest runners.Geir Storli2019-02-221-8/+2
|
* Add gtest runner in storageapi and migrate bucketinfotest from CppUnit to gtest.Geir Storli2019-02-185-27/+47
|
* Remove experimental enable-multiple-bucket-spaces flag.Geir Storli2018-11-231-1/+1
| | | | The feature has been default on since late May 2018.
* Remove BatchPutRemove command from storageapi.Tor Egge2018-09-261-52/+0
|
* 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.
* Enable new storage api protocol serialization.Tor Egge2018-05-041-2/+1
|
* Set approx size of storage message based serialized size during decoding.Geir Storli2018-04-121-0/+16
|
* Remove DocumentTypeRepo::UP typedef.Tor Egge2018-04-051-1/+0
| | | | Remove unneeded includes.
* Remove MultiOperationHenning Baldersheim2018-03-192-31/+0
| | | | | | | | Conflicts: storage/src/tests/persistence/filestorage/filestormanagertest.cpp storage/src/vespa/storage/persistence/persistencethread.cpp Fix merge conflict.
* Add protocol serialization version with encoding and decoding of bucket ↵Geir Storli2017-11-171-1/+50
| | | | | | space to almost all commands. This version is not yet activated by default, only in unit tests.
* Revert "Revert "Use existing bucket space instead of placeholder value""Håkon Hallingstad2017-10-231-2/+5
|
* Revert "Use existing bucket space instead of placeholder value"Håkon Hallingstad2017-10-231-5/+2
|
* Add bucket space to create visitor command.Tor Egge2017-10-231-1/+1
|
* Add bucket space to request bucket info command.Tor Egge2017-10-231-1/+4
|
* Move test function makeDocumentBucket to document module.Tor Egge2017-10-201-9/+2
|
* Take document::Bucket instead of document::BucketId as constructorTor Egge2017-10-171-31/+56
| | | | argument to storage commands that inherit from BucketCommand.
* Removed unused parameters.Henning Baldersheim2017-07-311-8/+4
|
* Remove DocumentTypeRepo from interfaces where it is not needed.Henning Baldersheim2017-07-311-5/+3
|
* Update copyright headersJon Bratseth2017-06-147-7/+7
|
* Revert "Update copyright headers"Jon Bratseth2017-06-147-7/+7
|
* Update copyright headersJon Bratseth2017-06-147-7/+7
|
* Revert "Copyright header"Jon Bratseth2017-06-137-7/+7
|
* Copyright headerJon Bratseth2017-06-137-7/+7
|
* - No virtual on override.Henning Baldersheim2017-04-252-13/+11
| | | | - Optimize includes.
* Revert "Balder/enforce override 2"Arne H Juul2017-04-242-11/+13
|