milvus-io / milvus-storage

Milvus file storage format repo
Apache License 2.0
17 stars 15 forks source link

[Feature] Support multiple versions #16

Open sunby opened 1 year ago

sunby commented 1 year ago

We need to support multiple versions in space and restore data from a previous version. A version means a list of files at a moment. An operation like insert/delete will update the version of space. To support multiple versions, we could maintain a manifest file for a version. There are some functionalities we should accomplish:

  1. When call Open, if users specify a version, then we restore the state from then. If not, use the newest version.
  2. If we use an old version, subsequent writes/deletes will be based on this view and generate a manifest as newest manifest.
  3. We only serve one version at the a time.