Lines 187-193
if ($slice_count > 1) {
Link Here
|
187 |
} |
187 |
} |
188 |
} |
188 |
} |
189 |
# Fudge the commit count a bit to spread out the Elasticsearch commits |
189 |
# Fudge the commit count a bit to spread out the Elasticsearch commits |
190 |
$commit *= 1 + 0.10 * $slice_index; |
190 |
$commit = int( $commit *(1 + 0.10 * $slice_index) ); |
191 |
_log(1, "Processing slice @{[$slice_index + 1]} of $slice_count\n"); |
191 |
_log(1, "Processing slice @{[$slice_index + 1]} of $slice_count\n"); |
192 |
$iterator_options{slice} = { index => $slice_index, count => $slice_count }; |
192 |
$iterator_options{slice} = { index => $slice_index, count => $slice_count }; |
193 |
} |
193 |
} |
194 |
- |
|
|