1
0
Fork 0
arangodb/arangod/RestHandler
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
..
RestAdminDatabaseHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestAdminDatabaseHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestAdminLogHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestAdminLogHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestAdminRoutingHandler.cpp
RestAdminRoutingHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestAdminServerHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestAdminServerHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestAdminStatisticsHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestAdminStatisticsHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestAqlFunctionsHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestAqlFunctionsHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestAqlUserFunctionsHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestAqlUserFunctionsHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestAuthHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestAuthHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestBaseHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestBaseHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestBatchHandler.cpp Feature/new server infra (#7733) 2019-01-08 10:12:02 +01:00
RestBatchHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestCollectionHandler.cpp Feature/new server infra (#7733) 2019-01-08 10:12:02 +01:00
RestCollectionHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestControlPregelHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestControlPregelHandler.h
RestCursorHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestCursorHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestDatabaseHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestDatabaseHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestDebugHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestDebugHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestDocumentHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestDocumentHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestEdgesHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestEdgesHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestEndpointHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestEndpointHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestEngineHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestEngineHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestExplainHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestExplainHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestGraphHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestGraphHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestHandlerCreator.h big reformat 2018-12-26 00:54:03 +01:00
RestImportHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestImportHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestIndexHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestIndexHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestJobHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestJobHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestPleaseUpgradeHandler.cpp
RestPleaseUpgradeHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestPregelHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestPregelHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestQueryCacheHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestQueryCacheHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestQueryHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestQueryHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestRepairHandler.cpp Feature/new server infra (#7733) 2019-01-08 10:12:02 +01:00
RestRepairHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestReplicationHandler.cpp Feature/new server infra (#7733) 2019-01-08 10:12:02 +01:00
RestReplicationHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestShutdownHandler.cpp Feature/new server infra (#7733) 2019-01-08 10:12:02 +01:00
RestShutdownHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestSimpleHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestSimpleHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestSimpleQueryHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestSimpleQueryHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestStatusHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestStatusHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestTasksHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestTasksHandler.h document the RequestLanes, and "fix" the lanes of a few handlers (#6152) 2018-08-15 11:58:16 +02:00
RestTestHandler.cpp Feature/new server infra (#7733) 2019-01-08 10:12:02 +01:00
RestTestHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestTransactionHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestTransactionHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestUploadHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestUploadHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestUsersHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestUsersHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestVersionHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestVersionHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestViewHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestViewHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestVocbaseBaseHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestVocbaseBaseHandler.h big reformat 2018-12-26 00:54:03 +01:00
RestWalAccessHandler.cpp big reformat 2018-12-26 00:54:03 +01:00
RestWalAccessHandler.h big reformat 2018-12-26 00:54:03 +01:00