Replies: 1 comment 2 replies
-
Yes,
Unlike data operations detecting the changes for an entry/metadata can be done with one LOOKUP. For metadata and entry transactions pre-op operation is not done by default because any failures will be fixed on next LOOKUP operation anyway.
This is to avoid filesystem syncing metadata before syncing data in which case the data that AFR things to be good can be bad.
|
Beta Was this translation helpful? Give feedback.
-
in dev-sessions vedio 14# and 15# , there are some things I'm not sure.
refresh
? Does it mean that get the new attr information about this inode? and I don't know when use therefresh
.skip pre-op operation for metadata/entry transactions
? it means that if we do the pre-op operations successfully, then if there are some other same operations in the same times, we don't need to do this pre-op operations again, right ?I don't know how to understand this comment, it means that if client knows one brick is broken or can't connect ,perhaps other bricks can connect this broken brick ,so it's not a stable situation to deal and write the dirty information, right ? for this reason, how to judge this brick is broken in truth ? is that use the quorum numbers to judge ?
thanks.
Beta Was this translation helpful? Give feedback.
All reactions