We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43a34f7 commit eae74a3Copy full SHA for eae74a3
1 file changed
ydb/core/wrappers/s3_storage.h
@@ -67,9 +67,7 @@ class TS3ExternalStorage: public IExternalStorageOperator, TS3User {
67
Y_DEFER {
68
std::unique_lock guard(RunningQueriesMutex);
69
--RunningQueriesCount;
70
- bool needNotify = (RunningQueriesCount == 0);
71
- guard.unlock();
72
- if (needNotify) {
+ if (RunningQueriesCount == 0) {
73
RunningQueriesNotifier.notify_all();
74
}
75
};
0 commit comments