Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
Signed-off-by: Calvin Neo <calvinneo1995@gmail.com>
  • Loading branch information
CalvinNeo committed Sep 19, 2024
1 parent 8789e74 commit 56c4e14
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion proxy_components/engine_store_ffi/src/core/fast_add_peer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,14 @@ impl<T: Transport + 'static, ER: RaftEngine> ProxyForwarder<T, ER> {
"apply_state" => ?apply_state,
);
let serverless_extra = ServerlessExtra::new(&res);
match self.build_and_send_snapshot(region_id, new_peer_id, msg, apply_state, new_region, serverless_extra) {
match self.build_and_send_snapshot(
region_id,
new_peer_id,
msg,
apply_state,
new_region,
serverless_extra,
) {
Ok(s) => {
match s {
FastAddPeerStatus::Ok => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ impl ServerlessExtra {
pub fn new(res: &FastAddPeerRes) -> Self {
Default::default()
}
}
}

0 comments on commit 56c4e14

Please sign in to comment.