8000 [3.8] Fix BTS-539 (#14618) · arangodb/arangodb@cff314c · GitHub
[go: up one dir, main page]

Skip to content

Commit cff314c

Browse files
DronplaneKVS85
andauthored
[3.8] Fix BTS-539 (#14618)
* fix backport * Update CHANGELOG Co-authored-by: Vadim <vadim@arangodb.com>
1 parent 9d6683f commit cff314c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
v3.8.1 (XXXX-XX-XX)
22
-------------------
33

4+
* Fixed issue BTS-539 "Unsynchronized query kill while it's being finalized in
5+
another thread was uncovered through `test-kill.js` of `communication_ssl`
6+
suite". Fixed possible (but unlikely) crash when killing an AQL query.
7+
48
* Fixed various problems in GEO_INTERSECTS: wrong results, not implemented cases
59
and numerically unstable behaviour. In particular, the case of the
610
intersection of two polygons in which one is an S2LngLatRect is fixed

arangod/Aql/Query.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,6 @@ Query::~Query() {
182182
<< " this: " << (uintptr_t)this;
183183
}
184184

185-
_queryProfile.reset(); // unregister from QueryList
186-
187185
// log to audit log
188186
if (!_queryOptions.skipAudit &&
189187
(ServerState::instance()->isCoordinator() ||
@@ -204,6 +202,8 @@ Query::~Query() {
204202
// the destructor
205203
}
206204

205+
_queryProfile.reset(); // unregister from QueryList
206+
207207
unregisterSnippets();
208208

209209
exitV8Context();

0 commit comments

Comments
 (0)
0