* Feature/rebootid notice changes, backport of #9523
* Move to 3.4 and C++11-compatible code (except for test code)
* Backported tests/Mocks/Servers.{h,cpp}
* Rebuilt errorfiles
* Ported CallbackGuardTest from gtest to catch
* Ported RebootTrackerTest from gtest to catch
* Make sure the state method is called, so the overridden method is used during tests
* Fixed test to work with the old scheduler
* release version 3.4.8
* [3.4] fix agency lockup when removing 404-ed callbacks (#9839)
* Update arangod/Cluster/ServerState.cpp
Co-Authored-By: Markus Pfeiffer <markuspf@users.noreply.github.com>
* Instantiate the scheduler during ::prepare()
* Fix test crash introduced during backport
* Fix a compile error on Windows (thanks, V8)
* preview code I dropped on jackie today. only supports document collections.
* saving work in progress
* update arangoexport to fully use ManagedDirectory object (arangoimport still needs work).
* migrate remainder of import to using ManagedDirectory objects
* correct spelling within activateEncryption(): encription to encryption
* forgot to fix up graphExport for managed directory. luckily unittest noticed.
* add test read of gzip json file
* add readGzip to our fs object
* add TRI_SlurpGzipFile function
* add code to bridge javascript fs.readGzip to TRI_SlurpGzipFile
* correct the return type used by JS_ReadGzip
* add gzip test for jsonl type export
* add remain gzip versions of existing export tests
* add import tests of gzip files
* activate encryption in enterprise to enable fs.readDecrypt()
* bug fix: allow encryption to enable in empty directory if EncryptionFeature active.
* add JS_ReadDecrypt to enterprise build. Current used for unit tests.
* enterprise build needs EncryptionFeature added to build to support TRI_SlurpDecryptFile()
* add TRI_SlurpDecryptFile() to aid in unit test of encrypted stuff
* missing newline at end of file.
* add fs.readDecrypt when available
* add test of encrypted json array export
* correct progress meter when gzip involved
* move from using ManagedDirectory::File to ManagedDirectory::readableFile calls
* create version of readableFile that uses file descriptor as param
* initial checkin of isRetryOK(). Includes fixes to known code that has previously hung shutdowns by performing infinite retries.
* slight help on getting out of a loop faster during shutdown. not essential.
* Added feature phases
* BasicsPhase and DatabasePhase to the required files. Server now has Feature circles and does not boot. Will be sorted out later on.
* Added ClusterPhase to features
* Added V8Phase to the required features
* Added AQLPhase to the affected features
* Added ServerPhase to Features
* Added FoxxPhase to the relevant features
* Added AgencyPhase to the relevant features
* Moved registration from local variable SYS_SYSTEM_REPLICATION_FACTOR from cluster to V8 as their ordering is now vice versa
* Moved Bootstrap feature into FoxxPhase. It could be moved to ServerPhase easily if the FoxxQueue dependency would be removed
* Final movement of Startup Phases. Now solved all circles.
* Removed merge conflict
* Moved ReplicationTimeout into cluster phase and fixed cross-phase requirements
* Added greetings phase. This phase separates the Basics Phase and is the first to be run. Includes Logger and Hello/Goodbye
* Added the GreetingsPhase in the corresponding features. Now all BasicsPhase features start after greetings Phase. There is some issue in this branch which prevents the Agency from Gossipping right now. Will be fixed next
* Moved creation of the Agent into the prepare phase of the feature. THereby it is guaranteed that agents at least exists before the GeneralServer is activating endpoints
* Recovery needs to be started after the ServerID
* Moved log output of FeaturePhases to DEBUG instead of ERROR.
* Added feature phases for clients
* ClusterFeature now does not directly require AgencyFeature any more
* Added requirement of TravEngineRegistryFeature in AQL feature. Otherwise shutdown may be undefined
* The ApplicationServer can now handout the list of ordered features. Used for testing purposes
* Fixed IResearchVew Tests Setup to honor new feature ordering
* Fixed IResearchViewDBServer Tests Setup to honor new feature ordering
* Started fixing IResearchView Coordinator tests with startup ordering. Not finished yet
* Added startup phases to ViewCoordinator test
* Disabled expected logoutput in ClusterRepairsTest
* Fixed indention in test code
* LinkCoordinator now honors startup ordering
* Link meta now honors startup rdering
* Supress expected cluster logs in ViewTest
* Removed '#' accidentially added.
* fix some deadlocks found by evil lock manager (tm)
* fix duplicate lock
* fix indentation
* ensure proper lock dependencies
* fix lock acquisition
* removed useless comment
* do not lock twice
* create either a V8 transaction context or a standalone transaction context, depending on if we are called from within V8 or not
* AQL micro optimizations
* use explicit constructor
* only use V8DealerFeature's ConditionLocker for acquiring a free V8 context
entering and exiting the selected context is then done later on without having to hold the ConditionLocker
* remove some recursive locks
* Disable custom deadlock detection when Thread Sanitizer is enabled
* Changing ifdef's
* grr
* broke gcc
* Using atomic for ApplicationServer::_server
* fix premature unlock
* add some asserts
* honor collection locking in cluster
* yet one more lock fix
* removed assertion
* some more bugfixes
* Fixing assert
(cherry picked from commit 1155df173bfb67303077fbe04ee8d909517bfd21)
* do not rely on non-existing feature "AQL"
using such feature makes the server throw two exceptions (which will be caught) on startup, but its silly for debugging
* use condition variable for signalling shutdown
* do not hard-code the log levels for recovery tests
this has taken so many developers so much of their time that it is about time to fix it
* ensure the 'unittests' script properly finds 'arangosh' and the build directory