mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
issue: #42416 - change the key from partitionID into PartitionUniqueKey to support AllPartitionsID Signed-off-by: chyezh <chyezh@outlook.com>
19 lines
439 B
Go
19 lines
439 B
Go
package shards
|
|
|
|
import "github.com/milvus-io/milvus/internal/streamingnode/server/wal/interceptors/shard/utils"
|
|
|
|
type (
|
|
PartitionUniqueKey = utils.PartitionUniqueKey
|
|
SegmentBelongs = utils.SegmentBelongs
|
|
)
|
|
|
|
type TxnManager interface {
|
|
RecoverDone() <-chan struct{}
|
|
}
|
|
|
|
// TxnSession is a session interface
|
|
type TxnSession interface {
|
|
// should be called when the session is done.
|
|
RegisterCleanup(cleanup func(), timetick uint64)
|
|
}
|