mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 09:38:39 +08:00
Signed-off-by: longjiquan <jiquan.long@zilliz.com> Signed-off-by: longjiquan <jiquan.long@zilliz.com>
20 lines
540 B
Go
20 lines
540 B
Go
package legacy
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/milvus-io/milvus/cmd/tools/migration/utils"
|
|
)
|
|
|
|
func BuildCollectionIndexKey210(collectionID, indexID utils.UniqueID) string {
|
|
return fmt.Sprintf("%s/%d/%d", IndexMetaBefore220Prefix, collectionID, indexID)
|
|
}
|
|
|
|
func BuildSegmentIndexKey210(segmentID, indexID utils.UniqueID) string {
|
|
return fmt.Sprintf("%s/%d/%d", SegmentIndexPrefixBefore220, segmentID, indexID)
|
|
}
|
|
|
|
func BuildIndexBuildKey210(buildID utils.UniqueID) string {
|
|
return fmt.Sprintf("%s/%d", IndexBuildPrefixBefore220, buildID)
|
|
}
|