You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/06/09 03:19:44 UTC

[GitHub] [ozone] GlenGeng commented on a change in pull request #2308: HDDS-5312. Intermittent failure in SCM Ratis integration test

GlenGeng commented on a change in pull request #2308:
URL: https://github.com/apache/ozone/pull/2308#discussion_r647935709



##########
File path: hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/BackgroundPipelineCreatorV2.java
##########
@@ -150,7 +150,7 @@ public void start() {
    * Stop RatisPipelineUtilsThread.
    */
   public void stop() {
-    if (running.compareAndSet(true, false)) {
+    if (!running.compareAndSet(true, false)) {

Review comment:
       Thanks @adoroszlai for find out this bug !




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org