mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-17 16:44:19 +01:00
update Cargo.toml
This commit is contained in:
@@ -21,11 +21,18 @@ base64 = "0.22.1"
|
||||
prost = "0.14.1"
|
||||
roaring = "0.11.2"
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
libc = { version = "0.2.172" }
|
||||
|
||||
[dev-dependencies]
|
||||
ctor = "0.4.2"
|
||||
tempfile = { workspace = true }
|
||||
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "test-util"] }
|
||||
tokio = { workspace = true, features = [
|
||||
"macros",
|
||||
"rt-multi-thread",
|
||||
"test-util",
|
||||
] }
|
||||
uuid = "1.17.0"
|
||||
rand = { workspace = true }
|
||||
rand_chacha = { workspace = true }
|
||||
|
||||
@@ -1223,6 +1223,10 @@ pub async fn bootstrap_db_file_v1<C: ProtocolIO, Ctx>(
|
||||
wait_proto_message::<Ctx, PageData>(coro, &completion, &client.network_stats, &mut bytes)
|
||||
.await?
|
||||
{
|
||||
tracing::info!(
|
||||
"bootstrap_db_file: received page page_id={}",
|
||||
page_data.page_id
|
||||
);
|
||||
let offset = page_data.page_id * PAGE_SIZE as u64;
|
||||
let page = decode_page(&header, page_data)?;
|
||||
if page.len() != PAGE_SIZE {
|
||||
|
||||
Reference in New Issue
Block a user