andresbeckruiz commented on code in PR #360:
URL: https://github.com/apache/cassandra-sidecar/pull/360#discussion_r3538862656


##########
server/src/main/java/org/apache/cassandra/sidecar/job/OperationalJobManager.java:
##########
@@ -101,10 +118,12 @@ public void trySubmitJob(OperationalJob job,
             checkConflict(job);
 
             // New job is submitted for all cases when we do not have a 
corresponding downstream job
-            jobTracker.computeIfAbsent(job.jobId(), jobId -> {
+            OperationalJob tracked = jobTracker.computeIfAbsent(job.jobId(), 
jobId -> job);

Review Comment:
   Coordination now happens before tracking and jobs that fail coordination are 
now marked as `FAILED`, addressed in 
[30a4292](https://github.com/apache/cassandra-sidecar/pull/360/commits/30a42928fa40df19d26a5e729d59f8b7c71fa6a0)



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to