Commit 34de9be4 authored by Kirill Smelkov's avatar Kirill Smelkov

X notes on partition table

parent da3e0774
......@@ -334,3 +334,31 @@ Tables
# uncommitted object metadata
# (= obj)
- tobj
Partition Table (general & current-py)
--------------------------------------
#Np (how-many partitions) #R (replication factor)
Cell
.node (-> .uuid, .addr)
.state
PT
.id↑
.partition_list [#Np] of []Cell
.count_dict {} node -> #node_used_in_pt
Pt
+-+
| |
+-+ +----------+ +------------+ +-----+
| | |node,state| |node2,state2| |cell3| ...
+-+ +----------+ +------------+ +-----+
Np | |
+-+
| |
+-+ oid -> PTentry (as PT[oid % Np]
| | tid
+-+
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