1
0
Fork 0
arangodb/arangod/RestServer
Tobias Gödderz c61ed1d77a MMFiles-replication-get-followers-under-lock (forward-port) (#7343)
* Forward-port of bug-fix-3.4/mmfiles-replication-get-followers-under-lock

Fix resign order

Fixed a typo

Get followers later, add TODOs

Added a callback parameter to collection insert methods

Get followers under the lock if necessary

Extracted the replication of inserts into a separate method

Move shortcut into replicate method

Added callbacks for remove, replace and update

Added missing overrides

Extracted replication code from modifyLocal and removeLocal

Update followers under lock also during replace, update, remove

Fix changes from the last commit for update/replace

Update comments, add asserts

Remove changes for document-level locks that will be done in another PR

Unify replication

Adapt log messages to the devel ones

Move common methods from its descendants to TransactionCollection, fix Mock on the way

More IResearch test / mock fixes

Relax asserts for nested transactions

Reformat

Fix non-babies remove and modify replication

* Remove some changes introduced by the merge

* Fixed compile errors introduced by merge
2018-11-20 09:43:26 +01:00
..
AqlFeature.cpp added some comments 2018-10-30 22:48:02 +01:00
AqlFeature.h Bug fix/aql optimizer improvements 2308 (#6241) 2018-08-24 13:42:22 +02:00
BootstrapFeature.cpp Suppress startup warning about no user table. (#6904) 2018-10-17 14:41:01 +02:00
BootstrapFeature.h Suppress startup warning about no user table. (#6904) 2018-10-17 14:41:01 +02:00
CheckVersionFeature.cpp more explicit order for SystemDatabaseFeature (#6335) 2018-09-01 22:54:03 +02:00
CheckVersionFeature.h issue 427.5: use ApplicationServer reference instead of pointer (#6145) 2018-08-15 12:16:02 +03:00
ConsoleFeature.cpp issue 458.4: retrieve the system database via the SystemDatabaseFeature (#6299) 2018-08-31 19:45:10 +02:00
ConsoleFeature.h issue 427.5: use ApplicationServer reference instead of pointer (#6145) 2018-08-15 12:16:02 +03:00
ConsoleThread.cpp tobiasle (#6861) 2018-10-12 15:34:43 +02:00
ConsoleThread.h add missing override specifiers, add final specifiers 2018-05-04 09:01:50 +02:00
DatabaseFeature.cpp Silence Tsan warnings (#7075) 2018-10-25 15:50:39 +02:00
DatabaseFeature.h more explicit order for SystemDatabaseFeature (#6335) 2018-09-01 22:54:03 +02:00
DatabasePathFeature.cpp Copy installation files on startup (#6491) 2018-09-14 11:15:21 +02:00
DatabasePathFeature.h Copy installation files on startup (#6491) 2018-09-14 11:15:21 +02:00
EndpointFeature.cpp issue 427.5: use ApplicationServer reference instead of pointer (#6145) 2018-08-15 12:16:02 +03:00
EndpointFeature.h issue 427.5: use ApplicationServer reference instead of pointer (#6145) 2018-08-15 12:16:02 +03:00
FileDescriptorsFeature.cpp remove OpenFilesTracker (#7189) 2018-11-02 11:38:38 +01:00
FileDescriptorsFeature.h issue 427.5: use ApplicationServer reference instead of pointer (#6145) 2018-08-15 12:16:02 +03:00
FlushFeature.cpp issue 485.1: reduce scope of lock in FlushFeature (#6943) 2018-10-17 14:33:48 +03:00
FlushFeature.h Fix several TSan warnings (#6473) 2018-09-14 11:16:45 +02:00
FortuneFeature.cpp fix cast for macosx 2018-09-03 10:21:52 +02:00
FortuneFeature.h Feature/fortune (#6324) 2018-09-01 14:18:30 +02:00
FrontendFeature.cpp issue 427.5: use ApplicationServer reference instead of pointer (#6145) 2018-08-15 12:16:02 +03:00
FrontendFeature.h issue 427.5: use ApplicationServer reference instead of pointer (#6145) 2018-08-15 12:16:02 +03:00
InitDatabaseFeature.cpp Feature/drop before win7 support in compiler (#6681) 2018-10-03 18:33:52 +02:00
InitDatabaseFeature.h issue 427.5: use ApplicationServer reference instead of pointer (#6145) 2018-08-15 12:16:02 +03:00
LockfileFeature.cpp issue 427.5: use ApplicationServer reference instead of pointer (#6145) 2018-08-15 12:16:02 +03:00
LockfileFeature.h issue 427.5: use ApplicationServer reference instead of pointer (#6145) 2018-08-15 12:16:02 +03:00
QueryRegistryFeature.cpp add separate option `--query.slow-streaming-threshold` (#7181) 2018-10-31 21:31:52 +01:00
QueryRegistryFeature.h add separate option `--query.slow-streaming-threshold` (#7181) 2018-10-31 21:31:52 +01:00
ScriptFeature.cpp issue 458.4: retrieve the system database via the SystemDatabaseFeature (#6299) 2018-08-31 19:45:10 +02:00
ScriptFeature.h issue 427.5: use ApplicationServer reference instead of pointer (#6145) 2018-08-15 12:16:02 +03:00
ServerFeature.cpp Use SSE42 for UTF-8 string validation (#6991) 2018-10-23 11:32:06 +02:00
ServerFeature.h Use SSE42 for UTF-8 string validation (#6991) 2018-10-23 11:32:06 +02:00
ServerIdFeature.cpp fix dependencies of init-database feature/serverid feature 2018-09-20 15:25:39 +02:00
ServerIdFeature.h issue 427.5: use ApplicationServer reference instead of pointer (#6145) 2018-08-15 12:16:02 +03:00
SystemDatabaseFeature.cpp more explicit order for SystemDatabaseFeature (#6335) 2018-09-01 22:54:03 +02:00
SystemDatabaseFeature.h more explicit order for SystemDatabaseFeature (#6335) 2018-09-01 22:54:03 +02:00
TransactionManagerFeature.cpp issue 427.5: use ApplicationServer reference instead of pointer (#6145) 2018-08-15 12:16:02 +03:00
TransactionManagerFeature.h issue 427.5: use ApplicationServer reference instead of pointer (#6145) 2018-08-15 12:16:02 +03:00
TraverserEngineRegistryFeature.cpp Silence Tsan warnings (#7075) 2018-10-25 15:50:39 +02:00
TraverserEngineRegistryFeature.h Silence Tsan warnings (#7075) 2018-10-25 15:50:39 +02:00
UpgradeFeature.cpp Bug fix/fiddle version string into test paths (#6267) 2018-08-28 14:58:35 +02:00
UpgradeFeature.h issue 427.5: use ApplicationServer reference instead of pointer (#6145) 2018-08-15 12:16:02 +03:00
ViewTypesFeature.cpp issue 496.1: switch scope of responsibility between a TRI_vocbase_t and a LogicalView in respect to view creation/deletion (#7101) 2018-10-30 12:50:35 +03:00
ViewTypesFeature.h issue 496.1: switch scope of responsibility between a TRI_vocbase_t and a LogicalView in respect to view creation/deletion (#7101) 2018-10-30 12:50:35 +03:00
VocbaseContext.cpp Fix crash on Agency / DBserver with user JWT tokens (#6594) 2018-09-26 14:26:35 +02:00
VocbaseContext.h Allow dirty-reads from passive (#6136) 2018-08-20 16:26:14 +02:00
arangod.cpp MMFiles-replication-get-followers-under-lock (forward-port) (#7343) 2018-11-20 09:43:26 +01:00