Skip to content
Snippets Groups Projects
Commit 3946ac00 authored by Yaroslav Dynnikov's avatar Yaroslav Dynnikov Committed by Georgy Moshkin
Browse files

fix: return read_index error immediately

In some states `raft-rs` ignores the ReadIndex request.
Check it preliminary, don't wait for the timeout.

See for details:
- <https://github.com/tikv/raft-rs/blob/v0.6.0/src/raft.rs#L2058>
- <https://github.com/tikv/raft-rs/blob/v0.6.0/src/raft.rs#L2323>
parent 32ec6ea3
No related branches found
No related tags found
1 merge request!179test: deploy a cluster of 60 instances
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment