mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-25 18:43:32 +01:00
Each pass over a mirror folder now records how long its stages take (lock wait, baseline, local walk, remote walk, plan, apply, cleanup). It also records the count and the total and max time of each kind of Drive call and applied op, how many items each stage handled, and the slowest folder listing on Drive. The trace is logged as "sync: pass trace" when a pass ends, is cut short or runs longer than 30 s. The running pass and the last pass over each folder go out in SyncEngineState::traces, which `pdfs diagnostics` prints. The new sim test found that a file uploaded by a pass gets a baseline row without a revision id: Drive does not list the node at once, and the upload returns only its uid. Since B294, the next pass reads such a file in full once and records the id.