tikv / raft-rs

Raft distributed consensus algorithm implemented in Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question - Migrate `raft-rs 0.6.0a` to `raft-rs 0.7.0`

jopemachine opened this issue · comments

I'm having trouble because the example code that works in raft-rs 0.6.0 alpha version does not function properly when updated to 0.7.0.

I have made some inferences and concluded that the cause may be related to the 403 PR or subsequent changes related to async.

https://github.com/tikv/raft-rs/pull/403/files

According to my understanding, I understood that some breaking changes occurred during the process of adding async ready and LightReady-related logic in this version upgrade.

Could you tell me what breaking change occurred through this PR and how should I update the example code?

I'm sorry for the confusion, I found the bug in my written code, it is not related to kind of breaking change. So, I will close the issue