mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
Update DatabaseReplicatedWorker.cpp
This commit is contained in:
parent
faae540a85
commit
2894672ecc
@ -319,7 +319,6 @@ bool DatabaseReplicatedDDLWorker::canRemoveQueueEntry(const String & entry_name,
|
|||||||
void DatabaseReplicatedDDLWorker::initializeLogPointer(const String & processed_entry_name)
|
void DatabaseReplicatedDDLWorker::initializeLogPointer(const String & processed_entry_name)
|
||||||
{
|
{
|
||||||
updateMaxDDLEntryID(processed_entry_name);
|
updateMaxDDLEntryID(processed_entry_name);
|
||||||
assert(max_id.load() == parse<UInt32>(getAndSetZooKeeper()->get(fs::path(database->replica_path) / "log_ptr")));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
UInt32 DatabaseReplicatedDDLWorker::getLogPointer() const
|
UInt32 DatabaseReplicatedDDLWorker::getLogPointer() const
|
||||||
|
Loading…
Reference in New Issue
Block a user