mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 21:20:49 +00:00
fix deserialize log order.
This commit is contained in:
parent
ba33fbbf1d
commit
c86832b1d7
@ -587,9 +587,9 @@ void deserializeLogsAndApplyToStorage(KeeperStorage & storage, const std::string
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto & log_path : stored_files)
|
for (auto it = stored_files.rbegin(); it != stored_files.rend(); ++it)
|
||||||
{
|
{
|
||||||
deserializeLogAndApplyToStorage(storage, log_path, log);
|
deserializeLogAndApplyToStorage(storage, *it, log);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user