NODE-5659ClosedWorks as Designed
Driver retries a transaction operation when a DuplicateKeyError is hit
h3. What problem are you facing? I hit this issue in a test where I attempt to insert multiple copies of the same document in a single transaction. I can see that one of the insert operations fails with a DuplicateKeyError, but it seems that when the transaction is run using the driver's `withTransaction` wrapper, it keeps retrying the transaction even though the error shouldn't really be considered "transient" (ie. this operation will always fail no matter what) h3. What driver and relevant