Skip to content
Snippets Groups Projects
Commit 2b5600a5 authored by Julien Leduc's avatar Julien Leduc
Browse files

files with fxid coded on 8 or 9 characters in hexadecimal should be considered...

files with fxid coded on 8 or 9 characters in hexadecimal should be considered for GC (8 is not enough).
parent 533d7edd
No related branches found
No related tags found
No related merge requests found
......@@ -429,7 +429,7 @@ class Gc:
except Exception as err:
self.log.error('process_fs_sub_dir: Failed to list contents of sub directory: sub_dir={}: {}'.format(sub_dir, err))
fst_files = [f for f in sub_dir_files if re.match('^[0-9A-Fa-f]{8}$', f) and self.disk.isfile(os.path.join(sub_dir, f))]
fst_files = [f for f in sub_dir_files if re.match('^[0-9A-Fa-f]{8,9}$', f) and self.disk.isfile(os.path.join(sub_dir, f))]
for fst_file in fst_files:
self.process_file(sub_dir, fst_file, eos_space)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment