Files
scylladb/sstables/sstable_version_m.hh
Michał Chojnowski db4283b542 sstables: introduce ms sstable format version
Introduce `ms` -- a new sstable format version which
is a hybrid of Cassandra's `me` and `da`.

It is based on `me`, but with the index components
(Summary.db and Index.db) replaced with the index
components of `da` (Partitions.db and Rows.db).

As of this patch, the version is never chosen
anywhere for writing sstables yet. It is only introduced.
We will add it to unit tests in a later commit,
and expose it to users in yet later commit.
2025-09-29 22:15:24 +02:00

31 lines
784 B
C++

/*
* Copyright (C) 2018-present ScyllaDB
*
*/
/*
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
*/
#pragma once
#include "sstable_version.hh"
namespace sstables {
class sstable_version_constants_m final : public sstable_version_constants {
public:
static const sstable_version_constants::component_map_t create_component_map();
sstable_version_constants_m() = delete;
static const sstable_version_constants::component_map_t _component_map;
};
class sstable_version_constants_ms final : public sstable_version_constants {
public:
static const sstable_version_constants::component_map_t create_component_map();
sstable_version_constants_ms() = delete;
static const sstable_version_constants::component_map_t _component_map;
};
}