blob: 22d90b7554b888a296f2a450481be7b75c4da0d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "futurized_store.h"
#include "cyan_store.h"
namespace crimson::os {
std::unique_ptr<FuturizedStore>
FuturizedStore::create(const std::string& type,
const std::string& data)
{
if (type == "memstore") {
return std::make_unique<crimson::os::CyanStore>(data);
} else {
ceph_abort_msgf("unsupported objectstore type: %s", type.c_str());
return {};
}
}
}
|