Update git submodules
* Update swift from branch 'master' to 407af6334904cd83e0931d9f129bbade8002f50c - Merge "reconstructor: purge meta files in pure handoffs" - reconstructor: purge meta files in pure handoffs Previously, after reverting handoff files, the reconstructor would only purge tombstones and data files for the reverted fragment index. Any meta files were not purged because the partition might also be on a primary node for a different fragment index. For example, if, before the reconstructor visits, the object hash dir contained: t1#1#d.data t1#2#d.data t2.meta where frag index 1 is a handoff and gets reverted, then, after the reconstructor has visited, the hash dir should still contain: t1#2#d.data t2.meta If, before the reconstructor visits, the object hash dir contained: t1#1#d.data t2.meta then, after the reconstructor has visited, the hash dir would still contain: t2.meta The retention of meta files is undesirable when the partition is a "pure handoff" i.e. the node is not a primary for the partition for any fragment index. With this patch the meta files are purged after being reverted if the reconstructor has no sync job for the partition (i.e. the partition is a "pure handoff") and there are no more fragments to revert. Change-Id: I107af3bc2d62768e063ef3176645d60ef22fa6d4 Co-Authored-By: Tim Burke <tim.burke@gmail.com>
This commit is contained in:
parent
2d0bda7967
commit
330f64948b
2
swift
2
swift
|
@ -1 +1 @@
|
|||
Subproject commit 93118e21168fc7b2839019eefeb1a02ae60e94de
|
||||
Subproject commit 407af6334904cd83e0931d9f129bbade8002f50c
|
Loading…
Reference in New Issue