1

for scheduler job we used @Scheduled at method level like below.

@scheduled(fixedRateString = 120)
public void performUpdate(){
}

Since I am also using the multi POD deployment it will cause RACE condition I guess because from each POD, same request will go to each POD & perform SQL update & delete operations.

HS447
  • 81
  • 9
  • It will wait, some details here: https://stackoverflow.com/questions/38842507/whats-the-difference-between-fixed-rate-and-fixed-delay-in-spring-scheduled-ann – Cyril G. Mar 21 '22 at 03:55

0 Answers0