Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add async update and followup on PR comments. | Henning Baldersheim | 2020-05-05 | 6 | -72/+79 | |
| | ||||||
* | Only generate reply if it is a command. | Henning Baldersheim | 2020-05-04 | 1 | -7/+9 | |
| | ||||||
* | Implement async put | Henning Baldersheim | 2020-05-04 | 20 | -201/+394 | |
| | | | | Implement async remove. | |||||
* | Merge branch 'master' into ↵ | Henning Baldersheim | 2020-05-04 | 20 | -325/+161 | |
|\ | | | | | | | | | | | | | vekterli/remove-deprecated-bucket-disk-move-functionality Conflicts: storage/src/tests/persistence/diskmoveoperationhandlertest.cpp | |||||
| * | Revert "- Implement async put" | Harald Musum | 2020-05-04 | 21 | -326/+162 | |
| | | ||||||
* | | Remove deprecated bucket cross-disk move functionality | Tor Brede Vekterli | 2020-05-04 | 35 | -1919/+15 | |
|/ | | | | | The notion of multiple disks hasn't been supported since we removed VDS, and likely won't be in the future either. | |||||
* | Merge pull request #13146 from vespa-engine/balder/implement-async-put-4 | Henning Baldersheim | 2020-05-04 | 21 | -162/+326 | |
|\ | | | | | - Implement async put | |||||
| * | Ensure that eval order might cause object to disappear under your feet by ↵ | Henning Baldersheim | 2020-05-04 | 1 | -9/+10 | |
| | | | | | | | | taking an reference when it is safe. | |||||
| * | - Implement async put | Henning Baldersheim | 2020-05-04 | 21 | -157/+320 | |
| | | | | | | | | | | | | - Move result processing to MessageTracker - Wire putAsync through provider error wrapper too. - Handle both sync and async replies in tests. | |||||
* | | Fix forward declaration of PersistenceUtil. | Tor Egge | 2020-05-04 | 1 | -1/+1 | |
|/ | ||||||
* | Rename namespace search::btree to vespalib::btree. | Tor Egge | 2020-05-04 | 2 | -8/+8 | |
| | | | | Rename namespace search::datastore to vespalib::datastore. | |||||
* | Remove RepairBucketCommand | Tor Brede Vekterli | 2020-04-30 | 5 | -150/+0 | |
| | ||||||
* | Remove deprecated BucketIntegrityChecker | Tor Brede Vekterli | 2020-04-30 | 11 | -1132/+0 | |
| | | | | Not in use after VDS was removed. | |||||
* | Add class comments and resolve PR comments. | Henning Baldersheim | 2020-04-30 | 1 | -6/+4 | |
| | ||||||
* | Move error checking to tracker. | Henning Baldersheim | 2020-04-29 | 4 | -27/+27 | |
| | ||||||
* | - Add async interface to put | Henning Baldersheim | 2020-04-29 | 22 | -441/+403 | |
| | | | | | - Use MessageTracker for keeping context. - implement putAsync, but still use it synchronously. | |||||
* | Use rvalue qualifier | Henning Baldersheim | 2020-04-28 | 4 | -8/+8 | |
| | ||||||
* | getReplySP => stealReplySP | Henning Baldersheim | 2020-04-28 | 4 | -8/+8 | |
| | ||||||
* | Implement hasReply avoid copying the shared_ptr just to peak at the result. | Henning Baldersheim | 2020-04-28 | 8 | -70/+64 | |
| | ||||||
* | Merge pull request #13084 from ↵ | Tor Brede Vekterli | 2020-04-28 | 3 | -49/+146 | |
|\ | | | | | | | | | vespa-engine/vekterli/optimize-btree-find-parents-with-fix Optimize B-tree bucket DB lookup with used-bits aggregation | |||||
| * | Optimize B-tree bucket DB lookup with used-bits aggregation | Tor Brede Vekterli | 2020-04-27 | 3 | -49/+146 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By tracking the minimum used bits count across all buckets in the database we can immediately start seeking at that implicit level in the tree, as we know no parent buckets can exist above that level. Local synthetic benchmarking shows the following results with a DB size of 917504 buckets and performing getParents for all buckets in sequence: Before optimization: - B-tree DB: 0.593321 seconds - Legacy DB: 0.227947 seconds After optimization: - B-tree DB: 0.191971 seconds - Legacy DB: (unchanged) | |||||
* | | Remove flush from provider interface. | Henning Baldersheim | 2020-04-27 | 9 | -85/+10 | |
| | | ||||||
* | | Update comments, and don't copy the shared ptr when not necessary. | Henning Baldersheim | 2020-04-27 | 3 | -9/+10 | |
| | | ||||||
* | | Remove batching of messages that has no effect in favor of making async ↵ | Henning Baldersheim | 2020-04-27 | 8 | -265/+8 | |
| | | | | | | | | operations easier to implement. | |||||
* | | Update comments to reflect reality. | Henning Baldersheim | 2020-04-27 | 1 | -3/+1 | |
| | | ||||||
* | | Prepare for making persistence layer async. | Henning Baldersheim | 2020-04-26 | 6 | -102/+103 | |
|/ | | | | Avoid state in the thread. | |||||
* | Revert "Optimize B-tree bucket DB lookup with used-bits aggregation" | Tor Brede Vekterli | 2020-04-25 | 3 | -79/+12 | |
| | ||||||
* | Optimize B-tree bucket DB lookup with used-bits aggregation | Tor Brede Vekterli | 2020-04-24 | 3 | -12/+79 | |
| | | | | | | | | | | | | | | | | | | | By tracking the minimum used bits count across all buckets in the database we can immediately start seeking at that implicit level in the tree, as we know no parent buckets can exist above that level. Local synthetic benchmarking shows the following results with a DB size of 917504 buckets and performing getParents for all buckets in sequence: Before optimization: - B-tree DB: 0.593321 seconds - Legacy DB: 0.227947 seconds After optimization: - B-tree DB: 0.213738 seconds - Legacy DB: (unchanged) | |||||
* | Merge pull request #13025 from ↵ | Tor Brede Vekterli | 2020-04-23 | 1 | -1/+1 | |
|\ | | | | | | | | | vespa-engine/toregge/relax-judy-array-test-null-pointer-output-check Some libraries print "0x0" for a null void ptr | |||||
| * | Some libraries print "0x0" for a null void ptr, | Tor Egge | 2020-04-22 | 1 | -1/+1 | |
| | | ||||||
* | | Don't mix iterators from different containers. | Tor Egge | 2020-04-22 | 1 | -1/+1 | |
|/ | ||||||
* | GC unused tool. | Henning Baldersheim | 2020-04-21 | 3 | -25/+0 | |
| | ||||||
* | GC unused code. | Henning Baldersheim | 2020-04-21 | 2 | -74/+0 | |
| | ||||||
* | Do not add empty children. | Henning Baldersheim | 2020-04-20 | 2 | -2/+6 | |
| | ||||||
* | Allow temporarily inhibiting maintenance ops when under load | Tor Brede Vekterli | 2020-04-17 | 6 | -6/+56 | |
| | | | | | | | | If requests or responses from external sources are being constantly processed as part of the distributor tick, allow for up to N ticks to skip maintenance scanning, where N is a configurable number. This reduces the amount of CPU time spent on maintenance operations when the node has a lot of incoming data to deal with. | |||||
* | Remove redundant bucket DB lookup in persistence reply handling | Tor Brede Vekterli | 2020-04-16 | 3 | -54/+10 | |
| | | | | | | | | | | | | | | | | | | | Bucket DB updating happened unconditionally anyway; this was only used for failing operations in an overly pessimistic way. Removing this lookup has two benefits: - Less CPU spent in DB - Less impact expected during feeding during node state transitions since fewer operations will have to be needlessly retried by the client. Rationale: an operation towards a given bucket completes (i.e. is ACKed by all its replica nodes) at time t and the bucket is removed from the DB at time T. There is no fundamental change in correctness or behavior from the client's perspective if the order of events is tT or Tt. Both are equally valid, as the state transition edge happens independently of any reply processing. | |||||
* | Only update bucket DB memory statistics at certain intervals | Tor Brede Vekterli | 2020-04-07 | 3 | -11/+73 | |
| | | | | | B-tree/datastore stats can be expensive to sample, so don't do this after every full DB iteration. For now, wait at least 30s. | |||||
* | Merge branch 'master' into ↵ | Henning Baldersheim | 2020-04-05 | 5 | -32/+19 | |
|\ | | | | | | | balder/move-sequenced-task-executors-to-staging_vespalib | |||||
| * | Revert "Revert "Revert "Balder/rearrange threads""" | Henning Baldersheim | 2020-04-05 | 3 | -18/+6 | |
| | | ||||||
| * | Revert "Bypass communicationmanager Q" | Henning Baldersheim | 2020-04-05 | 4 | -10/+14 | |
| | | ||||||
| * | Revert "Prefer latency" | Henning Baldersheim | 2020-04-05 | 1 | -1/+1 | |
| | | ||||||
| * | Revert "Control mbus worker threads and network threads separately." | Henning Baldersheim | 2020-04-05 | 2 | -6/+1 | |
| | | ||||||
| * | Revert "Avoid task switch on decode." | Henning Baldersheim | 2020-04-05 | 1 | -1/+1 | |
| | | ||||||
| * | Revert "Use 2 network threads" | Henning Baldersheim | 2020-04-05 | 1 | -1/+1 | |
| | | ||||||
| * | Revert "Balder/control naptime" | Henning Baldersheim | 2020-04-05 | 1 | -2/+2 | |
| | | ||||||
| * | Revert "Stick to 1 network thread." | Henning Baldersheim | 2020-04-05 | 1 | -1/+1 | |
| | | ||||||
| * | Revert "Restore default" | Henning Baldersheim | 2020-04-05 | 1 | -1/+1 | |
| | | ||||||
| * | Restore default | Henning Baldersheim | 2020-04-05 | 1 | -1/+1 | |
| | | ||||||
| * | Stick to 1 network thread. | Henning Baldersheim | 2020-04-05 | 1 | -1/+1 | |
| | | ||||||
* | | Also allow for testing of the adaptive task executor. | Henning Baldersheim | 2020-04-04 | 1 | -1/+1 | |
|/ |