forked from TrueCloudLab/frostfs-node
Aleksey Savchuk
6ccac0a476
This function was very obfuscated. I hope the newer version is more clear, but IMHO it keeps being bad because: - Its name is confusing because it checks both the graveyard and the garbage. - It has no interface. We use that function in several metabase methods, it just returns some 'magic' uint8 numbers and has no doc comment, I mean it's ridiculous. - It checks out for 'the node being in incorrect state' for some reason but that result isn't used further. I kept a comment about that but it has no logic for me. Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com> |
||
---|---|---|
.. | ||
blobovnicza | ||
blobstor | ||
engine | ||
internal | ||
metabase | ||
metrics | ||
pilorama | ||
shard | ||
util | ||
writecache |