mirror of
https://github.com/deepseek-ai/3FS
synced 2025-06-26 18:16:45 +00:00
Initial commit
This commit is contained in:
22
src/fdb/FDBConfig.h
Normal file
22
src/fdb/FDBConfig.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
#include "common/utils/ConfigBase.h"
|
||||
|
||||
namespace hf3fs::kv::fdb {
|
||||
struct FDBConfig : public ConfigBase<FDBConfig> {
|
||||
CONFIG_ITEM(clusterFile, "");
|
||||
CONFIG_ITEM(enableMultipleClient, false);
|
||||
CONFIG_ITEM(externalClientDir, "");
|
||||
CONFIG_ITEM(externalClientPath, "");
|
||||
CONFIG_ITEM(multipleClientThreadNum, 4L, ConfigCheckers::checkPositive);
|
||||
CONFIG_ITEM(trace_file, "");
|
||||
CONFIG_ITEM(trace_format, "json");
|
||||
CONFIG_ITEM(casual_read_risky, false);
|
||||
CONFIG_ITEM(default_backoff, 0);
|
||||
CONFIG_ITEM(readonly, false);
|
||||
};
|
||||
|
||||
} // namespace hf3fs::kv::fdb
|
||||
Reference in New Issue
Block a user