You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2022/06/27 23:44:53 UTC

[GitHub] [cassandra] maedhroz commented on a diff in pull request #1704: CASSANDRA-15241 Add a virtual table that exposes currently running queries

maedhroz commented on code in PR #1704:
URL: https://github.com/apache/cassandra/pull/1704#discussion_r907887525


##########
src/java/org/apache/cassandra/concurrent/SEPWorker.java:
##########
@@ -102,8 +122,9 @@ public void run()
                     continue;
                 if (SET_THREAD_NAME)
                     Thread.currentThread().setName(assigned.name + "-" + workerId);
-                task = assigned.tasks.poll();
 
+                task = assigned.tasks.poll();

Review Comment:
   @clohfink Without setting the task here, it's possible to miss tasks, right?



-- 
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.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org