v0.9.4 #1093
drmingdrmer
announced in
Announcements
v0.9.4
#1093
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary:
declare_raft_types.TryAsRef<ForwardToLeader<..>>forRaftError.Detail:
Changed:
Changed: 2b8bc842 Add default value to
declare_raft_types;Types used in
declare_raft_typescan be omitted, in which case the default type will be used.The default values for each type are:
D:StringR:StringNodeId:u64Node:::openraft::BasicNodeEntry:::openraft::Entry<Self>SnapshotData:Cursor<Vec<u8>>AsyncRuntime:::openraft::TokioRuntimeNote that The types must be specified in the exact order:
D,R,NodeId,Node,Entry,SnapshotData,AsyncRuntime.For example, to declare with only
D,RandEntrytypes:Type
NodeId,Node,SnapshotDataandAsyncRuntimewill be filledwith default values mentioned above.
Or one can just use the default types for all:
Upgrade tip:
Ensures types declared in
declare_raft_typesare in the correct orderAdded:
TryAsRef<ForwardToLeader<..>>forRaftError;Full Changelog: v0.9.3...v0.9.4
Contributors
This discussion was created from the release v0.9.4.
Beta Was this translation helpful? Give feedback.
All reactions