process compressed block when listing all files
Some checks failed
continuous-integration/drone/pr Build is failing
Some checks failed
continuous-integration/drone/pr Build is failing
This commit is contained in:
parent
a51f671d86
commit
d5d75fb4fa
2 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,7 @@ arc-swap = "1.0"
|
||||||
hex = "0.4"
|
hex = "0.4"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
zstd = "0.9"
|
zstd = { version = "0.9", default-features = false }
|
||||||
|
|
||||||
sled = "0.34"
|
sled = "0.34"
|
||||||
|
|
||||||
|
|
|
@ -697,6 +697,7 @@ impl BlockManager {
|
||||||
};
|
};
|
||||||
let ent_type = data_dir_ent.file_type().await?;
|
let ent_type = data_dir_ent.file_type().await?;
|
||||||
|
|
||||||
|
let name = name.strip_suffix(".zst").unwrap_or(&name);
|
||||||
if name.len() == 2 && hex::decode(&name).is_ok() && ent_type.is_dir() {
|
if name.len() == 2 && hex::decode(&name).is_ok() && ent_type.is_dir() {
|
||||||
state = self
|
state = self
|
||||||
.for_each_file_rec(&data_dir_ent.path(), state, f, must_exit)
|
.for_each_file_rec(&data_dir_ent.path(), state, f, must_exit)
|
||||||
|
|
Loading…
Reference in a new issue