Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Snapshot restore operations throttle more than specified
Lucene's RateLimiter can do too much sleeping on small values (see also #6018). The issue here is that calls to "pause" are not properly guarded in "restoreFile". Instead of simply adding the guard, this commit uses the RateLimitingInputStream similar as for "snapshotFile". Closes #13828
- Loading branch information
Yannick Welsch
committed
Oct 3, 2015
1 parent
5840980
commit 5c2643f
Showing
1 changed file
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters