- Shipped
- September 11, 2026 at 6:32 AM UTC
- Author
- Kamo
- Commit
- 034f52c
A category that keeps versions holds every earlier file of a document in img_versions, each on its own content-addressed file. The storage meter, the quota and the nightly snapshots read only what each document is now, so bytes held only by old versions were stored and never counted. The imaging rows now take in the kept versions too, under their document's association. partition() keys on the file, so a file that is current and also kept, a version put back by a restore, or one file shared by two documents is still one charge. A kept version's page previews are counted with it. A version lives and goes with its document, so the live figure drops it when it drops the document. **************** boots every entity without a database and parses the new JPQL, so a wrong path or field fails at build, not in billing's nightly run.