Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add copyright headers | Jon Bratseth | 2021-03-18 | 1 | -0/+1 |
| | |||||
* | Abandon gcc 8 support. | Tor Egge | 2021-03-18 | 1 | -4/+2 |
| | |||||
* | Remove notion of node-specific reliability from C++ distribution code | Tor Brede Vekterli | 2021-03-02 | 1 | -2/+1 |
| | | | | | I have never seen this in use anywhere, and can find no code that ever sets it. Bonus is that node candidate trimming can be vastly simplified. | ||||
* | - Change error handling so that both synchonous and asynchronous errors can ↵ | Henning Baldersheim | 2021-02-23 | 4 | -16/+23 |
| | | | | | | | | be reported back from bucket executor. - Treat remapping as an error. - For lidspace compaction job iterator is reset and will be recreated on next invocation. - For bucketmove th ebucket is rechecked and either discarded or restarted. | ||||
* | string.h does not need alloc.h | Henning Baldersheim | 2021-02-21 | 2 | -0/+2 |
| | |||||
* | Use a helper for bool -> vespalib::Trinary | Henning Baldersheim | 2021-02-19 | 1 | -7/+11 |
| | |||||
* | Use a trinary to also handle temporary mismatching bucket used bits. | Henning Baldersheim | 2021-02-19 | 3 | -14/+23 |
| | |||||
* | - Reduce visibility of ClusterState and Distribution. | Henning Baldersheim | 2021-02-19 | 2 | -10/+1 |
| | |||||
* | Merge pull request #16495 from vespa-engine/arnej/add-size-literals | Arne H Juul | 2021-02-16 | 1 | -14/+15 |
|\ | | | | | add literals for sizes in KB, MB, and GB | ||||
| * | use size literals in persistence | Arne Juul | 2021-02-15 | 1 | -14/+15 |
| | | |||||
* | | An explicit copy assignment is needed when an explicit copy constructor is | Tor Egge | 2021-02-16 | 2 | -0/+14 |
| | | | | | | | | declared, to avoid deprecated-copy warning. | ||||
* | | Eliminate inlining warning. | Tor Egge | 2021-02-16 | 2 | -0/+4 |
|/ | |||||
* | Remove the sync interface from Bucket Executor. Due to the nature of ↵ | Henning Baldersheim | 2021-02-02 | 3 | -10/+5 |
| | | | | | | requiring a bucket lock it is very hard to get sync to work in a safe way. Instead the users must do their own accounting as they know their own threading model. | ||||
* | Add noexcept and some other minor code health. | Henning Baldersheim | 2021-02-02 | 1 | -4/+4 |
| | |||||
* | Revert "Properly track execution of BucketTasks and provide sync() and ↵ | Henning Baldersheim | 2021-02-02 | 1 | -4/+4 |
| | | | | order… " | ||||
* | Properly track execution of BucketTasks and provide sync() and orderly shutdown. | Henning Baldersheim | 2021-02-02 | 1 | -4/+4 |
| | |||||
* | Revert "Implement BucketExecutor::sync." | Henning Baldersheim | 2021-02-02 | 1 | -4/+4 |
| | |||||
* | Implement BucketExecutor::sync. | Henning Baldersheim | 2021-02-01 | 1 | -4/+4 |
| | |||||
* | Wire reporting of attribute resource usage all the way to the cluster ↵ | Geir Storli | 2021-01-29 | 1 | -0/+1 |
| | | | | controller via the host info API. | ||||
* | Restore lost comment. | Tor Egge | 2021-01-22 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' into toregge/port-to-gcc-8 | Henning Baldersheim | 2021-01-22 | 1 | -8/+7 |
|\ | |||||
| * | Merge pull request #16164 from vespa-engine/balder/split-test | Henning Baldersheim | 2021-01-22 | 1 | -7/+7 |
| |\ | | | | | | | - Splitt common test code. | ||||
| | * | - Splitt common test code. | Henning Baldersheim | 2021-01-22 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | - Splitt out HandlerTest. - Make JobTest parameterized to run with current way of using frozen bucket concept, or future using BucketExecutor and content layer bucket locking. | ||||
* | | | contains member function on unordered set is not available when using | Tor Egge | 2021-01-22 | 1 | -2/+4 |
|/ / | | | | | | | gcc 8. | ||||
* / | Track attribute resource usage. | Tor Egge | 2021-01-22 | 5 | -7/+89 |
|/ | |||||
* | Add sync in destructor. | Henning Baldersheim | 2021-01-21 | 1 | -1/+3 |
| | |||||
* | Add DummyBucketExecutor for use in testing. | Henning Baldersheim | 2021-01-21 | 3 | -0/+78 |
| | |||||
* | Merge pull request #16112 from ↵ | Henning Baldersheim | 2021-01-20 | 5 | -1/+33 |
|\ | | | | | | | | | vespa-engine/toregge/add-service-layer-host-info-reporter Add ServiceLayerHostInfoReporter. | ||||
| * | Add operator== and external operator<< to storage::spi::ResourceUsage. | Tor Egge | 2021-01-20 | 3 | -0/+25 |
| | | |||||
| * | Add ServiceLayerHostInfoReporter. | Tor Egge | 2021-01-20 | 2 | -1/+8 |
| | | |||||
* | | Merge pull request #16098 from ↵ | Henning Baldersheim | 2021-01-20 | 6 | -10/+67 |
|\ \ | |/ |/| | | | | | vespa-engine/balder/implement-bucketexecutor-for-filestormanager Implement bucketexecutor interface and. | ||||
| * | Add debug dumping and other minor followup on PR comments. | Henning Baldersheim | 2021-01-20 | 1 | -4/+4 |
| | | |||||
| * | Add class comments. | Henning Baldersheim | 2021-01-20 | 1 | -0/+3 |
| | | |||||
| * | Implement bucketexecutor interface and. | Henning Baldersheim | 2021-01-19 | 6 | -10/+64 |
| | | |||||
* | | Fix forward declarations. | Tor Egge | 2021-01-19 | 1 | -1/+1 |
|/ | |||||
* | Include exception where needed and use std:.make_unique | Henning Baldersheim | 2021-01-18 | 7 | -46/+12 |
| | |||||
* | GC ghost file that clion generated. | Henning Baldersheim | 2021-01-18 | 1 | -6/+0 |
| | |||||
* | Add failure detection and a sync method. | Henning Baldersheim | 2021-01-15 | 3 | -6/+5 |
| | |||||
* | Use forward declarations to reduce amount of included code. | Henning Baldersheim | 2021-01-15 | 3 | -4/+11 |
| | |||||
* | - Add an BucketExecutor interface taking a bucket and a BucketTask for ↵ | Henning Baldersheim | 2021-01-15 | 6 | -29/+48 |
| | | | | | | | | | executing a task by the content layer. - Add method to register this interface. - Minor followups after PR review. - Avoid including the world when not necessary to avoid having to recompile everyting for the smallest unrelated change. | ||||
* | Listener is deregistered when returned object is destroyed. | Tor Egge | 2021-01-15 | 1 | -0/+1 |
| | |||||
* | Add interface for resource usage listener to spi. | Tor Egge | 2021-01-15 | 9 | -0/+150 |
| | | | | Propagate resource usage to service layer. | ||||
* | Remove unused revert method. | Tor Egge | 2021-01-13 | 2 | -55/+0 |
| | |||||
* | Remove loadmetrics indirection. | Henning Baldersheim | 2020-11-26 | 1 | -1/+0 |
| | |||||
* | Remove load type from Context | Henning Baldersheim | 2020-11-24 | 3 | -68/+59 |
| | |||||
* | Steal the traces explicit and force moving of traces. Also hide access to ↵ | Henning Baldersheim | 2020-11-23 | 1 | -0/+1 |
| | | | | the root. | ||||
* | Enforce minimum bucked used bits at document metastore load time | Tor Brede Vekterli | 2020-11-12 | 1 | -0/+17 |
| | |||||
* | Greatly simplify bucket DB persistence provider bootstrap procedure | Tor Brede Vekterli | 2020-10-16 | 2 | -0/+19 |
| | | | | | | | | | | | | | | | | | | | | | | The legacy bucket DB initialization logic was designed for the case where bucket information was spread across potentially millions of files residing on spinning rust drives. It was therefore async and running in parallel with client operations, adding much complexity in order to deal with a myriad of concurrency edge cases. Replace this with a very simple, synchronous init method that expects the provider to have the required information readily and cheaply available. This effectively removes the concept of a node's "initializing" state, moving directly from reported state Down to Up. Even though a node still technically starts up in Initializing state, we never end up reporting this to the Cluster Controller as the DB init completes before the RPC server stack is set up. Legacy bucket DB initializer code will be removed in a separate pass. Also simplify bucket DB interface contract for mutating iteration, indicating that it is done in an unspecified order. | ||||
* | Remove partitions from SPI. | Tor Egge | 2020-10-14 | 15 | -228/+49 |
| | |||||
* | Use std::mutex and std:.condition_variable and GC some unused code. | Henning Baldersheim | 2020-10-13 | 2 | -15/+17 |
| |