summaryrefslogtreecommitdiffstats
path: root/storage
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5048 from ↵Tor Brede Vekterli2018-02-156-65/+234
|\ | | | | | | | | vespa-engine/geirst/bucket-spaces-stats-in-distributor-host-info Report bucket spaces statistics in distributor host info.
| * Report bucket spaces statistics in distributor host info.Geir Storli2018-02-156-65/+234
| |
* | Merge pull request #5041 from ↵Tor Egge2018-02-154-11/+7
|\ \ | | | | | | | | | | | | vespa-engine/toregge/always-enable-global-distributor-bucket-space Always enable global distributor bucket space
| * | Always enable global distributor bucket spaceTor Egge2018-02-144-11/+7
| | |
* | | Add messageCount() method to help calculate number of expected messages.Tor Egge2018-02-141-41/+45
|/ /
* | Fix comment.Tor Egge2018-02-141-1/+1
| |
* | Repair auto-indent damage caused by confused text editor.Tor Egge2018-02-141-4/+4
| |
* | Adjust distributor unit tests to handle global distributor bucket space.Tor Egge2018-02-145-256/+347
|/
* Adjust unit tests to expect global content bucket space.Tor Egge2018-02-122-4/+18
|
* Always enable global content bucket space.Tor Egge2018-02-124-18/+3
|
* Style fix.Tor Egge2018-02-081-1/+1
|
* Test that bucket db updater fakes success when receiving encode error reply.Tor Egge2018-02-081-0/+25
|
* Handle rolling upgrade where some storage nodes use old storage api protocolTor Egge2018-02-081-1/+6
| | | | while some distributor nodes tracks multiple bucket spaces.
* Merge pull request #4928 from ↵Geir Storli2018-02-062-9/+23
|\ | | | | | | | | vespa-engine/geirst/fix-mapping-of-legacy-document-ids-to-bucket-space Fix such that legacy document ids without document type maps to defau…
| * Fix such that legacy document ids without document type maps to default ↵Geir Storli2018-02-062-9/+23
| | | | | | | | bucket space.
* | Metric manager must be initialized too, not only metric engine.Henning Baldersheim2018-02-051-1/+3
|/
* Reduce use of document::BucketSpace::placeHolder() in storageapiTor Egge2018-02-021-4/+5
| | | | protocol serialization and placeholder bucket resolver.
* Merge pull request #4882 from ↵Geir Storli2018-02-0215-55/+55
|\ | | | | | | | | vespa-engine/toregge/move-fixed-bucketspaces-to-document-module Move FixedBucketSpaces to document module.
| * Move FixedBucketSpaces to document module.Tor Egge2018-02-0115-55/+55
| |
* | Merge pull request #4875 from ↵Geir Storli2018-02-025-28/+6
|\ \ | |/ |/| | | | | vespa-engine/toregge/reduce-use-of-document-bucketspace-placholder Reduce use of document::BucketSpace::placeHolder().
| * Reduce use of document::BucketSpace::placeHolder().Tor Egge2018-02-015-28/+6
| |
* | Remove conditional enabling of protocol feature in favor of versionTor Brede Vekterli2018-02-011-4/+2
| | | | | | | | | | Cannot selectively enable for DocumentProtocol since bucket space config only applies per-cluster, while the protocol is application-global.
* | Selectively enable multiple bucket spaces in C++ document protocolTor Brede Vekterli2018-02-011-3/+6
|/
* Avoid hard coded string literal for default bucket space.Tor Egge2018-01-311-1/+1
|
* Change placeholder bucket resolver to not return empty string asTor Egge2018-01-311-2/+3
| | | | bucket space name.
* Merge pull request #4837 from ↵Geir Storli2018-01-316-9/+11
|\ | | | | | | | | vespa-engine/toregge/reduce-use-of-bucketspace-placeholder Reduce use of document::BucketSpace::placeHolder().
| * Reduce use of document::BucketSpace::placeHolder().Tor Egge2018-01-316-9/+11
| |
* | Merge pull request #4822 from ↵Tor Brede Vekterli2018-01-315-24/+38
|\ \ | | | | | | | | | | | | vespa-engine/vekterli/log-and-increment-failure-metrics-on-concurrent-mutation-aborts Log and increment failure metrics on concurrent mutation aborts
| * | Log and increment failure metrics on concurrent mutation abortsTor Brede Vekterli2018-01-305-24/+38
| | | | | | | | | | | | | | | Greatly increases visibility for edge cases where multiple clients are sending many potentially conflicting operations to the same document set.
* | | Move the shared_ptr into the Q and if necessary take the copy cost outside ↵Henning Baldersheim2018-01-303-17/+17
| |/ |/| | | | | of the lock.
* | Revert "Geirst/add bucket space to document api"Harald Musum2018-01-301-3/+2
| |
* | Merge pull request #4812 from ↵Geir Storli2018-01-301-2/+3
|\ \ | |/ |/| | | | | vespa-engine/geirst/add-bucket-space-to-document-api Geirst/add bucket space to document api
| * Remove conditional enabling of protocol feature in favor of versionTor Brede Vekterli2018-01-291-4/+2
| | | | | | | | | | Cannot selectively enable for DocumentProtocol since bucket space config only applies per-cluster, while the protocol is application-global.
| * Selectively enable multiple bucket spaces in C++ document protocolTor Brede Vekterli2018-01-291-3/+6
| |
* | Use a non-transient error code for clock skew rejectionsTor Brede Vekterli2018-01-303-7/+7
| | | | | | | | | | | | Using REJECTED instead of ABORTED fails the message all the way out to the caller immediately instead of hiding the (likely not automatically fixed) problems behind retries and timeouts.
* | Use FIFO for incoming messages instead of a priority queueTor Brede Vekterli2018-01-303-78/+20
|/ | | | | | | | | | | | Priority ordering in the CommunicationManager inherently runs the risk of reordering differently prioritized client operations before they reach the "timestamps are strictly increasing" check further down the message chain. We already have priority queues for the persistence and visitor processing threads, so not likely to be any real benefit in having one in the communication manager as well. This should address the edge case where differently prioritized feed may cause transient out of sync issues due to timestamp-bounced operations.
* Add bouncer metric set and clock skew abort metricTor Brede Vekterli2018-01-196-5/+53
|
* Log warning when aborting operation due to clock skewTor Brede Vekterli2018-01-191-2/+6
| | | | | Improves visibility into clock/NTP-related problems. Logs distributor index to make it easier to identify the skewing node(s).
* Merge pull request #4646 from ↵Geir Storli2018-01-151-1/+1
|\ | | | | | | | | vespa-engine/vekterli/count-each-bucket-space-for-listing-during-db-init Count each bucket space for listing during bucket DB init
| * Count each bucket space for listing during bucket DB initTor Brede Vekterli2018-01-121-1/+1
| |
* | Merge pull request #4641 from ↵Geir Storli2018-01-151-0/+5
|\ \ | | | | | | | | | | | | vespa-engine/vekterli/propagate-bootstrap-config-to-communicationmanager Propagate bucket space bootstrap config to CommunicationManager
| * | Propagate bucket space bootstrap config to CommunicationManagerTor Brede Vekterli2018-01-121-0/+5
| |/ | | | | | | Only propagating live configs fails to deliver the bootstrap config.
* / Add bucket spaces to bucket DB status pagesTor Brede Vekterli2018-01-124-14/+34
|/
* Remove outdated bucket space assertionTor Brede Vekterli2018-01-111-1/+0
|
* Merge pull request #4620 from ↵Geir Storli2018-01-1115-77/+135
|\ | | | | | | | | vespa-engine/vekterli/wire-global-distribution-config-transforms-to-repos Wire global distribution config transforms to repos
| * Simplify bucket spaces reconfig by using component enable-flagTor Brede Vekterli2018-01-112-7/+1
| |
| * Let config enable global bucket space on startup for distributorTor Brede Vekterli2018-01-114-18/+18
| |
| * Let config enable global bucket space on startup for content nodeTor Brede Vekterli2018-01-117-25/+65
| |
| * Add utility function for transforming lib::Distribution instances to globalTor Brede Vekterli2018-01-113-28/+52
| |
* | Reduce use of BucketSpace::placeHolder().Tor Egge2018-01-111-1/+1
|/