Tags: mvadu/influxdb
Tags
fix flush deadlock This commit fixes a deadlock that occurs during b1 flushes. It's caused by taking locks in a different order. In the flush, b1 locks the engine and then bolt. However, in the query cursor, a lock is obtained on bolt first (via `DB.Begin()`) and then the engine is locked while reading from the engine's cache.
Add interface for heap to support Reverse for `order by desc`
Fix race in cluster RPC serialization Point was accessed from multiple goroutines and there was a race on the the internal cachedFields and cachedName fields. Accessing these fields is unnecessary work as it requires the point to be unmarshal into Go types and then remarshaled back into protbuf types. Instead, just send the line protocol version already available on the point via the protobuf. This avoid accesssing these cached fields and eliminates some extra work. Possible fix for influxdata#4069
PreviousNext