1
0
Fork 0
arangodb/arangod/Cache
Lars Maier 12eebb15fe Feature/new server infra (#7733)
* Decoupled IO handling from Scheduler.

* Fixed SSL start up bug.

* Replaced Scheduler with new worker farm implementation.

* Added minimal statistics and info string for Scheduler.

* Added support for timed submissions.

* Updated delayed submission api. Updated code that used timers.

* Extracted new Scheduler into a virtual parent class. The implementation can now depend on the usecase.

* Signal handler now working.

* Changed threads names, `_stop` is atomic, check for failure during thread start + exception handling like old scheduler did.

* Commented on source code and added TODOs.

* Played around with start-stop-conditions

* Play around with start stop condition.

* start stop cond

* Sart Stop Conditions

* Removed bad cv_status check.

* Bug fix: now compare the actual objects instead of pointer values. Setup t1 and t2 depending on the thread id.

* Moved most of the stuff now unrelated to the Scheduler to GeneralServer. Got rid of JobGuard.

* Instead of waiting for a thread to terminate, put it on a clean up list and check for its termination in each supervisor run.

* Allow detaching long running threads.

* Fixed test mock.

* Updated the WorkHandle logic. Removed post functions.

* Fixed crash when obtaining shared_ptr from this in destructor.

* Added lost mutex.

* Fixed memory leak.

* Fixed merge bug.

* Changed a lot of code to optimize the scheduler.

* Fixed bug of invalidated iterator. Dont remove task on shutdown at different places. Let scheduler threads run until queue is empty.

* Only by value calls to queue.

* Added options again.

* Clean up of code.

* UI Request Lane added.

* Bug fixes in Scheduler.

* Applied reformat.

* Use sigaction.
2019-01-08 10:12:02 +01:00
..
BucketState.cpp big reformat 2018-12-26 00:54:03 +01:00
BucketState.h fix some issues found by coverity code scan (#3256) 2017-09-21 10:26:59 +02:00
Cache.cpp big reformat 2018-12-26 00:54:03 +01:00
Cache.h big reformat 2018-12-26 00:54:03 +01:00
CacheManagerFeature.cpp Feature/new server infra (#7733) 2019-01-08 10:12:02 +01:00
CacheManagerFeature.h big reformat 2018-12-26 00:54:03 +01:00
CacheManagerFeatureThreads.cpp big reformat 2018-12-26 00:54:03 +01:00
CacheManagerFeatureThreads.h add missing override specifiers, add final specifiers 2018-05-04 09:01:50 +02:00
CachedValue.cpp big reformat 2018-12-26 00:54:03 +01:00
CachedValue.h big reformat 2018-12-26 00:54:03 +01:00
Common.h Doubled size of cache buckets to increase associativity. 2017-05-23 17:51:47 -04:00
Finding.cpp Optimizations for Caches and Graph Traversals (#3169) 2017-08-31 18:33:10 +02:00
Finding.h Optimizations for Caches and Graph Traversals (#3169) 2017-08-31 18:33:10 +02:00
FrequencyBuffer.h big reformat 2018-12-26 00:54:03 +01:00
Manager.cpp big reformat 2018-12-26 00:54:03 +01:00
Manager.h big reformat 2018-12-26 00:54:03 +01:00
ManagerTasks.cpp big reformat 2018-12-26 00:54:03 +01:00
ManagerTasks.h Improved cache rebalancing and allocation strategies. 2017-03-11 12:15:08 -05:00
Metadata.cpp big reformat 2018-12-26 00:54:03 +01:00
Metadata.h big reformat 2018-12-26 00:54:03 +01:00
PlainBucket.cpp big reformat 2018-12-26 00:54:03 +01:00
PlainBucket.h big reformat 2018-12-26 00:54:03 +01:00
PlainCache.cpp big reformat 2018-12-26 00:54:03 +01:00
PlainCache.h big reformat 2018-12-26 00:54:03 +01:00
Rebalancer.cpp Fixed return value of cache rebalancer in a few spots. (#3967) 2017-12-08 16:01:54 +01:00
Rebalancer.h Optimizations for Caches and Graph Traversals (#3169) 2017-08-31 18:33:10 +02:00
Table.cpp big reformat 2018-12-26 00:54:03 +01:00
Table.h big reformat 2018-12-26 00:54:03 +01:00
Transaction.cpp Completed implementation of transactional cache. 2017-03-06 10:31:36 -05:00
Transaction.h Completed implementation of transactional cache. 2017-03-06 10:31:36 -05:00
TransactionManager.cpp Fixing an issue with intermediate commits (#3975) 2017-12-12 09:17:18 +01:00
TransactionManager.h Fixing an issue with intermediate commits (#3975) 2017-12-12 09:17:18 +01:00
TransactionalBucket.cpp big reformat 2018-12-26 00:54:03 +01:00
TransactionalBucket.h big reformat 2018-12-26 00:54:03 +01:00
TransactionalCache.cpp big reformat 2018-12-26 00:54:03 +01:00
TransactionalCache.h big reformat 2018-12-26 00:54:03 +01:00