You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(mft): remove premature tree metrics + remove child sorting for C++ parity
Drive D root cause: to_index.rs called compute_tree_metrics() before
returning to index_read.rs, which sorted and recomputed. The premature
call on unsorted children produced wrong directory sizes.
Drive S root cause: C++ outputs children in reverse MFT parse order
(no sorting). Rust sorted alphabetically, causing 99.96% diff rate.
Files were identical — only ordering differed.
Fix: Remove all sort_directory_children() calls (C++ doesn't sort)
and remove premature compute_tree_metrics() from inline IOCP readers.
Tree metrics are now computed exactly once per read path.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments