summaryrefslogtreecommitdiffstats
path: root/storage/src/tests/distributor
Commit message (Collapse)AuthorAgeFilesLines
* 1 - Use a backing buffer for the DocumentUpdate that always is source of truth.Henning Baldersheim2018-06-123-4/+4
| | | | | | | | | | | 2 - Use this buffer for re-serialization. 3 - Make deserialization lazy where possible. Currently lazy on replay and when arriving over the storageapi. Still needs to eager over documentapi. 4 - Deserialize eagerly in the persistence thread since those are plentyfull and not bottlenecked, instead of in the single master thread. Use real repo.
* Last style changes before lazy documentupdate PR.Henning Baldersheim2018-06-122-35/+12
|
* Reduce code visibilityHenning Baldersheim2018-06-122-0/+2
|
* Remove redundant typedefHenning Baldersheim2018-05-111-7/+1
|
* Remove no longer needed hash normalizer.Henning Baldersheim2018-04-161-1/+0
|
* Use forward declared DocumentTypeRepo.Tor Egge2018-04-042-0/+2
|
* Merge pull request #5455 from ↵Geir Storli2018-04-047-7/+7
|\ | | | | | | | | vespa-engine/toregge/use-shared-ptr-to-const-document-type-repo Use shared pointer to const DocumentTypeRepo.
| * Stop using nested typedef for shared pointer to const DocumentTypeRepo.Tor Egge2018-04-047-7/+7
| |
* | Update test and serialize bucket information.Henning Baldersheim2018-04-041-57/+38
| |
* | Use std::move and move constructors where benefiscal.Henning Baldersheim2018-04-031-1/+0
| |
* | GC some includes.Henning Baldersheim2018-04-031-4/+1
|/
* Immediately send GetNodeState reply on "no more merges" pending edgeTor Brede Vekterli2018-03-193-9/+84
| | | | | | Lets the cluster controller update the derived bucket space states as quickly as possible when merges are done for the global space, without having to wait for the normal reply timeout period.
* Merge pull request #5373 from vespa-engine/balder/remove-multioperation-onlyTor Brede Vekterli2018-03-191-1/+0
|\ | | | | Balder/remove multioperation only
| * Remove MultiOperationHenning Baldersheim2018-03-191-1/+0
| | | | | | | | | | | | | | | | Conflicts: storage/src/tests/persistence/filestorage/filestormanagertest.cpp storage/src/vespa/storage/persistence/persistencethread.cpp Fix merge conflict.
* | Add total bucket counter to NodeMaintenanceStats.Tor Egge2018-03-162-17/+28
|/
* Immediately send GetNodeState replies when leaving recovery modeTor Brede Vekterli2018-03-141-1/+28
|
* 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-132-0/+39
| | | | | | | 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 LatencyStatisticsProvider and usage in PendingMessageTracker.Geir Storli2018-03-132-173/+0
|
* Remove never used per storage node ops latencies in host info.Geir Storli2018-03-131-86/+15
|
* Invalidate accumulated bucket space stats on recovery mode entryTor Brede Vekterli2018-03-091-0/+41
| | | | | | | 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.
* Enable cluster state bundle in distributor.Tor Egge2018-02-265-8/+9
|
* Use ClusterState from DistributorBucketSpace in PendingBucketSpaceDbTransition.Tor Egge2018-02-261-2/+7
|
* Simplify distributor state checkers unit test.Tor Egge2018-02-261-2/+1
|
* Use cluster state in distributor bucket space.Tor Egge2018-02-262-5/+4
|
* Simplify distributor unit tests.Tor Egge2018-02-2317-81/+77
|
* 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-211-0/+21
| | | | maintenance stats.
* Make NodeMaintenanceStatsTracker bucket space aware.Geir Storli2018-02-215-64/+110
|
* Align bucket spaces json format with what is expected by clustercontroller.Geir Storli2018-02-201-5/+5
|
* Merge pull request #5048 from ↵Tor Brede Vekterli2018-02-151-44/+126
|\ | | | | | | | | 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-151-44/+126
| |
* | Merge pull request #5041 from ↵Tor Egge2018-02-151-1/+1
|\ \ | | | | | | | | | | | | vespa-engine/toregge/always-enable-global-distributor-bucket-space Always enable global distributor bucket space
| * | Always enable global distributor bucket spaceTor Egge2018-02-141-1/+1
| | |
* | | 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
|/
* Test that bucket db updater fakes success when receiving encode error reply.Tor Egge2018-02-081-0/+25
|
* Reduce use of document::BucketSpace::placeHolder().Tor Egge2018-02-011-4/+6
|
* Log and increment failure metrics on concurrent mutation abortsTor Brede Vekterli2018-01-301-0/+12
| | | | | Greatly increases visibility for edge cases where multiple clients are sending many potentially conflicting operations to the same document set.
* Add bucket spaces to bucket DB status pagesTor Brede Vekterli2018-01-121-1/+3
|
* Let config enable global bucket space on startup for distributorTor Brede Vekterli2018-01-111-1/+1
|
* Do not include the world.Henning Baldersheim2017-12-295-22/+14
|
* Add configurable bucket resolver and fixed space repoTor Brede Vekterli2017-12-157-25/+25
| | | | | Make default (aka. placeholder) bucket space index 1, not 0. Bucket space index 0 is now considered an invalid space.
* Merge pull request #4126 from ↵Tor Brede Vekterli2017-12-072-5/+6
|\ | | | | | | | | vespa-engine/vekterli/move-to-flex-bison-parsing-for-document-selection-rebased Use new C++ document selection parser
| * Use new C++ document selection parserTor Brede Vekterli2017-11-142-5/+6
| | | | | | | | | | | | | | | | | | | | Based on Flex/Bison and replaces old Spirit.Classic parser. New parser is pure and does not require any locking, unlike the previous implementation. This also removes parsing of the deprecated searchcolumn feature. Adds build-time dependencies on Flex and Bison.
* | Remove DistributorBucketSpaceComponent.Tor Egge2017-11-175-0/+5
| |
* | Factor out common lines to defaultDistributorBucketSpace() method.Tor Egge2017-11-171-15/+7
| |
* | Stop using old API to get distribution and bucket db.Tor Egge2017-11-172-14/+26
| |