syndicate-storage / syndicate

Internet-scale software-defined storage system
Apache License 2.0
56 stars 10 forks source link

open(O_CREAT) and creat() should replicate a manifest on close() if no data was written #84

Closed jcnelson closed 10 years ago

jcnelson commented 10 years ago

Otherwise, we end up with a file that can't be accessed via an RG until the first write. The file can be made permanently inaccessible if the UG that creates it dies before writing.

jcnelson commented 10 years ago

Or, we don't replicate a manifest at all, and simply remember in subsequent not to try to go get one.