QA batch 4b - logical size and content mtime survive the backend (v0.6.252) #701
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-qa4b"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Second slice of the storage cluster: sizes and times tell the truth on encrypted/object backends.
ownermeta.RecgainsSize/MTime(nil = pre-upgrade entry, fall back to backend). Recorded at write via a plaintext-counting reader, overlaid inListandStat, carried across rename/move by the existing record migration — that preservation IS the #664 fix; the overlay IS the #659 fix (PROPFIND, the web listing and/api/v1/filesall flow through this layer)..cairn-meta.jsonwrites no longer mint versions of the manifest itself (#670 side-finding — one guard in the versions layer, shared by Write and Delete).Known limits (in the changelog too): files written before this release keep backend values until their next write; a trash-restore returns to backend values until rewritten.
Red-green: internal/storage/ownermeta/qa4b_test.go drives an inflating fake backend (+3000-byte envelope, rewrite-time renames) and asserts 10 plaintext bytes and a preserved Modified through the layer.
Closes #659
Closes #664