A bulk write operation resulted in one or more errors #5496
vineethcsreepadsciex
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
**We are facing the following error when we do an incremental build on the currently existing environment which happens to be in aws cloud.
We are forced to clean up the databases and then start our testing. Else the below error pastes are seen always. AKKA.net Version 1.4.16
We are still in the nascent stage of our development of all our microservices and we have happened to have a few tables in the DB. Cleaning looks easy but coming days its gonna be tedious to identify this.**
[akka.tcp://[email protected]:5215/system/sharding/TenantActor/2] Rejected to persist event type [Akka.Cluster.Sharding.Shard+EntityStarted] with sequence number [2] for persistenceId [/sharding/TenantActorShard/2] due to [A bulk write operation resulted in one or more errors. E11000 duplicate key error collection: EventJournal index: id]. Cause: MongoDB.Driver.MongoBulkWriteException
1[Akka.Persistence.MongoDb.Journal.JournalEntry]: A bulk write operation resulted in one or more errors. E11000 duplicate key error collection: EventJournal index: _id_ at MongoDB.Driver.MongoCollectionImpl
1.BulkWriteAsync(IClientSessionHandle session, IEnumerable1 requests, BulkWriteOptions options, CancellationToken cancellationToken) at MongoDB.Driver.MongoCollectionImpl
1.UsingImplicitSessionAsync[TResult](Func`2 funcAsync, CancellationToken cancellationToken) at Akka.Persistence.MongoDb.Journal.MongoDbJournal.<>c__DisplayClass13_0.<b__0>d.MoveNext()Beta Was this translation helpful? Give feedback.
All reactions