Merge pull request #3857 from influxdb/jw-deadlock

Fix deadlock in metastore
pull/3859/head
Jason Wilder 2015-08-26 14:50:32 -06:00
commit 4d417db3b0
2 changed files with 1 additions and 2 deletions

View File

@ -89,6 +89,7 @@ Please see the *Features* section below for full details.
- [#3824](https://github.com/influxdb/influxdb/issues/3824): tsdb.Point.MarshalBinary needs to support all number types
- [#3828](https://github.com/influxdb/influxdb/pull/3828): Support all number types when decoding a point
- [#3853](https://github.com/influxdb/influxdb/pull/3853): Use 4KB default block size for bz1
- [#3607](https://github.com/influxdb/influxdb/issues/3607): Fix unable to query influxdb due to deadlock in metastore. Thanks @ccutrer!
## v0.9.2 [2015-07-24]

View File

@ -334,8 +334,6 @@ func (r *localRaft) leader() string {
}
func (r *localRaft) isLeader() bool {
r.store.mu.RLock()
defer r.store.mu.RUnlock()
if r.raft == nil {
return false
}