Store模块

store模块负责图片数据的存储,在单机图片存储引擎的基础上,增加网络模块,对外提供是单机图片存储、下载、删除功能。同时还有volume元数据的管理,预分配volume,将volume状态从预分配变为上线状态。 利用各种组件主要是Volume`实现存储功能,具体包含:

  • 通过vf,fvfvolume meta file,free volume meta文件管理起来,新增、删除volume项
  • 在内存中创建Volume,Free Volume对象来实现对Volume对象管理
  • 分配Free Volume
  • Free Volume上线
  • Compact Volume
  • 删除Volume
  • 复制Volume到本机
  • 上传、下载、删除Volume中的图片

results matching ""

    No results matching ""