mirror of https://github.com/tikv/client-rust.git
add logs for debug convenience
Signed-off-by: haojinming <jinming.hao@pingcap.com>
This commit is contained in:
parent
fbd0c531ff
commit
28e0fae819
|
@ -51,8 +51,9 @@ pub async fn init() -> Result<()> {
|
||||||
}
|
}
|
||||||
|
|
||||||
clear_tikv().await;
|
clear_tikv().await;
|
||||||
|
let region_cnt = ctl::get_region_count().await?;
|
||||||
// print log for debug convenience
|
// print log for debug convenience
|
||||||
println!("init finish");
|
println!("init finish with {} regions", region_cnt);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue