mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 21:20:49 +00:00
Fix typos
This commit is contained in:
parent
89dd15a91d
commit
e7f792c94d
@ -272,7 +272,7 @@ void Changelog::readChangelogAndInitWriter(size_t from_log_index)
|
||||
/// All subsequent logs shouldn't exist. But they may exist if we crashed after writeAt started. Remove them.
|
||||
for (auto itr = existing_changelogs.upper_bound(incomplete_log_index); itr != existing_changelogs.end();)
|
||||
{
|
||||
LOG_WARNING(log, "Removing changelog {}, beacuse it's goes after broken changelog entry", itr->second.path);
|
||||
LOG_WARNING(log, "Removing changelog {}, because it's goes after broken changelog entry", itr->second.path);
|
||||
std::filesystem::remove(itr->second.path);
|
||||
itr = existing_changelogs.erase(itr);
|
||||
}
|
||||
|
@ -56,7 +56,7 @@ struct ChangelogFileDescription
|
||||
|
||||
class ChangelogWriter;
|
||||
|
||||
/// Simpliest changelog with files rotation.
|
||||
/// Simplest changelog with files rotation.
|
||||
/// No compression, no metadata, just entries with headers one by one
|
||||
/// Able to read broken files/entries and discard them.
|
||||
class Changelog
|
||||
|
Loading…
Reference in New Issue
Block a user