satellite/metainfo/metabase: add extra validation to IterateLoopSegments
Change-Id: I377bf9f661dcff6ba29d10f2909eb59d6d361c5d
This commit is contained in:
parent
150d75da28
commit
b5e95ec79f
@ -312,5 +312,9 @@ func (db *DB) IterateLoopStreams(ctx context.Context, opts IterateLoopStreams, h
|
||||
}
|
||||
}
|
||||
|
||||
if !noMoreData {
|
||||
return Error.New("expected rows to be completely read")
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user