(root)/ – Rev 36354
Rev 36353 |
Last modification |
Compare with Previous |
View Log
| RSS feed
Last modification
- Rev 36354 2026-04-22 16:17:20
- Author: amit
- Log message:
- DB-backed concurrent-run guard for OfferBatchService.processOfferWithBatch. Adds CronBatchRepository.selectRunningForOffer(offerId) — single HQL query for RUNNING cron_batch rows named processSellinOffer-N or processActivationOffer-N. OfferBatchService early-returns (with a log) if any such row exists. Covers the three gaps the in-memory guard can't: JVM restart, multi-JVM, cron CLI + user click racing. Applies to both sync (cron --processOffersWithBatch) and async (/offer/process HTTP) paths.