View | Details | Raw Unified | Return to bug 26996
Collapse All | Expand All

(-)a/misc/search_tools/rebuild_elasticsearch.pl (-2 / +1 lines)
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
- 

Return to bug 26996