influxdb icon indicating copy to clipboard operation
influxdb copied to clipboard

fix(kv): context done

Open docmerlin opened this issue 4 years ago • 0 comments

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/

docmerlin avatar Apr 24 '20 20:04 docmerlin