Drop the AGPL license in favor of a source-available license. See the blog post [1] for details. [1] https://www.scylladb.com/2024/12/18/why-were-moving-to-a-source-available-license/
43 lines
792 B
C++
43 lines
792 B
C++
/*
|
|
* Copyright (C) 2017-present ScyllaDB
|
|
*
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
|
|
*/
|
|
|
|
|
|
// Glue logic for writing memtables to sstables
|
|
|
|
#pragma once
|
|
|
|
#include "sstables/shared_sstable.hh"
|
|
#include <seastar/core/future.hh>
|
|
|
|
class mutation_reader;
|
|
class reader_permit;
|
|
|
|
namespace sstables {
|
|
class sstables_manager;
|
|
class sstable_writer_config;
|
|
class write_monitor;
|
|
}
|
|
|
|
namespace replica {
|
|
|
|
class memtable;
|
|
|
|
seastar::future<>
|
|
write_memtable_to_sstable(mutation_reader reader,
|
|
memtable& mt, sstables::shared_sstable sst,
|
|
size_t estimated_partitions,
|
|
sstables::write_monitor& monitor,
|
|
sstables::sstable_writer_config& cfg);
|
|
|
|
seastar::future<>
|
|
write_memtable_to_sstable(memtable& mt,
|
|
sstables::shared_sstable sst);
|
|
|
|
}
|