2022-07-19 08:51:12 +00:00
|
|
|
#pragma once
|
2022-07-22 08:07:38 +00:00
|
|
|
#include <IO/WriteHelpers.h>
|
|
|
|
|
2022-07-19 08:51:12 +00:00
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
2023-06-12 10:57:03 +00:00
|
|
|
/// left for backwards compatibility
|
2022-07-19 08:51:12 +00:00
|
|
|
enum class KeeperApiVersion : uint8_t
|
|
|
|
{
|
2022-07-22 10:55:13 +00:00
|
|
|
ZOOKEEPER_COMPATIBLE = 0,
|
2022-09-16 12:00:35 +00:00
|
|
|
WITH_FILTERED_LIST,
|
2023-04-18 13:15:23 +00:00
|
|
|
WITH_MULTI_READ,
|
|
|
|
WITH_CHECK_NOT_EXISTS,
|
2022-07-19 08:51:12 +00:00
|
|
|
};
|
|
|
|
|
2023-04-20 13:26:02 +00:00
|
|
|
const String keeper_system_path = "/keeper";
|
|
|
|
const String keeper_api_version_path = keeper_system_path + "/api_version";
|
|
|
|
const String keeper_api_feature_flags_path = keeper_system_path + "/feature_flags";
|
|
|
|
const String keeper_config_path = keeper_system_path + "/config";
|
2023-11-13 19:03:27 +00:00
|
|
|
const String keeper_availability_zone_path = keeper_system_path + "/availability_zone";
|
2022-07-22 08:07:38 +00:00
|
|
|
|
2022-07-19 08:51:12 +00:00
|
|
|
}
|