influxdb
influxdb copied to clipboard
fix(kv): context done
inmem kv shouldn't keep holding a lock on transactions or run them after their context has expired/been_cancled/etc.
This was adapted from Rob Pike's blogpost https://blogtitle.github.io/go-advanced-concurrency-patterns-part-3-channels/