fix debug error in IDE (#6539)

Signed-off-by: yhmo <yihua.mo@zilliz.com>
pull/6543/head
groot 2021-07-15 14:27:54 +08:00 committed by GitHub
parent b11d027e53
commit 6b001fd76a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ func (m *meta) SaveBinlogAndCheckPoints(segID UniqueID, flushed bool,
for _, id := range modSegments {
if segment := m.segments.GetSegment(id); segment != nil {
segBytes := proto.MarshalTextString(segment)
segBytes := proto.MarshalTextString(segment.SegmentInfo)
key := buildSegmentPath(segment.GetCollectionID(), segment.GetPartitionID(), segment.GetID())
kv[key] = segBytes
}