On 3/18/20 9:14 AM, alxg(a)weka.io wrote:
Hey Daniel,
So you're saying that clients which are working against a cluster of hosts with
floating IPs should not send unstable writes? In theory it should be possible to make them
work with unstable writes no?
If everything operates correctly, it should be okay to use unstable
writes with commits, even in a cluster, assuming the cluster has proper
Grace handling.
Do all the FSALs of clustered FSs always sync the writes regardless
of them being requested as unstable?
All FSALs, as far as I know, honor the write request flags.
And as long as we make sure that all writes to pagecache on the
server side are synced (i.e. the underlying mount for the export for our weka fs is with
"-o sync") - everything should be coherent?
Yes, for FSALs that use the pagecache.
So what is the `NFS_Commit` flag is for? in 2.8.3 I think it actually is unused - is it
not?
This was added for VMWare clients, to work around an odd performance
issue they had. It forced a sync on every write. It was lost in 2.7
with the transition to async read/write.
Daniel