mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-04 22:13:19 +00:00
When "uploading" an sstable scylla uses a short-cut -- the sstable's files are to be put into upload/ subdir by the caller, then scylla just pulls them in in the cheapest way possible -- by relinking the files. When this happens sstable also changes its generation, which is the only place where this happens at all. For object storage uploading is not going to be _that_ simple, so for now add an fs-specific method to pick up an sstable from upload dir with the intent to generalize it (if possible) when object-storage uploading appears. Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>