diff --git a/src/Coordination/KeeperSnapshotManager.cpp b/src/Coordination/KeeperSnapshotManager.cpp index fe6c7e3a389..c176536dfbf 100644 --- a/src/Coordination/KeeperSnapshotManager.cpp +++ b/src/Coordination/KeeperSnapshotManager.cpp @@ -454,7 +454,7 @@ void KeeperStorageSnapshot::deserialize(SnapshotDeserializationResult & deserial #else throw Exception(ErrorCodes::LOGICAL_ERROR, "Children counter in stat.numChildren {}" " is different from actual children size {} for node {}", - itr.value.stat.numChildren, itr.value.getChildren().size(), itr.key); + itr.value.numChildren(), itr.value.getChildren().size(), itr.key); #endif } }