File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ log = "0.3.9"
26
26
27
27
[dependencies .kvproto ]
28
28
git = " https://github.com/pingcap/kvproto.git"
29
+ rev = " f9b9e7d362c7cc2c90202fc7c300b2e466cbfbf2"
29
30
30
31
[dependencies .prometheus ]
31
32
version = " 0.4.2"
Original file line number Diff line number Diff line change @@ -55,11 +55,11 @@ impl From<errorpb::Error> for Error {
55
55
e. take_start_key ( ) ,
56
56
e. take_end_key ( ) ,
57
57
)
58
- } else if e. has_stale_epoch ( ) {
58
+ } else if e. has_epoch_not_match ( ) {
59
59
Error :: StaleEpoch ( Some ( format ! (
60
60
"{}. New epoch: {:?}" ,
61
61
message,
62
- e. get_stale_epoch ( ) . get_new_regions ( )
62
+ e. get_epoch_not_match ( ) . get_current_regions ( )
63
63
) ) )
64
64
} else if e. has_server_is_busy ( ) {
65
65
let mut e = e. take_server_is_busy ( ) ;
You can’t perform that action at this time.
0 commit comments