Repository navigation
ateapi: store snapshots under stable UUID paths - #568
Haven Xia (HavenXia) merged 1 commit into
Conversation
4fd1264 to
56f8e8b
Compare
56f8e8b to
4fa6623
Compare
Concern:This concept introduces a tight coupling between the snapshot layer and the persistence layer. If an issue occurs with the persistence layer, data cannot be recreated. Relying on backups is insufficient because, between the most recent backup and the failure point, we cannot determine which snapshot belongs to which actor. Proposals:Option 1: Keep the directory layout flat as proposed in this PR, but store an additional metadata file inside the snapshot folder indicating its associated actor. |
I'm happy to add the metadata file, but at a higher level is persistence rebuilding a goal of the project. From everything I've seen so far data loss is essentially existential for the system. |
|
Added the metadata mapping while keeping the storage layout flat. Each snapshot already contains a |
d120dbb to
695e417
Compare
695e417 to
88cb2fa
Compare
Summary
<configured-root>/snapshots/<uuid>This is a small storage-layout prerequisite for #529. Snapshot metadata, tagging, and retention remain separate follow-up work.
Testing
make testenv -u NO_COLOR make verify