mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
Remove debug logs
This commit is contained in:
parent
ff0ed1b290
commit
decbd99338
@ -556,11 +556,9 @@ LogEntryPtr Changelog::getLastEntry() const
|
||||
/// This entry treaded in special way by NuRaft
|
||||
static LogEntryPtr fake_entry = nuraft::cs_new<nuraft::log_entry>(0, nuraft::buffer::alloc(sizeof(uint64_t)));
|
||||
|
||||
std::cerr << "MAX LOG ID:" << max_log_id << std::endl;
|
||||
auto entry = logs.find(max_log_id);
|
||||
if (entry == logs.end())
|
||||
{
|
||||
std::cerr << "MAX LOG ID NOT FOUND" << std::endl;
|
||||
return fake_entry;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user