Files
scylladb/redis/keyspace_utils.hh
Avi Kivity 582802825a treewide: use system-#include (angle brackets) for seastar
Seastar is an external library from Scylla's point of view so
we should use the angle bracket #include style. Most of the source
follows this, this patch fixes a few stragglers.

Also fix cases of #include which reached out to seastar's directory
tree directly, via #include "seastar/include/sesatar/..." to
just refer to <seastar/...>.

Closes #10433
2022-04-26 14:46:42 +03:00

42 lines
919 B
C++

/*
* Copyright (C) 2019 pengjian.uestc @ gmail.com
*/
/*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#pragma once
#include <seastar/core/sharded.hh>
#include <seastar/core/future.hh>
namespace service {
class migration_manager;
class storage_proxy;
}
namespace db {
class config;
}
namespace gms {
class gossiper;
}
namespace data_dictionary {
class database;
}
namespace redis {
static constexpr auto DATA_COLUMN_NAME = "data";
static constexpr auto STRINGs = "STRINGs";
static constexpr auto LISTs = "LISTs";
static constexpr auto HASHes = "HASHes";
static constexpr auto SETs = "SETs";
static constexpr auto ZSETs = "ZSETs";
seastar::future<> maybe_create_keyspace(seastar::sharded<service::storage_proxy>& proxy, data_dictionary::database db, seastar::sharded<service::migration_manager>& mm, db::config& cfg, seastar::sharded<gms::gossiper>& g);
}