mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fix standalone build
This commit is contained in:
parent
f2a9b5933d
commit
8aeb406d82
@ -58,6 +58,14 @@ int mainEntryClickHouseKeeper(int argc, char ** argv)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef KEEPER_STANDALONE_BUILD
|
||||
|
||||
void collectCrashLog(
|
||||
Int32, UInt64, const String &, const StackTrace &)
|
||||
{}
|
||||
|
||||
#endif
|
||||
|
||||
namespace DB
|
||||
{
|
||||
|
||||
|
@ -214,7 +214,6 @@ void KeeperDispatcher::snapshotThread()
|
||||
void KeeperDispatcher::setResponse(int64_t session_id, const Coordination::ZooKeeperResponsePtr & response)
|
||||
{
|
||||
std::lock_guard lock(session_to_response_callback_mutex);
|
||||
LOG_INFO(&Poco::Logger::get("LOGGER"), "Sending {} for {}", session_id, response->getOpNum());
|
||||
|
||||
/// Special new session response.
|
||||
if (response->xid != Coordination::WATCH_XID && response->getOpNum() == Coordination::OpNum::SessionID)
|
||||
|
@ -774,7 +774,6 @@ struct KeeperStorageHeartbeatRequestProcessor final : public KeeperStorageReques
|
||||
Coordination::ZooKeeperResponsePtr
|
||||
process(KeeperStorage & /* storage */, int64_t /* zxid */) const override
|
||||
{
|
||||
LOG_INFO(&Poco::Logger::get("LOGGER"), "Processing heartbeat");
|
||||
return zk_request->makeResponse();
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user