Useful comments

This commit is contained in:
alesapin 2021-03-03 19:27:08 +03:00
parent e6083c4dc4
commit 4e175bd988

View File

@ -52,6 +52,7 @@ namespace
void writeNode(const NuKeeperStorage::Node & node, WriteBuffer & out) void writeNode(const NuKeeperStorage::Node & node, WriteBuffer & out)
{ {
/// FIXME why we store them in network order?
Coordination::write(node.data, out); Coordination::write(node.data, out);
Coordination::write(node.acls, out); Coordination::write(node.acls, out);
Coordination::write(node.is_sequental, out); Coordination::write(node.is_sequental, out);
@ -61,6 +62,7 @@ namespace
void readNode(NuKeeperStorage::Node & node, ReadBuffer & in) void readNode(NuKeeperStorage::Node & node, ReadBuffer & in)
{ {
/// FIXME why we store them in network order?
Coordination::read(node.data, in); Coordination::read(node.data, in);
Coordination::read(node.acls, in); Coordination::read(node.acls, in);
Coordination::read(node.is_sequental, in); Coordination::read(node.is_sequental, in);