summaryrefslogtreecommitdiffstats
path: root/storage
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5320 from ↵Geir Storli2018-03-133-3/+42
|\ | | | | | | | | vespa-engine/vekterli/ensure-missing-replicas-have-different-checksum-group-from-empty-replicas Missing replicas must be in a different checksum group than empty replicas
| * Use more appropriate node indices in testTor Brede Vekterli2018-03-131-3/+3
| |
| * Missing replicas must be in a different checksum group than empty replicasTor Brede Vekterli2018-03-133-3/+42
| | | | | | | | | | | | | | Otherwise we risk merges with more than 16 nodes being scheduled for only the empty replicas and not actually include the missing replica nodes. This fixes #5313
* | Remove unused reporters from host info (cpu, disk, memory, network).Geir Storli2018-03-1317-586/+6
|/
* Merge pull request #5308 from ↵Geir Storli2018-03-138-9/+42
|\ | | | | | | | | vespa-engine/toregge/add-clusterstate-to-content-bucket-space Add cluster state to content bucket space.
| * Use deducted template arguments.Tor Egge2018-03-131-4/+4
| |
| * Add cluster state to content bucket space.Tor Egge2018-03-138-7/+40
| |
* | Remove LatencyStatisticsProvider and usage in PendingMessageTracker.Geir Storli2018-03-138-375/+1
| |
* | Remove never used per storage node ops latencies in host info.Geir Storli2018-03-134-118/+19
|/
* Rename function to better match member variable it updatesTor Brede Vekterli2018-03-092-3/+3
|
* Must take mutex when updating bucket space statisticsTor Brede Vekterli2018-03-091-0/+1
|
* Invalidate accumulated bucket space stats on recovery mode entryTor Brede Vekterli2018-03-094-3/+85
| | | | | | | Recovery mode is entered whenever a cluster state or distribution config change is detected. Invalidating the bucket space stats ensures that the distributor does not report stale statistics from a previous cluster state version to the cluster controller.
* Factor out common code into new method to print xml tag forTor Egge2018-03-072-18/+23
| | | | pending or delayed single bucket requests.
* Report delayed bucket requests.Tor Egge2018-03-071-0/+14
|
* Must explicitly handle setdistributionstates method on reply processingTor Brede Vekterli2018-03-061-1/+1
| | | | | | | Otherwise ends up sending unexpected return values to the cluster controller, which silently fails during response processing. End result is continuous transmission of cluster states, as the controller does not understand that the state has been ACKed by the node.
* Remove unneeded include only used for debuggingTor Brede Vekterli2018-03-061-2/+0
|
* Add handling of v3 setDistributionStates RPC from cluster controllerTor Brede Vekterli2018-03-0612-29/+500
| | | | | ClusterStateBundle is populated with derived states, but these are not yet exposed via the bucket space getter function.
* Revert "Add cluster state RPC v3 support on content nodes"Tor Brede Vekterli2018-03-0612-498/+29
|
* Remove unneeded include only used for debuggingTor Brede Vekterli2018-03-051-2/+0
|
* Add handling of v3 setDistributionStates RPC from cluster controllerTor Brede Vekterli2018-03-0512-29/+500
| | | | | ClusterStateBundle is populated with derived states, but these are not yet exposed via the bucket space getter function.
* Pass whole cluster state bundle to _newClusterStateBundle inTor Egge2018-02-261-1/+1
| | | | PendingClusterState.
* Enable cluster state bundle in distributor.Tor Egge2018-02-2619-96/+109
|
* Use ClusterState from DistributorBucketSpace in PendingBucketSpaceDbTransition.Tor Egge2018-02-262-3/+8
|
* Simplify distributor state checkers unit test.Tor Egge2018-02-261-2/+1
|
* Use cluster state in distributor bucket space.Tor Egge2018-02-2612-23/+23
|
* Populate cluster state in distributor bucket space.Tor Egge2018-02-264-7/+34
|
* Simplify distributor unit tests.Tor Egge2018-02-2317-81/+77
|
* Add storage::lib::ClusterStateBundle to storage::api::SetSystemStateCommand.Tor Egge2018-02-231-1/+1
|
* Move ClusterStateBundle to vdslib, allowing it to be used outsideTor Egge2018-02-2217-81/+20
| | | | storage module.
* Make ClusterStateBundle constructor explicit.Tor Egge2018-02-221-1/+1
|
* Add cluster state bundle which contains a baseline cluster state andTor Egge2018-02-2217-53/+151
| | | | (later) a derived cluster state for each bucket space.
* Rename function for clarity.Geir Storli2018-02-221-4/+4
|
* Produce per node bucket spaces stats from the distributor based on node ↵Geir Storli2018-02-214-6/+60
| | | | maintenance stats.
* Make NodeMaintenanceStatsTracker bucket space aware.Geir Storli2018-02-219-87/+155
|
* Align bucket spaces json format with what is expected by clustercontroller.Geir Storli2018-02-202-7/+9
|
* 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.