binlog

package
v0.10.3-0...-bec5499 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildLogPath

func BuildLogPath(binlogType storage.BinlogType, collectionID, partitionID, segmentID, fieldID, logID typeutil.UniqueID) (string, error)

build a binlog path on the storage by metadata

func CompressBinLogs

func CompressBinLogs(binlogs ...[]*datapb.FieldBinlog) error

func CompressCompactionBinlogs

func CompressCompactionBinlogs(binlogs []*datapb.CompactionSegment) error

func CompressFieldBinlogs

func CompressFieldBinlogs(fieldBinlogs []*datapb.FieldBinlog) error

func CompressSaveBinlogPaths

func CompressSaveBinlogPaths(req *datapb.SaveBinlogPathsRequest) error

func DecompressBinLog

func DecompressBinLog(binlogType storage.BinlogType, collectionID, partitionID,
	segmentID typeutil.UniqueID, fieldBinlogs []*datapb.FieldBinlog,
) error

func DecompressBinLogs

func DecompressBinLogs(s *datapb.SegmentInfo) error

func DecompressCompactionBinlogs

func DecompressCompactionBinlogs(binlogs []*datapb.CompactionSegmentBinlogs) error

func DecompressMultiBinLogs

func DecompressMultiBinLogs(infos []*datapb.SegmentInfo) error

func GetLogIDFromBingLogPath

func GetLogIDFromBingLogPath(logPath string) (int64, error)

GetLogIDFromBingLogPath get log id from binlog path

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL