diff --git a/client/session.go b/client/session.go index 288faf0..2859d8c 100644 --- a/client/session.go +++ b/client/session.go @@ -884,7 +884,7 @@ func (s *Session) genInsertTabletsReq(tablets []*Tablet, isAligned bool) (*rpc.T valuesList[index] = values timestampsList[index] = tablet.GetTimestampBytes() typesList[index] = tablet.getDataTypes() - sizeList[index] = int32(tablet.maxRowNumber) + sizeList[index] = int32(tablet.RowSize) } request := rpc.TSInsertTabletsReq{ SessionId: s.sessionId,