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.
Click to show internal directories.
Click to hide internal directories.