mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-28 12:40:49 +00:00
Useful comments
This commit is contained in:
parent
e6083c4dc4
commit
4e175bd988
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user