From 4e175bd9881f05d4f2456419e092d0852a2f40fb Mon Sep 17 00:00:00 2001 From: alesapin Date: Wed, 3 Mar 2021 19:27:08 +0300 Subject: [PATCH] Useful comments --- src/Coordination/NuKeeperSnapshotManager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Coordination/NuKeeperSnapshotManager.cpp b/src/Coordination/NuKeeperSnapshotManager.cpp index b3212f362ad..dce36bf8046 100644 --- a/src/Coordination/NuKeeperSnapshotManager.cpp +++ b/src/Coordination/NuKeeperSnapshotManager.cpp @@ -52,6 +52,7 @@ namespace void writeNode(const NuKeeperStorage::Node & node, WriteBuffer & out) { + /// FIXME why we store them in network order? Coordination::write(node.data, out); Coordination::write(node.acls, out); Coordination::write(node.is_sequental, out); @@ -61,6 +62,7 @@ namespace void readNode(NuKeeperStorage::Node & node, ReadBuffer & in) { + /// FIXME why we store them in network order? Coordination::read(node.data, in); Coordination::read(node.acls, in); Coordination::read(node.is_sequental, in);