The RecordBuilderStats object uses non-atomic increments for objects that are shared. The reason this is not as simple as using atomic.Int64, for example, is that there is also an HDRHistogram in there.
This is (as far as a I know) the only reason we couldn't enable race detection for all modules in this repository.
The
RecordBuilderStats
object uses non-atomic increments for objects that are shared. The reason this is not as simple as using atomic.Int64, for example, is that there is also an HDRHistogram in there.This is (as far as a I know) the only reason we couldn't enable race detection for all modules in this repository.