summaryrefslogtreecommitdiffstats
path: root/storage
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #6180 from vespa-engine/arnej/use-log-abortHenning Baldersheim2018-06-2112-17/+31
|\ | | | | use LOG_ABORT not just abort()
| * some more cleanupArne Juul2018-06-201-1/+0
| |
| * move LOG_SETUP after other includesArne Juul2018-06-204-7/+11
| |
| * add and use HDR_ABORT insteadArne Juul2018-06-204-9/+13
| |
| * Merge branch 'master' into arnej/use-log-abortArne Juul2018-06-2012-69/+74
| |\
| * | use LOG_ABORT not just abort()Arne Juul2018-06-1210-13/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * abort() has the unfortunate effect that nothing is seen in the log, just an event (which is usually not displayed); so ops people don't see that the program is crashing at all. * LOG_ABORT("message") will log an error with the message (and the file and line) before calling abort(), so it's easy to see what happened. * add or move <vespa/log/log.h> include and LOG_SETUP lines before LOG_ABORT is used (or included).
* | | Log config changes from Bouncer componentTor Brede Vekterli2018-06-205-13/+37
| |/ |/| | | | | | | Also change debug output to be Slime structure, since the encoded string does not seem to have had the intended semantics.
* | Merge pull request #6233 from ↵Geir Storli2018-06-191-26/+29
|\ \ | | | | | | | | | | | | vespa-engine/vekterli/debug-log-when-config-is-received-on-content-node Debug log when new config is received on content node
| * | Debug log when new config is received on content nodeTor Brede Vekterli2018-06-191-26/+29
| | |
* | | Use std::max, and do it on the correct place.Henning Baldersheim2018-06-151-1/+1
| | |
* | | Control threadpool and dispatch of encode/decode by config.Henning Baldersheim2018-06-152-4/+20
|/ /
* / 1 - Use a backing buffer for the DocumentUpdate that always is source of truth.Henning Baldersheim2018-06-129-39/+25
|/ | | | | | | | | | | 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-123-37/+13
|
* Merge branch 'master' into balder/reduce-code-visibility-rebasedHenning Baldersheim2018-06-122-8/+0
|\
| * clean up remnants of .mak filesArne Juul2018-06-112-8/+0
| |
* | Reduce code visibilityHenning Baldersheim2018-06-128-179/+90
|/
* Don't assume visitor threads immediately destroy visitorsTor Brede Vekterli2018-06-011-11/+7
|
* Clean up some old codeTor Brede Vekterli2018-06-011-79/+44
|
* Clean up visitors that we've already initiatedTor Brede Vekterli2018-06-011-10/+37
|
* Simplify testsTor Brede Vekterli2018-06-011-45/+2
|
* 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
|