8000 Fix shutdown deadlock regarding comm tasks (#9204) · reynoldsm88/arangodb@b632d58 · GitHub
[go: up one dir, main page]

Skip to content

Commit b632d58

Browse files
goedderzmchacki
authored andcommitted
Fix shutdown deadlock regarding comm tasks (arangodb#9204)
* Wait for _commTasks in unprepare, that is after Cluster::stop * Chose better method names * Revert "Chose better method names" This reverts commit 91e8213. * Revert "Wait for _commTasks in unprepare, that is after Cluster::stop" This reverts commit 6551ae9. * Next try, stop ClusterComm threads earlier
1 parent 6b16d1c commit b632d58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arangod/Cluster/ClusterComm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,7 @@ void ClusterCommThread::run() {
11501150
TRI_ASSERT(_communicator != nullptr);
11511151
LOG_TOPIC("74eda", DEBUG, Logger::CLUSTER) << "starting ClusterComm thread";
11521152
auto lastAbortCheck = std::chrono::steady_clock::now();
1153-
while (!isStopping()) {
1153+
while (!application_features::ApplicationServer::isStopping()) {
11541154
try {
11551155
if (std::chrono::steady_clock::now() - lastAbortCheck >
11561156
std::chrono::duration<double>(3.0)) {

0 commit comments

Comments
 (0)
0