diff --git a/Documentation/Books/Users/SUMMARY.md b/Documentation/Books/Users/SUMMARY.md index 4090f3093e..e0ded96f49 100644 --- a/Documentation/Books/Users/SUMMARY.md +++ b/Documentation/Books/Users/SUMMARY.md @@ -1,5 +1,4 @@ # Summary - * [Installing](Installing/README.md) * [Linux](Installing/Linux.md) * [Mac OS X](Installing/MacOSX.md) @@ -13,7 +12,6 @@ * [Upgrading to 2.2](Upgrading/Upgrading22.md) * [Upgrading in general](Installing/Upgrading.md) * [Cluster setup](Installing/Cluster.md) - * [Whats New](NewFeatures/NewFeatures24.md) * [Whats New in 2.3](NewFeatures/NewFeatures23.md) * [Whats New in 2.2](NewFeatures/NewFeatures22.md) @@ -26,40 +24,31 @@ * [Configuration](Arangosh/Configuration.md) * [Details](FirstSteps/Arangosh.md) * [Collections](FirstSteps/CollectionsAndDocuments.md) - * [ArangoDB Web Interface](WebInterface/README.md) - * [Creating and Dropping Databases](Databases/README.md) * [Working with Databases](Databases/WorkingWith.md) * [Notes about Databases](Databases/Notes.md) - * [Creating and Dropping Collections](Collections/README.md) * [Collection Methods](Collections/CollectionMethods.md) * [Database Methods](Collections/DatabaseMethods.md) - * [Working with Documents](Documents/README.md) * [Address and ETag](Documents/DocumentAddress.md) * [Collection Methods](Documents/DocumentMethods.md) * [Database Methods](Documents/DatabaseMethods.md) - * [Working with Edges](Edges/README.md) - * [Simple Queries](SimpleQueries/README.md) * [Geo Queries](SimpleQueries/GeoQueries.md) * [Fulltext Queries](SimpleQueries/FulltextQueries.md) * [Pagination](SimpleQueries/Pagination.md) * [Sequential Access](SimpleQueries/Access.md) * [Modification Queries](SimpleQueries/ModificationQueries.md) - * [Transactions](Transactions/README.md) * [Transaction invocation](Transactions/TransactionInvocation.md) * [Passing parameters](Transactions/Passing.md) * [Locking and isolation](Transactions/LockingAndIsolation.md) * [Durability](Transactions/Durability.md) * [Limitations](Transactions/Limitations.md) - * [Write-ahead log](WriteAheadLog/README.md) - * [AQL](Aql/README.md) * [How to invoke AQL](Aql/Invoke.md) * [Data modification queries](Aql/DataModification.md) @@ -90,21 +79,17 @@ * [Projections and filters](AqlExamples/ProjectionsAndFilters.md) * [Joins](AqlExamples/Join.md) * [Grouping](AqlExamples/Grouping.md) - * [General Graphs](General-Graphs/README.md) * [Graph Management](General-Graphs/Management.md) * [Graph Functions](General-Graphs/Functions.md) * [Fluent Query Interface](General-Graphs/FluentAQLInterface.md) - * [Blueprint Graphs](Blueprint-Graphs/README.md) * [Graph Constructor](Blueprint-Graphs/GraphConstructor.md) * [Vertex Methods](Blueprint-Graphs/VertexMethods.md) * [Edge Methods](Blueprint-Graphs/EdgeMethods.md) - * [Traversals](Traversals/README.md) * [Using Traversal Objects](Traversals/UsingTraversalObjects.md) * [Example Data](Traversals/ExampleData.md) - * [Foxx](Foxx/README.md) * [Handling Requests](Foxx/HandlingRequest.md) * [Manifest](Foxx/FoxxManifest.md) @@ -123,47 +108,38 @@ * [Session Storage](FoxxBundledApps/Sessions.md) * [User Storage](FoxxBundledApps/Users.md) * [Simple Authentication](FoxxBundledApps/SimpleAuth.md) - * [Foxx Manager](FoxxManager/README.md) * [First Steps](FoxxManager/FirstSteps.md) * [Behind the scenes](FoxxManager/BehindTheScenes.md) * [Multiple Databases](FoxxManager/MultipleDatabases.md) * [Manager Commands](FoxxManager/ManagerCommands.md) * [Frequently Used Options](FoxxManager/FrequentlyUsedOptions.md) - * [ArangoDB's Actions](ArangoActions/README.md) * [Delivering HTML Pages](ArangoActions/HtmlExample.md) * [Json Objects](ArangoActions/JsonExample.md) * [Modifying](ArangoActions/Modifying.md) - * [Replication](Replication/README.md) * [Components](Replication/Components.md) * [Example Setup](Replication/ExampleSetup.md) * [Replication Limitations](Replication/Limitations.md) * [Replication Overhead](Replication/Overhead.md) - * [Sharding](Sharding/README.md) * [How to try it out](Sharding/HowTo.md) * [Implementation](Sharding/StatusOfImplementation.md) * [Authentication](Sharding/Authentication.md) * [Firewall setup](Sharding/FirewallSetup.md) - * [Server Configuration](ConfigureArango/README.md) * [Arangod options](ConfigureArango/Arangod.md) * [Write-ahead log options](ConfigureArango/Wal.md) - * [Endpoints options](ConfigureArango/Endpoint.md) + * [Managing Endpoints](ConfigureArango/Endpoint.md) * [Cluster options](ConfigureArango/Cluster.md) * [Logging options](ConfigureArango/Logging.md) * [Communication options](ConfigureArango/Communication.md) * [Authentication](ConfigureArango/Authentication.md) * [Emergency Console](ConfigureArango/EmergencyConsole.md) - * [Arangoimp](Arangoimp/README.md) - * [Arangodump](Arangodump/README.md) - * [Arangorestore](Arangorestore/README.md) - * [HTTP API](HttpApi/README.md) * [Databases](HttpDatabase/README.md) * [To-Endpoint](HttpDatabase/DatabaseEndpoint.md) @@ -218,7 +194,6 @@ * [Sharding](HttpShardingInterface/README.md) * [Miscellaneous functions](HttpMiscellaneousFunctions/README.md) * [General Handling](GeneralHttp/README.md) - * [Javascript Modules](ModuleJavaScript/README.md) * ["console"](ModuleConsole/README.md) * ["fs"](ModuleFs/README.md) @@ -231,9 +206,7 @@ * [Write-ahead log](ModuleWal/README.md) * [Task Management](ModuleTasks/README.md) * [Using jsUnity](UsingJsUnity/README.md) - * [Administrating ArangoDB](AdministratingArango/README.md) - * [Indexing](IndexHandling/README.md) * [Index Basics](IndexHandling/IndexBasics.md) * [Working with Indexes](IndexHandling/WorkingWithIndexes.md) @@ -242,15 +215,11 @@ * [Fulltext Indexes](IndexHandling/Fulltext.md) * [Geo Indexes](IndexHandling/Geo.md) * [Cap Constraint](IndexHandling/Cap.md) - * [Datafile Debugger](DatafileDebugger/README.md) - * [Naming Conventions](NamingConventions/README.md) * [Database Names](NamingConventions/DatabaseNames.md) * [Collection Names](NamingConventions/CollectionNames.md) * [Document Keys](NamingConventions/DocumentKeys.md) * [Attribute Names](NamingConventions/AttributeNames.md) - * [Error codes and meanings](ErrorCodes/README.md) - -* [Glossary](Glossary/README.md) +* [Glossary](Glossary/README.md) \ No newline at end of file diff --git a/arangod/V8Server/ApplicationV8.cpp b/arangod/V8Server/ApplicationV8.cpp index ff1cf7efbb..a7b196dd72 100644 --- a/arangod/V8Server/ApplicationV8.cpp +++ b/arangod/V8Server/ApplicationV8.cpp @@ -505,6 +505,7 @@ void ApplicationV8::exitContext (V8Context* context) { _busyContexts[name].erase(context); delete context->_locker; + context->_locker = nullptr; TRI_ASSERT(! v8::Locker::IsLocked(isolate)); guard.broadcast(); @@ -546,6 +547,7 @@ void ApplicationV8::exitContext (V8Context* context) { } delete context->_locker; + context->_locker = nullptr; _freeContexts[name].push_back(context); } @@ -658,6 +660,7 @@ void ApplicationV8::collectGarbage () { isolate->Exit(); delete context->_locker; + context->_locker = nullptr; // update garbage collection statistics context->_hasDeadObjects = false; @@ -765,6 +768,7 @@ void ApplicationV8::upgradeDatabase (bool skip, isolate->Exit(); delete context->_locker; + context->_locker = nullptr; if (perform) { // issue #391: when invoked with --upgrade, the server will not always shut down @@ -854,6 +858,7 @@ void ApplicationV8::versionCheck () { } isolate->Exit(); delete context->_locker; + context->_locker = nullptr; // regular shutdown... wait for all threads to finish @@ -960,6 +965,7 @@ bool ApplicationV8::prepareNamedContexts (const string& name, } isolate->Exit(); delete context->_locker; + context->_locker = nullptr; } return result; @@ -1366,6 +1372,7 @@ bool ApplicationV8::prepareV8Instance (const string& name, size_t i, bool useAct } isolate->Exit(); delete context->_locker; + context->_locker = nullptr; // initialise garbage collection for context context->_numExecutions = 0; @@ -1410,6 +1417,7 @@ void ApplicationV8::prepareV8Server (const string& name, const size_t i, const s } isolate->Exit(); delete context->_locker; + context->_locker = nullptr; // initialise garbage collection for context LOG_TRACE("initialised V8 server #%d", (int) i); @@ -1453,6 +1461,7 @@ void ApplicationV8::shutdownV8Instance (const string& name, size_t i) { isolate->Exit(); delete context->_locker; + context->_locker = nullptr; isolate->Dispose();