go/doltcore/sqle: fix dropped error in read-replica-db

This commit is contained in:
Andy Arthur
2023-03-30 15:39:57 -07:00
parent 4bd7135643
commit 4e40443a9d

View File

@@ -379,6 +379,9 @@ func pullBranches(
_, err := rrd.limiter.Run(ctx, "-all", func() (any, error) {
pullErr := rrd.ddb.PullChunks(ctx, rrd.tmpDir, rrd.srcDB, remoteHashes, nil)
if pullErr != nil {
return nil, pullErr
}
REFS: // every successful pass through the loop below must end with CONTINUE REFS to get out of the retry loop
for _, remoteRef := range remoteRefs {