> +  fs().remove(path);
>    fs().rename(tmp, path);
>  }
>
> the reason why I inserted fs().remove(path): in some filesystem,
> renaming does not automatically remove the destination file

See my previous post for a possibility of unrecoverable race
condition. POSIX rename removes destination files. Since we have
control over fs API. We can make sure a dfs broker removes destination
files.

__Luke
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Hypertable Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hypertable-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to