Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

StorageEngine(单机与分布式共用此结构):管理 Map<StringID, VSGProcessor>

  • 单机中通过 StorageName 和 VirtualStorageGroupProcessor DeviceId 计算出 StringID。StringID,从而找到对应的 VSG。
  • 分布式中根据 DeviceId 从 ConfigNode 查询到对应的 VSGID(StringID),发给 DataNode,通过 StorageEngine 获取对应的 VSG。

...