mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 02:52:13 +00:00
small fixes
This commit is contained in:
parent
3b5bdd1e2a
commit
93d8b8bb61
@ -90,7 +90,7 @@ public:
|
||||
|
||||
void finalize(const String & reason) override;
|
||||
|
||||
Coordination::KeeperApiVersion getApiVersion() override
|
||||
Coordination::KeeperApiVersion getApiVersion() override
|
||||
{
|
||||
return KeeperApiVersion::V0;
|
||||
}
|
||||
|
@ -1085,7 +1085,7 @@ void ZooKeeper::initApiVersion()
|
||||
if (response.error != Coordination::Error::ZOK)
|
||||
return;
|
||||
|
||||
uint8_t keeper_version{0};
|
||||
uint8_t keeper_version{0};
|
||||
DB::ReadBufferFromOwnString buf(response.data);
|
||||
DB::readIntText(keeper_version, buf);
|
||||
keeper_api_version = static_cast<Coordination::KeeperApiVersion>(keeper_version);
|
||||
|
@ -85,6 +85,7 @@ NamesAndTypesList ZooKeeperLogElement::getNamesAndTypes()
|
||||
{"Multi", static_cast<Int16>(Coordination::OpNum::Multi)},
|
||||
{"Auth", static_cast<Int16>(Coordination::OpNum::Auth)},
|
||||
{"SessionID", static_cast<Int16>(Coordination::OpNum::SessionID)},
|
||||
{"FilteredList", static_cast<Int16>(Coordination::OpNum::FilteredList)},
|
||||
});
|
||||
|
||||
auto error_enum = getCoordinationErrorCodesEnumType();
|
||||
|
Loading…
Reference in New Issue
Block a user