Stable New-Job Count
A worker counts rows in jobs with status = 'new' twice and must see the same number both times, even if another operation inserts (99, 'new') between reads. Write a transaction with the appropriate isolation: start, count, count again, finish.
Conectează-te pentru a vedea istoricul soluțiilor trimise
Conectează-teConectează-te pentru a folosi Mentorul AI
Conectează-te