Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement BucketExecutor::sync. | Henning Baldersheim | 2021-02-01 | 2 | -23/+22 |
| | |||||
* | Include exception where needed and use std:.make_unique | Henning Baldersheim | 2021-01-18 | 1 | -3/+1 |
| | |||||
* | GC unused code and remove comment. | Henning Baldersheim | 2021-01-18 | 1 | -1/+0 |
| | |||||
* | Improve readability. | Henning Baldersheim | 2021-01-18 | 1 | -208/+73 |
| | |||||
* | GC unused hasSingleBucketId method. | Henning Baldersheim | 2021-01-18 | 3 | -7/+4 |
| | |||||
* | Remove storageframework dependency not needed. | Henning Baldersheim | 2021-01-18 | 1 | -1/+0 |
| | |||||
* | Merge pull request #15502 from vespa-engine/balder/inline-and-move-returncode | Henning Baldersheim | 2020-11-27 | 8 | -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 Baldersheim | 2020-11-27 | 8 | -43/+31 |
| | | |||||
* | | Use explicit on the right places. | Henning Baldersheim | 2020-11-27 | 2 | -2/+2 |
| | | |||||
* | | GC LoadType and PriorityMapper. | Henning Baldersheim | 2020-11-27 | 5 | -15/+3 |
| | | |||||
* | | GC LoadTypeSet | Henning Baldersheim | 2020-11-27 | 12 | -67/+34 |
|/ | |||||
* | Add noexcept | Henning Baldersheim | 2020-11-26 | 2 | -49/+49 |
| | |||||
* | Comment removed | Henning Baldersheim | 2020-11-26 | 1 | -1/+1 |
| | |||||
* | Use correct storage cluster name. | Henning Baldersheim | 2020-11-26 | 1 | -1/+1 |
| | |||||
* | As we have have now removed the expensive Route member we can further ↵ | Henning Baldersheim | 2020-11-26 | 5 | -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 Baldersheim | 2020-11-25 | 4 | -33/+28 |
|\ | | | | | | | | | vespa-engine/geirst/simplify-storage-message-address Simplify storage message address | ||||
| * | Simplify hash calculation. | Geir Storli | 2020-11-25 | 1 | -7/+2 |
| | | |||||
| * | Create the mbus::Route on demand instead of storing it inside ↵ | Geir Storli | 2020-11-25 | 4 | -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 Egge | 2020-11-25 | 1 | -4/+4 |
| | | |||||
* | | Just return default constructed object. | Henning Baldersheim | 2020-11-25 | 1 | -4/+4 |
| | | |||||
* | | Track size of frequently used objects. | Henning Baldersheim | 2020-11-24 | 1 | -0/+4 |
| | | |||||
* | | Move the error description to a separate allocation as it is rarely used. | Henning Baldersheim | 2020-11-24 | 5 | -30/+67 |
|/ | | | | This reduces the size of frequently used objects. | ||||
* | Remove load type from StorageMessage | Henning Baldersheim | 2020-11-24 | 6 | -25/+39 |
| | |||||
* | Remove load type from MergeStatus and Mergehandler. | Henning Baldersheim | 2020-11-24 | 1 | -1/+1 |
| | |||||
* | - Reorder members for compactness. | Henning Baldersheim | 2020-11-23 | 2 | -8/+4 |
| | | | | | - Avoid needing the definition of Error everywhere. - use std::make_xxx and other c++11 constructs. | ||||
* | Avoid having mutating methods const. | Henning Baldersheim | 2020-11-23 | 1 | -3/+3 |
| | |||||
* | Steal the traces explicit and force moving of traces. Also hide access to ↵ | Henning Baldersheim | 2020-11-23 | 1 | -2/+3 |
| | | | | the root. | ||||
* | Only copy tracelevel. | Henning Baldersheim | 2020-11-23 | 3 | -8/+2 |
| | |||||
* | Use a std:.unique_ptr to make Trace a thin wrapper for TraceNode to make the ↵ | Henning Baldersheim | 2020-11-18 | 1 | -2/+2 |
| | | | | happy path fast. | ||||
* | Explicit copy construction of Trace. | Henning Baldersheim | 2020-11-18 | 3 | -4/+6 |
| | |||||
* | No need to copy an empty object into another empty object. | Henning Baldersheim | 2020-11-18 | 2 | -2/+10 |
| | |||||
* | Reorder members for smaller memory footprint. | Henning Baldersheim | 2020-11-18 | 5 | -23/+28 |
| | |||||
* | - Honour max merge chunk size in one place. | Henning Baldersheim | 2020-10-26 | 5 | -21/+11 |
| | | | | - GC incomplete enable_merge_local_node_choose_docs_optimalization handling. | ||||
* | GC unused _maxBufferSize data member from ApplyBucketDiffReply | Henning Baldersheim | 2020-10-26 | 3 | -8/+3 |
| | |||||
* | - Add class comments. | Henning Baldersheim | 2020-10-19 | 2 | -10/+5 |
| | | | | | | - Reduce code visibility. - Clean up some unused members. - Some code unification. | ||||
* | Move join handling together with split handling. | Henning Baldersheim | 2020-10-18 | 3 | -18/+14 |
| | |||||
* | Simplify. | Henning Baldersheim | 2020-10-12 | 1 | -1/+1 |
| | |||||
* | No need for BucketInfo to be virtual just to make it printable. | Henning Baldersheim | 2020-10-12 | 4 | -39/+34 |
| | |||||
* | - GC the last usages of vespalib::Lock. | Henning Baldersheim | 2020-10-08 | 1 | -1/+0 |
| | | | | - Now it is only vespalib::Monitor left | ||||
* | Add noexcept as indicated by -Wnoeexcept | Henning Baldersheim | 2020-10-07 | 5 | -27/+25 |
| | |||||
* | Gracefully handle RPC header/payload decode failures | Tor Brede Vekterli | 2020-09-30 | 1 | -0/+4 |
| | |||||
* | Merge pull request #14524 from ↵ | Tor Brede Vekterli | 2020-09-24 | 11 | -6/+120 |
|\ | | | | | | | | | vespa-engine/vekterli/add-statbucket-storage-protocol-serialization-support Add StatBucket storage protocol (de-)serialization support | ||||
| * | Add StatBucket storage protocol (de-)serialization support | Tor Brede Vekterli | 2020-09-24 | 11 | -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 cheaper | Tor Brede Vekterli | 2020-09-23 | 1 | -1/+1 |
|/ | | | | Node index and type are much more likely to differ than cluster. | ||||
* | Avoid address stringification in common lookup path | Tor Brede Vekterli | 2020-09-22 | 4 | -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 updates | Tor Brede Vekterli | 2020-09-14 | 1 | -2/+3 |
| | |||||
* | Basic functionality for direct RPC for StorageAPI communication | Tor Brede Vekterli | 2020-09-14 | 3 | -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 Baldersheim | 2020-08-27 | 2 | -0/+13 |
| | | | | - Inline small frequently called methods. | ||||
* | Consolidate suppress warnings for protobuf sources. | Tor Egge | 2020-08-18 | 1 | -5/+2 |
| | |||||
* | Restore include of ostream in storageapi. | Tor Egge | 2020-08-17 | 1 | -0/+1 |
| |