File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
devel
2
2
-----
3
3
4
+ * fixed a rare thread local dead lock situation in replication:
5
+ If a follower tries to get in sync in the last steps it requires
6
+ a lock on master, if he cancels the lock before the master has
7
+ succeeded with locking we can end up with one thread beeing deadlocked.
8
+
4
9
* allow usage of floating point values in AQL without leading zeros, e.g.
5
10
`.1234`. Previous versions of ArangoDB required a leading zero in front of
6
11
the decimal separator, i.e `0.1234`.
Original file line number Diff line number Diff line change @@ -2872,7 +2872,9 @@ bool RestReplicationHandler::isTombstoned(aql::QueryId id) const {
2872
2872
2873
2873
void RestReplicationHandler::registerTombstone (aql::QueryId id) const {
2874
2874
std::string key = IdToTombstoneKey (_vocbase, id);
2875
- WRITE_LOCKER (writeLocker, RestReplicationHandler::_tombLock);
2876
- RestReplicationHandler::_tombstones.emplace (key, std::chrono::steady_clock::now () + RestReplicationHandler::_tombstoneTimeout);
2875
+ {
2876
+ WRITE_LOCKER (writeLocker, RestReplicationHandler::_tombLock);
2877
+ RestReplicationHandler::_tombstones.emplace (key, std::chrono::steady_clock::now () + RestReplicationHandler::_tombstoneTimeout);
2878
+ }
2877
2879
timeoutTombstones ();
2878
2880
}
You can’t perform that action at this time.
0 commit comments