cocalele / PureFlash

A ServerSAN storage system designed for flash device
GNU General Public License v3.0
95 stars 29 forks source link

cluster meta data #29

Open cocalele opened 10 months ago

cocalele commented 10 months ago

cluster元数据,包括

有三种可能的方法: 一、 所有的store 使用同一个store_id,这样 在zk上仍然是一个逻辑store node, 注册到zk上时节点只是把自己的IP作为一个数据portal增加上去。 这个方法好处是pfconductor不需要做任何的改动,看到的视图和原来完全一样。 坏处在于: 1) 掩盖了多个物理节点的实际情况 2) 无法支持每个节点私有数据盘

二、保持每个store ID唯一,允许共享盘出现在多个store 下面

三、 为共享盘建立独立的注册管理体系

只有单副本的shard可以选择共享盘作为承载盘。

cocalele commented 9 months ago

done in commit: a8046fb