Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove whitespace | Henning Baldersheim | 2018-08-12 | 9 | -16/+16 |
| | |||||
* | Pass stringref by value | Henning Baldersheim | 2018-08-11 | 10 | -17/+17 |
| | |||||
* | Pass stringref by value | Henning Baldersheim | 2018-08-10 | 9 | -16/+16 |
| | |||||
* | Add iostream printing of `LockingRequirements` enum values | Tor Brede Vekterli | 2018-07-16 | 2 | -0/+8 |
| | |||||
* | Use shared locking for Get/CreateIterator/GetIter operations | Tor Brede Vekterli | 2018-07-12 | 1 | -11/+15 |
| | |||||
* | Add support for exclusive/shared persistence bucket locking | Tor Brede Vekterli | 2018-07-12 | 2 | -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 Baldersheim | 2018-06-12 | 2 | -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-rebased | Henning Baldersheim | 2018-06-12 | 1 | -1/+0 |
|\ | |||||
| * | clean up remnants of .mak files | Arne Juul | 2018-06-11 | 1 | -1/+0 |
| | | |||||
* | | Reduce code visibility | Henning Baldersheim | 2018-06-12 | 6 | -113/+85 |
|/ | |||||
* | Hide implementation details. | Henning Baldersheim | 2018-05-31 | 1 | -2/+1 |
| | |||||
* | Though shall never produce old format again, except from tests. | Henning Baldersheim | 2018-05-31 | 1 | -47/+6 |
| | |||||
* | Implicitly enable multiple bucket spaces in content backend | Tor Brede Vekterli | 2018-05-31 | 2 | -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 code | Henning Baldersheim | 2018-05-30 | 1 | -147/+81 |
| | |||||
* | Enable new storage api protocol serialization. | Tor Egge | 2018-05-04 | 2 | -4/+2 |
| | |||||
* | Set approx size of storage message based serialized size during decoding. | Geir Storli | 2018-04-12 | 2 | -1/+21 |
| | |||||
* | Style changes. | Geir Storli | 2018-04-12 | 1 | -6/+9 |
| | |||||
* | Rename getMemoryFootprint() -> getApproxByteSize() in StorageMessage and ↵ | Geir Storli | 2018-04-12 | 10 | -40/+14 |
| | | | | | | make it non-virtual. This is in preparation of using serialized size as approx size. | ||||
* | Remove DocumentTypeRepo::UP typedef. | Tor Egge | 2018-04-05 | 1 | -1/+0 |
| | | | | Remove unneeded includes. | ||||
* | Use forward declared DocumentTypeRepo. | Tor Egge | 2018-04-04 | 2 | -2/+0 |
| | |||||
* | Merge pull request #5455 from ↵ | Geir Storli | 2018-04-04 | 13 | -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 Egge | 2018-04-04 | 13 | -15/+15 |
| | | |||||
* | | Update test and serialize bucket information. | Henning Baldersheim | 2018-04-04 | 1 | -119/+46 |
| | | |||||
* | | Use std::move and move constructors where benefiscal. | Henning Baldersheim | 2018-04-03 | 1 | -12/+8 |
|/ | |||||
* | Default destructors. | Henning Baldersheim | 2018-03-19 | 1 | -4/+0 |
| | |||||
* | Remove DocumentList with children... | Henning Baldersheim | 2018-03-19 | 1 | -1/+0 |
| | | | | | | | Conflicts: storage/src/tests/persistence/filestorage/filestormanagertest.cpp Resolve merge conflict. | ||||
* | Remove MultiOperation | Henning Baldersheim | 2018-03-19 | 25 | -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 Egge | 2018-02-23 | 2 | -8/+19 |
| | |||||
* | Don't suppress warnings if protocol version is version6_0. | Tor Egge | 2018-02-14 | 1 | -2/+2 |
| | |||||
* | Don't log warning when failing to encode non-default bucketspace | Tor Egge | 2018-02-14 | 1 | -4/+16 |
| | | | | for storage::api::RequestBucketInfoCommand. | ||||
* | Handle rolling upgrade where some storage nodes use old storage api protocol | Tor Egge | 2018-02-08 | 1 | -0/+1 |
| | | | | while some distributor nodes tracks multiple bucket spaces. | ||||
* | Throw exception instead of failing assert when trying to serialize | Tor Egge | 2018-02-08 | 1 | -2/+11 |
| | | | | non-default bucket space using old storage protocol. | ||||
* | Reduce use of document::BucketSpace::placeHolder() in storageapi | Tor Egge | 2018-02-02 | 1 | -4/+6 |
| | | | | protocol serialization and placeholder bucket resolver. | ||||
* | Reduce use of BucketSpace::placeHolder(). | Tor Egge | 2018-01-11 | 1 | -1/+1 |
| | |||||
* | Pass enable multiple bucket spaces flag to storage protocol. | Tor Egge | 2018-01-10 | 1 | -4/+4 |
| | | | | Use new serialization when multiple bucket spaces are enabled. | ||||
* | Do not include the world. | Henning Baldersheim | 2017-12-29 | 1 | -4/+2 |
| | |||||
* | Remove memory manager component from content layer | Tor Brede Vekterli | 2017-12-04 | 1 | -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 Storli | 2017-11-17 | 7 | -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 Vekterli | 2017-11-16 | 5 | -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 Storli | 2017-11-16 | 5 | -0/+10 |
| | | |||||
| * | Add API function to encode a bucket. | Geir Storli | 2017-11-16 | 5 | -19/+27 |
| | | |||||
| * | Add API function to decode a bucket space to reduce direct use of ↵ | Geir Storli | 2017-11-16 | 5 | -3/+11 |
| | | | | | | | | placeholder bucket space. | ||||
| * | Add API function to decode a bucket to reduce direct use of placeholder ↵ | Geir Storli | 2017-11-16 | 5 | -38/+29 |
| | | | | | | | | bucket space. | ||||
* | | Add getBucket() method to storage commands/replies that have | Tor Egge | 2017-11-16 | 4 | -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 to | Tor Egge | 2017-10-25 | 1 | -0/+1 |
| | | | | ServiceLayerComponent::getBucketDatabase(). | ||||
* | Revert "Revert "Use existing bucket space instead of placeholder value"" | Håkon Hallingstad | 2017-10-23 | 8 | -10/+32 |
| | |||||
* | Revert "Use existing bucket space instead of placeholder value" | Håkon Hallingstad | 2017-10-23 | 8 | -32/+10 |
| | |||||
* | Pass on bucket space from create visitor command to visitor. | Tor Egge | 2017-10-23 | 1 | -0/+1 |
| | |||||
* | Add bucket space to create visitor command. | Tor Egge | 2017-10-23 | 5 | -5/+12 |
| | |||||
* | Add bucket space to request bucket info command. | Tor Egge | 2017-10-23 | 4 | -5/+19 |
| |