mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-10 18:49:02 -06:00
fix bug in ReadManyValues (#3059)
This commit is contained in:
@@ -187,6 +187,10 @@ func (lvs *ValueStore) ReadManyValues(hashes hash.HashSet, foundValues chan<- Va
|
||||
remaining.Insert(h)
|
||||
}
|
||||
|
||||
if len(remaining) == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
// Request remaining hashes from BatchStore, processing the found chunks as they come in.
|
||||
foundChunks := make(chan *chunks.Chunk, 16)
|
||||
foundHashes := hash.HashSet{}
|
||||
|
||||
Reference in New Issue
Block a user