aboutsummaryrefslogtreecommitdiffstats
path: root/storage
Commit message (Collapse)AuthorAgeFilesLines
...
* Wait for all started visitors to finishTor Brede Vekterli2018-06-011-14/+30
| | | | Also correct wrong expected number of busy bounces in test
* Revert "Ensure visitormanager tests clean up after themselves"Henning Baldersheim2018-05-311-113/+148
|
* Merge pull request #6035 from ↵Henning Baldersheim2018-05-311-148/+113
|\ | | | | | | | | vespa-engine/vekterli/ensure-visitormanager-tests-clean-up-after-themselves Ensure visitormanager tests clean up after themselves
| * Clean up some old codeTor Brede Vekterli2018-05-311-79/+44
| |
| * Clean up visitors that we've already initiatedTor Brede Vekterli2018-05-311-10/+37
| |
| * Simplify testsTor Brede Vekterli2018-05-311-45/+2
| |
| * Wait for all started visitors to finishTor Brede Vekterli2018-05-311-14/+30
| | | | | | | | Also correct wrong expected number of busy bounces in test
* | Implicitly enable multiple bucket spaces in content backendTor Brede Vekterli2018-05-311-7/+3
|/ | | | | Config can still force new protocol version to be used even if version handshake indicates it should not be.
* Remap missing bucket space for DocumentAPI Gets to "Not Found"Tor Brede Vekterli2018-05-303-9/+51
| | | | | | Lets legacy routing of Gets to all clusters successfully merge responses even if a recipient cluster does not have a valid mapping for the requested bucket space.
* Use fallthrough attributes.Tor Egge2018-05-271-2/+2
|
* Disperse bucket bits using FNV-1 prime when choosing thread stripeTor Brede Vekterli2018-05-231-1/+7
| | | | | This avoids an inherent affinity between the LSB of a bucket's bits and the stripe an operation ends up on.
* Catch by referenceHenning Baldersheim2018-05-111-2/+2
|
* Remove redundant typedefHenning Baldersheim2018-05-111-7/+1
|
* Ensure commands are processed before shutting down persistence threadsTor Brede Vekterli2018-04-272-24/+28
| | | | | | | Prevents race condition where test cleanup closes persistence threads while there are still enqueued operations. Normally the content layer shall ensure that all enqueued operations are aborted before reaching this step, but this does not take place in the simplified testing setup.
* Make test names less ambiguousTor Brede Vekterli2018-04-261-6/+6
|
* Don't be silly and deref an iterator after it has been erasedTor Brede Vekterli2018-04-261-1/+1
|
* Handle explicit node state response case without pending requestTor Brede Vekterli2018-04-263-19/+105
| | | | | | | | | | | | | Deals with the edge case where a node explicitly triggers a node state response to be sent (generally due to updated host info to the controller(s)) but where there is no pending request to immediately reply to. We now maintain state per controller which lets us infer whether it needs to immediately observe a reply when the next request is received for it. This avoids having to wait for an entire RPC timeout cycle before a response is sent to the controller. This feature is predominantly to avoid keeping nodes in the default bucket space in implicit maintenance mode for longer than is necessary when merges in the global space are completed.
* Make rpc target cache ttl configurable with a deafult lifted from 30s to 10 ↵Henning Baldersheim2018-04-182-2/+6
| | | | minutes.
* Remove no longer needed testHenning Baldersheim2018-04-161-25/+0
|
* Remove no longer needed hash normalizer.Henning Baldersheim2018-04-168-366/+5
|
* Remove strange temporary value pointer codeTor Brede Vekterli2018-04-132-14/+9
| | | | | | | Overriding unary & is potentially dangerous and the code does not give any justification for why it is done. Nor should it be necessary, since passing an rvalue as a const ref into the LoadMetric to be used as a template should suffice plenty.
* Tidy up some existing codeTor Brede Vekterli2018-04-132-27/+25
|
* Add request size metric for Put, Update, Remove and Get commandsTor Brede Vekterli2018-04-134-13/+138
| | | | Request size is approximated by the network payload size for the commands.
* Use 2 stripesHenning Baldersheim2018-04-121-3/+1
|
* Add and use getTotalHenning Baldersheim2018-04-111-1/+1
|
* Add back the original avgerage queue wait time metricHenning Baldersheim2018-04-103-5/+18
|
* Unsigned......Henning Baldersheim2018-04-101-1/+1
|
* Start with only a single stripe.Henning Baldersheim2018-04-101-1/+1
|
* Do not pregenerate a summary string from message that is 'never' needed.Henning Baldersheim2018-04-102-14/+17
|
* Move averargeQ time to Stripe.Henning Baldersheim2018-04-1010-60/+92
|
* Rename member to reflect sematic meaning of stripId, not threadIdHenning Baldersheim2018-04-092-5/+5
|
* Consistent parameter naming in definition and implementation.Henning Baldersheim2018-04-091-6/+6
|
* remove comment bringing now value to the tableHenning Baldersheim2018-04-091-5/+1
|
* Use stripeIdHenning Baldersheim2018-04-091-1/+1
|
* One thread per stripHenning Baldersheim2018-04-091-1/+1
|
* Remove assert that is invalid as threads are started upon constructionHenning Baldersheim2018-04-091-1/+0
|
* No need to const castHenning Baldersheim2018-04-091-2/+2
|
* Remove unused includes.Henning Baldersheim2018-04-092-6/+2
|
* Start with a single stripe for now.Henning Baldersheim2018-04-091-1/+1
|
* Stripe the operations on bucketid to provide for a more efficient thread ↵Henning Baldersheim2018-04-099-413/+552
| | | | handover.
* reformat.Henning Baldersheim2018-04-091-6/+3
|
* - Use std::make_Henning Baldersheim2018-04-092-231/+111
| | | | | - C+11 for loops - Use unique_ptr to shared_ptr built in assignment to avoid explicit release.
* Remove stor-devicesHenning Baldersheim2018-04-062-26/+1
|
* Remove DocumentTypeRepo::UP typedef.Tor Egge2018-04-052-2/+0
| | | | Remove unneeded includes.
* Use forward declared DocumentTypeRepo.Tor Egge2018-04-049-2/+7
|
* Merge pull request #5455 from ↵Geir Storli2018-04-0424-27/+27
|\ | | | | | | | | 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-0419-22/+22
| |
| * Use shared pointer to const DocumentTypeRepo.Tor Egge2018-04-045-5/+5
| |
* | Update test and serialize bucket information.Henning Baldersheim2018-04-043-143/+85
| |
* | Follow up on code review comments and move some shared_ptr'sHenning Baldersheim2018-04-0311-464/+201
| |