Possible fix for #5437. meta.Client.RetentionPolicy acquired a read-lock and then called Database which called data() which acquired a read-lock again. If a write lock was taken between these two read-locks (likely by Authenticate), the write-lock would block, and the second read-lock would also block causing a dead-lock. |
||
---|---|---|
.. | ||
internal | ||
client.go | ||
config.go | ||
config_test.go | ||
data.go | ||
errors.go | ||
handler.go | ||
raft_state.go | ||
response_logger.go | ||
service.go | ||
service_test.go | ||
statement_executor.go | ||
statement_executor_test.go.fixme | ||
store.go | ||
store_fsm.go |