From aa65cfd55da99585b25f33ed7019c83687117a37 Mon Sep 17 00:00:00 2001 From: Nikita Sivukhin Date: Wed, 12 Nov 2025 16:14:14 +0400 Subject: [PATCH] update Cargo.toml --- sync/engine/Cargo.toml | 9 ++++++++- sync/engine/src/database_sync_operations.rs | 4 ++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/sync/engine/Cargo.toml b/sync/engine/Cargo.toml index e99564c17..c0d01f8f3 100644 --- a/sync/engine/Cargo.toml +++ b/sync/engine/Cargo.toml @@ -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 } diff --git a/sync/engine/src/database_sync_operations.rs b/sync/engine/src/database_sync_operations.rs index 906bdb7da..1f6361b53 100644 --- a/sync/engine/src/database_sync_operations.rs +++ b/sync/engine/src/database_sync_operations.rs @@ -1223,6 +1223,10 @@ pub async fn bootstrap_db_file_v1( wait_proto_message::(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 {