File tree 2 files changed +4
-4
lines changed
main/java/org/elasticsearch/plugin/reindex
test/java/org/elasticsearch/plugin/reindex
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -76,14 +76,14 @@ public abstract class AbstractBulkByScrollRequest<Self extends AbstractBulkByScr
76
76
77
77
/**
78
78
* Initial delay after a rejection before retrying a bulk request. With the default maxRetries the total backoff for retrying rejections
79
- * is about 25 seconds per bulk request. Once the entire bulk request is successful the retry counter resets.
79
+ * is about one minute per bulk request. Once the entire bulk request is successful the retry counter resets.
80
80
*/
81
- private TimeValue retryBackoffInitialTime = timeValueMillis (50 );
81
+ private TimeValue retryBackoffInitialTime = timeValueMillis (500 );
82
82
83
83
/**
84
84
* Total number of retries attempted for rejections. There is no way to ask for unlimited retries.
85
85
*/
86
- private int maxRetries = 10 ;
86
+ private int maxRetries = 11 ;
87
87
88
88
public AbstractBulkByScrollRequest () {
89
89
}
Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ public void testDefaultRetryTimes() {
356
356
* This is the total number of milliseconds that a reindex made with the default settings will backoff before attempting one final
357
357
* time. If that request is rejected then the whole process fails with a rejected exception.
358
358
*/
359
- int defaultBackoffBeforeFailing = 24670 ;
359
+ int defaultBackoffBeforeFailing = 59460 ;
360
360
assertEquals (defaultBackoffBeforeFailing , millis );
361
361
}
362
362
You can’t perform that action at this time.
0 commit comments