Zhen Ye b142589942
enhance: support all partitions in shard manager for L0 segment (#43385)
issue: #42416

- change the key from partitionID into PartitionUniqueKey to support
AllPartitionsID

Signed-off-by: chyezh <chyezh@outlook.com>
2025-07-18 11:40:51 +08:00

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)
}