Introduce mutation/ module

Move mutation-related files to a new mutation/ directory. The names
are kept in the global namespace to reduce churn; the names are
unambiguous in any case.

mutation_reader remains in the readers/ module.

mutation_partition_v2.cc was missing from CMakeLists.txt; it's added in this
patch.

This is a step forward towards librarization or modularization of the
source base.

Closes #12788
This commit is contained in:
Avi Kivity
2023-02-08 23:41:49 +02:00
committed by Botond Dénes
parent e2a20a108f
commit c5e4bf51bd
185 changed files with 242 additions and 241 deletions

View File

@@ -11,7 +11,7 @@
#include "db/timeout_clock.hh"
#include "dht/i_partitioner.hh"
#include "readers/flat_mutation_reader_v2.hh"
#include "mutation_fragment.hh"
#include "mutation/mutation_fragment.hh"
#include "query-request.hh"
#include "schema_fwd.hh"
#include "tracing/tracing.hh"

View File

@@ -43,8 +43,8 @@
#include "gms/inet_address.hh"
#include "keys.hh"
#include "locator/network_topology_strategy.hh"
#include "mutation.hh"
#include "mutation_partition.hh"
#include "mutation/mutation.hh"
#include "mutation/mutation_partition.hh"
#include "service/migration_manager.hh"
#include "service/storage_proxy.hh"
#include "utils/small_vector.hh"

View File

@@ -13,7 +13,7 @@
#include "query-request.hh"
#include "schema_fwd.hh"
#include "readers/flat_mutation_reader_v2.hh"
#include "frozen_mutation.hh"
#include "mutation/frozen_mutation.hh"
class frozen_mutation_and_schema;

View File

@@ -10,14 +10,14 @@
#include "dht/i_partitioner.hh"
#include "schema_fwd.hh"
#include "mutation_fragment.hh"
#include "mutation/mutation_fragment.hh"
#include "sstables/shared_sstable.hh"
#include "reader_permit.hh"
#include "db/view/row_locking.hh"
#include <seastar/core/abort_source.hh>
#include <seastar/core/circular_buffer.hh>
#include "mutation.hh"
#include "mutation_rebuilder.hh"
#include "mutation/mutation.hh"
#include "mutation/mutation_rebuilder.hh"
class evictable_reader_handle;
class evictable_reader_handle_v2;