You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the sstable is marked for deletion, e.g. when
writing the sstable fails for any reason before it's
sealed, make sure to remove the sstable's temporary
directory, if present, besides the sstables files.
This condition is benign as these empty temp dirs
are removed when scylla starts up, but the do accumulate
and we better remove them too.
Fixesscylladb#9522
Test: unit(dev)
Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
This is a cosmetic issue in nature.
If we fail to write a sstable for any reason before it's sealed, we do delete its component files, but we leave behind an empty temporary subdirectory.
This directory is benign and should be cleaned up next time scylla starts, but it would be more elegant if we remove in on the error path in https://github.com/scylladb/scylla/blob/5f513ed28b6048338ce0b1a913df567514927684/sstables/sstables.cc#L2443-L2462
The text was updated successfully, but these errors were encountered: