aboutsummaryrefslogtreecommitdiffstats
path: root/storageapi
Commit message (Collapse)AuthorAgeFilesLines
* Dispatch RequestBucketInfoReply for non-existing buckets to correct ↵Geir Storli2021-06-162-1/+11
| | | | distributor stripe.
* Dispatch get and visitor messages to correct distributor stripe.Geir Storli2021-06-032-0/+14
|
* Initial implementation and wiring of cross-stripe state and DB handlingTor Brede Vekterli2021-04-212-4/+9
| | | | | | | | | | | | | | Introduces the concept of stripe access guards, that ensure safe and non-concurrent access to the underlying state of all running distributor stripes. Also bring back a top-level `BucketDBUpdater` component responsible for managing cluster state/distribution config and all related bucket info fetching for the entire node as a whole. This component abstracts away all stripe-specific operations via the new guard interface. For now, only a single stripe can be used via the new code path, and by default the legacy code path (single stripe acts as an entire distirbutor) is used. New path may be enabled via (non-live) config, but is not yet production ready.
* - Change error handling so that both synchonous and asynchronous errors can ↵Henning Baldersheim2021-02-231-2/+2
| | | | | | | | be reported back from bucket executor. - Treat remapping as an error. - For lidspace compaction job iterator is reset and will be recreated on next invocation. - For bucketmove th ebucket is rechecked and either discarded or restarted.
* - Reduce visibility of ClusterState and Distribution.Henning Baldersheim2021-02-195-1/+7
|
* use size literals in storageArne Juul2021-02-151-1/+2
|
* Add noexcept and some other minor code health.Henning Baldersheim2021-02-022-23/+22
|
* Revert "Properly track execution of BucketTasks and provide sync() and ↵Henning Baldersheim2021-02-022-22/+23
| | | | order… "
* Properly track execution of BucketTasks and provide sync() and orderly shutdown.Henning Baldersheim2021-02-022-23/+22
|
* Revert "Implement BucketExecutor::sync."Henning Baldersheim2021-02-022-22/+23
|
* Implement BucketExecutor::sync.Henning Baldersheim2021-02-012-23/+22
|
* Include exception where needed and use std:.make_uniqueHenning Baldersheim2021-01-181-3/+1
|
* GC unused code and remove comment.Henning Baldersheim2021-01-181-1/+0
|
* Improve readability.Henning Baldersheim2021-01-181-208/+73
|
* GC unused hasSingleBucketId method.Henning Baldersheim2021-01-183-7/+4
|
* Remove storageframework dependency not needed.Henning Baldersheim2021-01-181-1/+0
|
* 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
|