We can catch most errors when we try to load an sstable. But if the TOC file is the one missing, we won't try to load the sstable at all. This case is still an invalid case, but it is way easier for us to treat it by waiting for all files to be loaded, and then checking if we saw a file during scan_dir, without its corresponding TOC. Fixes #114 Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>
50 KiB
50 KiB