aboutsummaryrefslogtreecommitdiffstats
path: root/storageapi
Commit message (Collapse)AuthorAgeFilesLines
* Remove experimental enable-multiple-bucket-spaces flag.Geir Storli2018-11-233-22/+10
| | | | The feature has been default on since late May 2018.
* Remove BatchPutRemove command from storageapi.Tor Egge2018-09-2611-460/+0
|
* Remove BatchDocumentUpdateMessage and BatchDocumentUpdateReply fromTor Egge2018-09-256-104/+0
| | | | | | C++ portion of documentapi. Remove corresponding document api cross language files. Remove corresponding storageapi messages.
* Remove whitespaceHenning Baldersheim2018-08-129-16/+16
|
* Pass stringref by valueHenning Baldersheim2018-08-1110-17/+17
|
* Pass stringref by valueHenning Baldersheim2018-08-109-16/+16
|
* Add iostream printing of `LockingRequirements` enum valuesTor Brede Vekterli2018-07-162-0/+8
|
* Use shared locking for Get/CreateIterator/GetIter operationsTor Brede Vekterli2018-07-121-11/+15
|
* Add support for exclusive/shared persistence bucket lockingTor Brede Vekterli2018-07-122-0/+26
| | | | | | | | | | | | | Operations that are tagged as only requiring shared locking may run concurrently with other shared lock operations. Operations requiring exclusive locking (all mutations) can't run concurrently with any other operations, shared or not. Let operations be able to explicitly specify their locking requirements. Default is exclusive locking, which shall give the same behavior as before. Since this locking happens at a stripe granularity, it's vital that operations are routed deterministically to the correct stripe based on their bucket.
* 1 - Use a backing buffer for the DocumentUpdate that always is source of truth.Henning Baldersheim2018-06-122-4/+3
| | | | | | | | | | | 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.
* Merge branch 'master' into balder/reduce-code-visibility-rebasedHenning Baldersheim2018-06-121-1/+0
|\
| * clean up remnants of .mak filesArne Juul2018-06-111-1/+0
| |
* | Reduce code visibilityHenning Baldersheim2018-06-126-113/+85
|/
* Hide implementation details.Henning Baldersheim2018-05-311-2/+1
|
* Though shall never produce old format again, except from tests.Henning Baldersheim2018-05-311-47/+6
|
* Implicitly enable multiple bucket spaces in content backendTor Brede Vekterli2018-05-312-5/+5
| | | | | Config can still force new protocol version to be used even if version handshake indicates it should not be.
* GC some more unused codeHenning Baldersheim2018-05-301-147/+81
|
* Enable new storage api protocol serialization.Tor Egge2018-05-042-4/+2
|
* Set approx size of storage message based serialized size during decoding.Geir Storli2018-04-122-1/+21
|
* Style changes.Geir Storli2018-04-121-6/+9
|
* Rename getMemoryFootprint() -> getApproxByteSize() in StorageMessage and ↵Geir Storli2018-04-1210-40/+14
| | | | | | make it non-virtual. This is in preparation of using serialized size as approx size.
* Remove DocumentTypeRepo::UP typedef.Tor Egge2018-04-051-1/+0
| | | | Remove unneeded includes.
* Use forward declared DocumentTypeRepo.Tor Egge2018-04-042-2/+0
|
* Merge pull request #5455 from ↵Geir Storli2018-04-0413-15/+15
|\ | | | | | | | | vespa-engine/toregge/use-shared-ptr-to-const-document-type-repo Use shared pointer to const DocumentTypeRepo.
| * Stop using nested typedef for shared pointer to const DocumentTypeRepo.Tor Egge2018-04-0413-15/+15
| |
* | Update test and serialize bucket information.Henning Baldersheim2018-04-041-119/+46
| |
* | Use std::move and move constructors where benefiscal.Henning Baldersheim2018-04-031-12/+8
|/
* Default destructors.Henning Baldersheim2018-03-191-4/+0
|
* 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-1925-410/+48
| | | | | | | | Conflicts: storage/src/tests/persistence/filestorage/filestormanagertest.cpp storage/src/vespa/storage/persistence/persistencethread.cpp Fix merge conflict.
* Add storage::lib::ClusterStateBundle to storage::api::SetSystemStateCommand.Tor Egge2018-02-232-8/+19
|
* Don't suppress warnings if protocol version is version6_0.Tor Egge2018-02-141-2/+2
|
* Don't log warning when failing to encode non-default bucketspaceTor Egge2018-02-141-4/+16
| | | | for storage::api::RequestBucketInfoCommand.
* Handle rolling upgrade where some storage nodes use old storage api protocolTor Egge2018-02-081-0/+1
| | | | while some distributor nodes tracks multiple bucket spaces.
* Throw exception instead of failing assert when trying to serializeTor Egge2018-02-081-2/+11
| | | | non-default bucket space using old storage protocol.
* Reduce use of document::BucketSpace::placeHolder() in storageapiTor Egge2018-02-021-4/+6
| | | | protocol serialization and placeholder bucket resolver.
* Reduce use of BucketSpace::placeHolder().Tor Egge2018-01-111-1/+1
|
* Pass enable multiple bucket spaces flag to storage protocol.Tor Egge2018-01-101-4/+4
| | | | Use new serialization when multiple bucket spaces are enabled.
* Do not include the world.Henning Baldersheim2017-12-291-4/+2
|
* Remove memory manager component from content layerTor Brede Vekterli2017-12-041-6/+0
| | | | | | | | | | | | | | We already have resource utilization tracking in both MessageBus and the search core. The memory manager has never been auto-scaled based on the hardware present and adds a _lot_ of complexity without having any known instances where it has actually saved the day. Removing it also removes a mutex on the message hot path. If we need such functionality in the future, should design a lock-free solution. Cleanup
* Add protocol serialization version with encoding and decoding of bucket ↵Geir Storli2017-11-177-7/+157
| | | | | | space to almost all commands. This version is not yet activated by default, only in unit tests.
* Merge pull request #4167 from ↵Tor Brede Vekterli2017-11-165-60/+77
|\ | | | | | | | | vespa-engine/geirst/prepare-storageapi-protocol-serialization-for-new-version-with-bucket-space Geirst/prepare storageapi protocol serialization for new version with bucket space
| * Add API function to encode a bucket space.Geir Storli2017-11-165-0/+10
| |
| * Add API function to encode a bucket.Geir Storli2017-11-165-19/+27
| |
| * Add API function to decode a bucket space to reduce direct use of ↵Geir Storli2017-11-165-3/+11
| | | | | | | | placeholder bucket space.
| * Add API function to decode a bucket to reduce direct use of placeholder ↵Geir Storli2017-11-165-38/+29
| | | | | | | | bucket space.
* | Add getBucket() method to storage commands/replies that haveTor Egge2017-11-164-0/+14
|/ | | | | bucket space but no specific bucket id. Returns bucket with proper bucket space and unset (aka null) bucket id.
* Make document::BucketSpace a mandatory argument toTor Egge2017-10-251-0/+1
| | | | ServiceLayerComponent::getBucketDatabase().
* Revert "Revert "Use existing bucket space instead of placeholder value""Håkon Hallingstad2017-10-238-10/+32
|
* Revert "Use existing bucket space instead of placeholder value"Håkon Hallingstad2017-10-238-32/+10
|