mongo-go-driver retry cursor.Next() after error
When iterating a Mongo collection using mongo-go-driver v1.15.0, I’m randomly getting BSON decoding erorrs during cursor.Decode
, such as error decoding key accoun: EOF
. Note that the name of the key is in fact account_id
. It appears that the BSON data does not get transmitted completely, probably due to networking issues.