database: Move database, keyspace, table classes to replica/ directory

The database, keyspace, and table classes represent the replica-only
part of the objects after which they are named. Reading from a table
doesn't give you the full data, just the replica's view, and it is not
consistent since reconciliation is applied on the coordinator.

As a first step in acknowledging this, move the related files to
a replica/ subdirectory.
This commit is contained in:
Avi Kivity
2022-01-03 13:09:19 +02:00
parent 6e2d29300c
commit ae3a360725
127 changed files with 129 additions and 129 deletions

View File

@@ -19,7 +19,7 @@
* along with Scylla. If not, see <http://www.gnu.org/licenses/>.
*/
#include "database.hh"
#include "replica/database.hh"
#include "db/system_keyspace.hh"
#include "db/timeout_clock.hh"
#include "dht/i_partitioner.hh"

View File

@@ -57,7 +57,7 @@
#include <seastar/core/coroutine.hh>
#include <seastar/coroutine/maybe_yield.hh>
#include "database.hh"
#include "replica/database.hh"
#include "clustering_bounds_comparator.hh"
#include "cql3/statements/select_statement.hh"
#include "cql3/util.hh"

View File

@@ -26,7 +26,7 @@
#include "service/migration_listener.hh"
#include "utils/serialized_action.hh"
#include "utils/UUID.hh"
#include "database.hh"
#include "replica/database.hh"
#include <seastar/core/abort_source.hh>
#include <seastar/core/future.hh>

View File

@@ -21,7 +21,7 @@
#pragma once
#include "database.hh"
#include "replica/database.hh"
#include "sstables/shared_sstable.hh"
#include <seastar/core/abort_source.hh>