A backend service that provides 9c-related utility APIs.
GNU Affero General Public License v3.0
4
stars
22
forks
source link
`MongoDB.Driver.MongoBulkWriteException` occurred in `Mimir.Worker.Services.MongoDbService` #507
Open
boscohyun opened 2 days ago
issue: https://planetariumhq.sentry.io/issues/6079390060/?alert_rule_id=15325664&alert_type=issue&environment=production¬ification_uuid=1a65b478-93f3-47f8-a253-d52d232634c4&project=4507422913986560&referrer=slack
Mimir.Worker commit hash: dfef75d813f38ed2bcddeae0026c34cfd912ea1d Error message: MongoDB.Driver.MongoBulkWriteException`1[[MongoDB.Bson.BsonDocument, MongoDB.Bson, Version=2.27.0.0, Culture=neutral, PublicKeyToken=null]]: A bulk write operation resulted in one or more errors. WriteErrors: [ { Category : "DuplicateKey", Code : 11000, Message : "E11000 duplicate key error collection: balance_crystal index: id" } ]. Stack trace: Services/MongoDbService.cs in async Task MongoDbService.UpsertStateDataManyAsync(string collectionName, List<WriteModel> bulkOps, IClientSessionHandle session, CancellationToken cancellationToken) at line 205:9
Handler/BaseDiffHandler.cs in async Task BaseDiffHandler.ProcessStateDiff(IStateDocumentConverter converter, GetAccountDiffsResponse diffResponse, long blockIndex, CancellationToken stoppingToken) at line 184:13
Handler/BaseDiffHandler.cs in async Task BaseDiffHandler.ConsumeAsync(DiffContext diffContext, CancellationToken stoppingToken) at line 135:9
Handler/BaseDiffHandler.cs in async Task BaseDiffHandler.ExecuteAsync(CancellationToken stoppingToken) at line 63:17
Breadcrumbs:
Mimir.Worker.Handler.Balance.FreyaBlessingRuneBalanceHandler
"balance_freya_blessing_rune" Synced BlockIndex: 12505565
Mimir.Worker.Handler.WorldInformationStateHandler
"world_information" Synced BlockIndex: 12505565
Mimir.Worker.Handler.Balance.NcgBalanceHandler
"balance_ncg" Synced BlockIndex: 12505565
...