[Bug]: DatastoreIO.Write fails multiple mutations of same entity on finishBundle
#34608
Open
1 of 17 tasks
finishBundle
#34608
What happened?
Similar to #18521
Fails on the edge case when
finishBundle
is executed at the end of a bundle butflushBatch
does not take into account duplicates before trying to write to Datastore.Possible solutions include removing duplicate mutations from
mutations
ArrayList beforeflushBatch
or just using a HashMap ofmutations
instead of maintaining an ArrayList which can ensure uniqueness.Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components
The text was updated successfully, but these errors were encountered: