mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-12-03 20:41:50 +01:00
When an upload landed just as the next edit was queued, `place_landed` put the landed node's size back over the size the edit had stamped. A write opened next started at that older size, not the queued blob's. A larger size left the gap past a later write unauthored, and the commit filled it from the older revision. A smaller one cut the file. The write handle now starts at the queued edit's length, because the blob is the whole file. `place_landed` also applies queued sizes to the node it read back before interning it, as listings do. That narrows the stale-size window, but no site holds `pending` and `state` together, so it can't close it. B308.