Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes an error occurs during a bulk write operation with the message 'operation was interrupted. #326

Open
Atralupus opened this issue Sep 12, 2024 · 0 comments
Labels
bug Something isn't working mimir.worker

Comments

@Atralupus
Copy link
Member

{
    "@t": "2024-09-10T08:31:08.2168216Z",
    "@mt": "Consumer Task failed for {Address}",
    "@l": "Error",
    "@x": "MongoDB.Driver.MongoBulkWriteException`1[MongoDB.Bson.BsonDocument]: A bulk write operation resulted in one or more errors. WriteErrors: [ { Category : \"Uncategorized\", Code : 11601, Message : \"operation was interrupted\" } ].\n   at MongoDB.Driver.MongoCollectionImpl`1.BulkWriteAsync(IClientSessionHandle session, IEnumerable`1 requests, BulkWriteOptions options, CancellationToken cancellationToken)\n   at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSessionAsync[TResult](Func`2 funcAsync, CancellationToken cancellationToken)\n   at Mimir.Worker.Services.MongoDbService.UpsertStateDataManyAsync(String collectionName, List`1 documents, IClientSessionHandle session, CancellationToken cancellationToken) in /app/Mimir.Worker/Services/MongoDbService.cs:line 216\n   at Mimir.Worker.Poller.DiffConsumer.ProcessStateDiff(IStateHandler handler, Address accountAddress, GetAccountDiffsResponse diffResponse, CancellationToken stoppingToken) in /app/Mimir.Worker/Poller/DiffPoller/DiffConsumer.cs:line 118\n   at Mimir.Worker.Poller.DiffConsumer.ConsumeAsync(ChannelReader`1 reader, CancellationToken stoppingToken) in /app/Mimir.Worker/Poller/DiffPoller/DiffConsumer.cs:line 55\n   at Mimir.Worker.Poller.DiffConsumer.ConsumeAsync(ChannelReader`1 reader, CancellationToken stoppingToken) in /app/Mimir.Worker/Poller/DiffPoller/DiffConsumer.cs:line 32\n   at Mimir.Worker.Poller.DiffPoller.<>c__DisplayClass6_2.<<RunAsync>b__3>d.MoveNext() in /app/Mimir.Worker/Poller/DiffPoller/DiffPoller.cs:line 74",
    "Address": "0x000000000000000000000000000000000000001c",
    "SourceContext": "Mimir.Worker.Poller.DiffPoller",
    "Application": "Mimir.Worker"
}
image My worker crashes every 10 hours.
@Atralupus Atralupus added bug Something isn't working mimir.worker labels Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mimir.worker
Projects
None yet
Development

No branches or pull requests

1 participant