Commit bb381ec3 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 74daaca9
......@@ -290,3 +290,14 @@ func PartTabFromMsg(msg *proto.SendPartitionTable) *PartitionTable {
// ----------------------------------------
// Clone creates new instance of PartitionTable initialized with previous content.
func (pt PartitionTable) Clone() *PartitionTable {
pt_ := &PartitionTable{
PTid: pt.PTid,
r_: pt.r_,
}
pt_.tab = ...
return pt_
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment