mirror of
https://github.com/facebook/sapling.git
synced 2024-12-27 06:52:23 +03:00
0ae5a59e9e
Summary: Previously, `flush()` will skip writing the file if there are only metadata changes. Fix it by detecting metadata changes. This can potentially fix an issue that certain blackbox indexes are empty, lagging and require scanning the whole log again and again. In that case, the index itself is not changed (the root radix entry is not changed), but only the metadata tracking how many bytes in Log the index covered changed. Reviewed By: sfilipco Differential Revision: D20264627 fbshipit-source-id: 7ee48454a92b5786b847d8b1d738cc38183f7a32 |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |