Quadrupling of games in automatch finder

Play Human button made these games:

Usually I got this in tournaments and max 2 games. But 4 games I see a first time.

P. S. during the game I also encountered glitches with non submitting moves.

I guess that @anoek never hear about race condition. It is time to think about it. You cant neglect it any more.

3 Likes

I think this is related too

In goguero

It is not fully created game Play Go at online-go.com! | OGS

Maybe their escape in mikhail.trusfus vs. goguero related too

1 Like

When server lags during update, automatch creates multiple games sometimes.

It’s a bug that is easy to fix at the DBAL level. The second issue of incompletely initialized games can be healed with the same medicine called transactions. Almost all DBMSs I’m familiar with guarantee ACID compliance.

I think you could’ve worded this a little more nicely.

1 Like

Thanks for the links @mikhail.trusfus . Not a race condition or something that could be solved with transactions, was just a doubling of retry mechanisms, one of them being fairly aggressive. Will deploy the fix on Monday.

7 Likes