From bb2de3700ee5b8eec9aa51cdbd2ecec937480c6c Mon Sep 17 00:00:00 2001 From: Ben Caimano Date: Tue, 5 Jun 2018 16:35:49 -0400 Subject: SERVER-34770 Retry on JavaScript execution interruptions in stepdown suites --- src/mongo/scripting/mozjs/implscope.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mongo/scripting/mozjs/implscope.h') diff --git a/src/mongo/scripting/mozjs/implscope.h b/src/mongo/scripting/mozjs/implscope.h index a8af88e8549..4a8dcba9aef 100644 --- a/src/mongo/scripting/mozjs/implscope.h +++ b/src/mongo/scripting/mozjs/implscope.h @@ -421,8 +421,8 @@ private: JS::HandleObject _global; std::vector _funcs; InternedStringTable _internedStrings; - std::atomic _pendingKill; - std::mutex _sleepMutex; + Status _killStatus; + mutable std::mutex _mutex; std::condition_variable _sleepCondition; std::string _error; unsigned int _opId; // op id for this scope -- cgit v1.2.1