You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fail: EnoEngine.EnoEngine[0]
CalculateServicePoints failed because: Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException: The database operation was expected to affect 1 row(s), but actually affected 0 row(s); data may have been modified or deleted since entities were loaded. See http://go.microsoft.com/fwlink/?LinkId=527962 for information on understanding and handling optimistic concurrency exceptions.
at Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at EnoDatabase.EnoDb.CalculateTeamServicePoints(Team[] teams, Int64 roundId, Service service, Int64 oldSnapshotsRoundId, Int64 newLatestSnapshotRoundId) in /services/EnoEngine/EnoDatabase/EnoDb.Scoring.cs:line 174
at EnoDatabase.EnoDbUtil.RetryScopedDatabaseAction(Func`2 function) in /services/EnoEngine/EnoDatabase/EnoDbUtil.cs:line 44
at EnoEngine.EnoEngine.<>c__DisplayClass14_2.<<CalculateServicePoints>b__1>d.MoveNext() in /services/EnoEngine/EnoEngine/EnoEngine.CTF.cs:line 121
--- End of stack trace from previous location ---
at EnoEngine.EnoEngine.CalculateServicePoints(Int64 roundId, Configuration configuration) in /services/EnoEngine/EnoEngine/EnoEngine.CTF.cs:line 126
The text was updated successfully, but these errors were encountered:
Trolldemorted
changed the title
Adding teams causes CalculateTeamServicePoints to print exceptions
Adding teams and removing services causes CalculateTeamServicePoints to print exceptions
Jul 12, 2022
The text was updated successfully, but these errors were encountered: