summaryrefslogtreecommitdiffstats
path: root/storageapi
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #15502 from vespa-engine/balder/inline-and-move-returncodeHenning Baldersheim2020-11-278-43/+31
|\ | | | | Inline some small constructors and also prefer moving the return code.
| * Inline some small constructors and also prefer moving the return code.Henning Baldersheim2020-11-278-43/+31
| |
* | Use explicit on the right places.Henning Baldersheim2020-11-272-2/+2
| |
* | GC LoadType and PriorityMapper.Henning Baldersheim2020-11-275-15/+3
| |
* | GC LoadTypeSetHenning Baldersheim2020-11-2712-67/+34
|/
* Add noexceptHenning Baldersheim2020-11-262-49/+49
|
* Comment removedHenning Baldersheim2020-11-261-1/+1
|
* Use correct storage cluster name.Henning Baldersheim2020-11-261-1/+1
|
* As we have have now removed the expensive Route member we can further ↵Henning Baldersheim2020-11-265-97/+78
| | | | | | | | | | 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
* Merge pull request #15466 from ↵Henning Baldersheim2020-11-254-33/+28
|\ | | | | | | | | vespa-engine/geirst/simplify-storage-message-address Simplify storage message address
| * Simplify hash calculation.Geir Storli2020-11-251-7/+2
| |
| * Create the mbus::Route on demand instead of storing it inside ↵Geir Storli2020-11-254-33/+33
| | | | | | | | | | | | StorageMessageAddress. Creating and deleting the route is expensive and not used with RPC for Storage API communication.
* | Handle different size of std::string.Tor Egge2020-11-251-4/+4
| |
* | Just return default constructed object.Henning Baldersheim2020-11-251-4/+4
| |
* | Track size of frequently used objects.Henning Baldersheim2020-11-241-0/+4
| |
* | Move the error description to a separate allocation as it is rarely used.Henning Baldersheim2020-11-245-30/+67
|/ | | | This reduces the size of frequently used objects.
* Remove load type from StorageMessageHenning Baldersheim2020-11-246-25/+39
|
* Remove load type from MergeStatus and Mergehandler.Henning Baldersheim2020-11-241-1/+1
|
* - Reorder members for compactness.Henning Baldersheim2020-11-232-8/+4
| | | | | - Avoid needing the definition of Error everywhere. - use std::make_xxx and other c++11 constructs.
* Avoid having mutating methods const.Henning Baldersheim2020-11-231-3/+3
|
* Steal the traces explicit and force moving of traces. Also hide access to ↵Henning Baldersheim2020-11-231-2/+3
| | | | the root.
* Only copy tracelevel.Henning Baldersheim2020-11-233-8/+2
|
* Use a std:.unique_ptr to make Trace a thin wrapper for TraceNode to make the ↵Henning Baldersheim2020-11-181-2/+2
| | | | happy path fast.
* Explicit copy construction of Trace.Henning Baldersheim2020-11-183-4/+6
|
* No need to copy an empty object into another empty object.Henning Baldersheim2020-11-182-2/+10
|
* Reorder members for smaller memory footprint.Henning Baldersheim2020-11-185-23/+28
|
* - Honour max merge chunk size in one place.Henning Baldersheim2020-10-265-21/+11
| | | | - GC incomplete enable_merge_local_node_choose_docs_optimalization handling.
* GC unused _maxBufferSize data member from ApplyBucketDiffReplyHenning Baldersheim2020-10-263-8/+3
|
* - Add class comments.Henning Baldersheim2020-10-192-10/+5
| | | | | | - Reduce code visibility. - Clean up some unused members. - Some code unification.
* Move join handling together with split handling.Henning Baldersheim2020-10-183-18/+14
|
* Simplify.Henning Baldersheim2020-10-121-1/+1
|
* No need for BucketInfo to be virtual just to make it printable.Henning Baldersheim2020-10-124-39/+34
|
* - GC the last usages of vespalib::Lock.Henning Baldersheim2020-10-081-1/+0
| | | | - Now it is only vespalib::Monitor left
* Add noexcept as indicated by -WnoeexceptHenning Baldersheim2020-10-075-27/+25
|
* Gracefully handle RPC header/payload decode failuresTor Brede Vekterli2020-09-301-0/+4
|
* Merge pull request #14524 from ↵Tor Brede Vekterli2020-09-2411-6/+120
|\ | | | | | | | | vespa-engine/vekterli/add-statbucket-storage-protocol-serialization-support Add StatBucket storage protocol (de-)serialization support
| * Add StatBucket storage protocol (de-)serialization supportTor Brede Vekterli2020-09-2411-6/+120
| | | | | | | | | | | | | | Adds both protobuf schema and type ID handling to protocol codec. Old protocol versions are not expected to handle this message, as StatBucket will run over the Document protocol instead of the Storage protocol in such cases.
* | Reorder equality checks so that common case is cheaperTor Brede Vekterli2020-09-231-1/+1
|/ | | | Node index and type are much more likely to differ than cluster.
* Avoid address stringification in common lookup pathTor Brede Vekterli2020-09-224-11/+68
| | | | | | | | Precompute internal address hash over <cluster, type, index> tuple. No other fields are included in the hash, as this is only used for storage API lookups. Remove automatic resending field from address, as we never use MBus resending functionality in the backend communication protocols.
* Add thread-safe encapsulation of protocol codec and live dependency updatesTor Brede Vekterli2020-09-141-2/+3
|
* Basic functionality for direct RPC for StorageAPI communicationTor Brede Vekterli2020-09-143-15/+16
| | | | | | | | This has several advantages: * Completely bypasses all MessageBus indirections * Explicit setup of RPC thread pool * Direct dispatch from RPC thread to persistence queue pool * Better control of encoding/decoding and buffer usage
* - If document type has been resolved, use if for test-and-set too.Henning Baldersheim2020-08-272-0/+13
| | | | - Inline small frequently called methods.
* Consolidate suppress warnings for protobuf sources.Tor Egge2020-08-181-5/+2
|
* Restore include of ostream in storageapi.Tor Egge2020-08-171-0/+1
|
* Use named constants instead of strings sprinkled all over.Henning Baldersheim2020-08-042-7/+10
|
* false != trueHenning Baldersheim2020-07-081-1/+1
|
* Remove non-semantic changes prior to using a sequenced threadpool in mbus.Henning Baldersheim2020-07-081-0/+2
|
* Consolidate search for GTest.Tor Egge2020-07-073-3/+0
|
* avoid naked exitArne Juul2020-07-031-1/+1
|
* Use find_package to find gtest library.Tor Egge2020-06-293-3/+6
|