milvus-io/milvus

[Feature]: Support Truncate collection

オープン

#26,280 opened on 2023/08/11

 (8 件のコメント) (0 件のリアクション) (2 人の担当者)Go (4,000 件のフォーク)batch import
good first issuekind/feature

Repository metrics

Stars
 (44,298 個のスター)
PR merge metrics
 (平均マージ 7d) (30d で 314 merged PRs)

説明

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

Truncate a collection cleans all data in a collection. This can help user to clean up data as soon as possible.

To truncate a collection

  1. Disalble writing of a collection
  2. release the collection
  3. change collection id to a new value
  4. cleanup all the meta of the old collection
  5. wait for async garbage colleciton of the actual. data

Describe the solution you'd like.

No response

Describe an alternate solution.

No response

Anything else? (Additional Context)

No response

コントリビューターガイド