mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
Fix tidy
This commit is contained in:
parent
7f815325ba
commit
904b4754cc
@ -302,7 +302,7 @@ void Changelog::rotate(size_t new_start_log_idx)
|
||||
current_writer = std::make_unique<ChangelogWriter>(new_description.path, WriteMode::Rewrite, new_start_log_idx);
|
||||
}
|
||||
|
||||
ChangelogRecord Changelog::buildRecord(size_t index, nuraft::ptr<nuraft::log_entry> log_entry) const
|
||||
ChangelogRecord Changelog::buildRecord(size_t index, nuraft::ptr<nuraft::log_entry> log_entry)
|
||||
{
|
||||
ChangelogRecordHeader header;
|
||||
header.index = index;
|
||||
|
@ -103,7 +103,7 @@ private:
|
||||
|
||||
void rotate(size_t new_start_log_idx);
|
||||
|
||||
ChangelogRecord buildRecord(size_t index, nuraft::ptr<nuraft::log_entry> log_entry) const;
|
||||
static ChangelogRecord buildRecord(size_t index, nuraft::ptr<nuraft::log_entry> log_entry);
|
||||
|
||||
private:
|
||||
std::string changelogs_dir;
|
||||
|
Loading…
Reference in New Issue
Block a user