segmentutil

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcRowCountFromBinLog

func CalcRowCountFromBinLog(seg *datapb.SegmentInfo) int64

CalcRowCountFromBinLog calculates # of rows of a segment from bin logs

func ReCalcRowCount

func ReCalcRowCount(seg, segCloned *datapb.SegmentInfo)

ReCalcRowCount re-calculates number of rows of `oldSeg` based on its bin log count, and correct its value in its cloned copy, which is `newSeg`. Note that `segCloned` should be a copied version of `seg`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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