10000 Fix BTS-539 by Dronplane · Pull Request #14612 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Fix BTS-539 #14612

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
devel
-----

* Add optimization rule for AqlAnalyzer
* Fixed issue BTS-539 "Unsynchronized query kill while it's being finalized in
another thread was uncovered through `test-kill.js` of `communication_ssl`
suite". Fixed possible (but unlikely) crash when killing an AQL query.

* Add optimization rule for AqlAnalyzer/

* Append physical compaction of log collection to every Raft log
compaction (BTS-542).
Expand Down
4 changes: 2 additions & 2 deletions arangod/Aql/Query.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,6 @@ Query::~Query() {
<< " this: " << (uintptr_t)this;
}

_queryProfile.reset(); // unregister from QueryList

// log to audit log
if (!_queryOptions.skipAudit &&
(ServerState::instance()->isCoordinator() ||
Expand All @@ -208,6 +206,8 @@ Query::~Query() {
// the destructor
}

_queryProfile.reset(); // unregister from QueryList

unregisterSnippets();

exitV8Context();
Expand Down
0