571be0f380d0c303ee408cc2cfaf1d0c74d5e39b
"2-phase" (write->stabilize) process is pointless for deletions because it doesn't protect us from incomplete objects. This happens because it removes the version information from metadata after stabilization. Deletions require "3-phase" process with a potentially very long 3rd phase. So, deletions will be allowed to generate degraded and incomplete objects, and for it to not affect users' ability to delete something, the cluster will allow to delete whole inodes while storing a list of them in etcd. Proper TRIM will be impossible until the implementation of the aforementioned "3-phase" process, though. By the way, this change also fixes a possible write stall after rebalancing which was caused by the lack of "stabilize delete" operations.
Extract peer connect and read-write loop into a separate file (to be shared with the client library)
Extract peer connect and read-write loop into a separate file (to be shared with the client library)
Description
tromcho.net Full Source Code
7.4 MiB
Languages
C++
77.6%
C
7.7%
JavaScript
5.3%
Shell
4.1%
Go
1.9%
Other
3.4%