Skip to content

Commit

Permalink
OAK-9113 - Make the segment migrator more resilient to timeouts
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1879090 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
trekawek committed Jun 22, 2020
1 parent bab34e5 commit 3ece1d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ private void migrateSegments(SegmentArchiveReader reader, SegmentArchiveWriter w

for (Future<Segment> future : futures) {
Segment segment = future.get();
segment.write(writer);
runWithRetry(() -> {segment.write(writer); return null}, 16, 5);
}
}

Expand Down

0 comments on commit 3ece1d4

Please sign in to comment.