File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
src/placement-center/src/openraft Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ mobc = "0.8.4"
4949openraft = { git = " https://github.com/databendlabs/openraft.git" , features = [
5050 " serde" ,
5151 " type-alias" ,
52+ " loosen-follower-log-revert" ,
5253] }
5354byteorder = " 1.5.0"
5455tracing = " 0.1.40"
Original file line number Diff line number Diff line change 11use std:: fmt:: Display ;
22
33use common_base:: errors:: RobustMQError ;
4- use openraft:: error:: { NetworkError , RPCError } ;
4+ use openraft:: error:: { NetworkError , RPCError , Unreachable } ;
55
66use super :: typeconfig:: TypeConfig ;
77
@@ -19,5 +19,5 @@ impl std::error::Error for ErrWrap {}
1919pub fn to_error < E : std:: error:: Error + ' static + Clone > (
2020 e : RobustMQError ,
2121) -> RPCError < TypeConfig , E > {
22- RPCError :: Network ( NetworkError :: new ( & e) )
22+ RPCError :: Unreachable ( Unreachable :: new ( & e) )
2323}
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ impl StateMachineStore {
144144 }
145145
146146 fn store ( & self ) -> & ColumnFamily {
147- self . db . cf_handle ( "store " ) . unwrap ( )
147+ self . db . cf_handle ( "_raft_store " ) . unwrap ( )
148148 }
149149}
150150
You can’t perform that action at this time.
0 commit comments