timshannon / badgerhold

BadgerHold is an embeddable NoSQL store for querying Go types built on Badger
MIT License
515 stars 52 forks source link

Issue46 retry error #61

Closed timshannon closed 2 years ago

timshannon commented 3 years ago

Fixes #46 by automatically retrying when a retry conflict occurs in Badger.

This is only possible for transactions opened and managed by BadgerHold. If you are creating your own transactions, you'll need to do the same check and retry.