mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
Revert formatting
This commit is contained in:
parent
e5f7f5f689
commit
25ab817c2b
@ -390,13 +390,13 @@ Coordination::ACLs KeeperStorage::UncommittedState::getACLs(StringRef path) cons
|
||||
namespace
|
||||
{
|
||||
|
||||
[[noreturn]] void onStorageInconsistency()
|
||||
{
|
||||
LOG_ERROR(
|
||||
&Poco::Logger::get("KeeperStorage"),
|
||||
"Inconsistency found between uncommitted and committed data. Keeper will terminate to avoid undefined behaviour.");
|
||||
std::terminate();
|
||||
}
|
||||
[[noreturn]] void onStorageInconsistency()
|
||||
{
|
||||
LOG_ERROR(
|
||||
&Poco::Logger::get("KeeperStorage"),
|
||||
"Inconsistency found between uncommitted and committed data. Keeper will terminate to avoid undefined behaviour.");
|
||||
std::terminate();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1033,9 +1033,17 @@ struct KeeperStorageSetRequestProcessor final : public KeeperStorageRequestProce
|
||||
},
|
||||
request.version});
|
||||
|
||||
new_deltas.emplace_back(parentPath(request.path).toString(), zxid, KeeperStorage::UpdateNodeDelta{[](KeeperStorage::Node & parent) {
|
||||
parent.stat.cversion++;
|
||||
}});
|
||||
new_deltas.emplace_back(
|
||||
parentPath(request.path).toString(),
|
||||
zxid,
|
||||
KeeperStorage::UpdateNodeDelta
|
||||
{
|
||||
[](KeeperStorage::Node & parent)
|
||||
{
|
||||
parent.stat.cversion++;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
digest = storage.calculateNodesDigest(digest, new_deltas);
|
||||
return new_deltas;
|
||||
|
Loading…
Reference in New Issue
Block a user