Open Alex-Vasile opened 2 years ago
Just an idea - AI game can generates too much game events for watching/playing human. Server must send all that events for a client. It uses another thread for that task. Time to collect and send new game update is much larger than time for ai to play next priority, so that game update (game view creating) can catch concurrent modification error.
If true then there are possible fixes:
Not duplicate but similar to #11848 . This issue requires separate fixes to that one.
@phughk server side errors with ConcurrentModificationException
(CardView
or getRules
in error stack are good mark of it) related to wrong game/call threads, see more details in #11460
Played a NEO draft, me and 7 AI. One of the AI v. AI games hung and never finished, nor was I able to watch it. CPU usage for one core is stuck at 100%. The following was in mageserver.log