Skip to content

Commit bc92500

Browse files
fix: don't update global object's readhandle in MRD (#13575)
This change will make sure global object's read handle is not updated. This will avoid missing metadata errors in new MRDs for the same object.
1 parent 712f562 commit bc92500

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

storage/grpc_reader_multi_range.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -566,9 +566,6 @@ func (m *multiRangeDownloaderManager) processSessionResult(result mrdSessionResu
566566
resp := result.decoder.msg
567567
if handle := resp.GetReadHandle().GetHandle(); len(handle) > 0 {
568568
m.lastReadHandle = handle
569-
if m.params.handle != nil {
570-
*m.params.handle = handle
571-
}
572569
}
573570

574571
m.attrsOnce.Do(func() {

0 commit comments

Comments
 (0)