fixing typo in comment

This commit is contained in:
Joanie Gannon 2023-03-31 19:57:52 -04:00
parent ec83d01dca
commit 9953b499bf

View File

@ -156,7 +156,7 @@ public class EarlybirdIndexLoader {
FlushInfo segmentsFlushInfo = indexInfo.getSubProperties(EarlybirdIndexFlusher.SEGMENTS); FlushInfo segmentsFlushInfo = indexInfo.getSubProperties(EarlybirdIndexFlusher.SEGMENTS);
List<String> segmentNames = Lists.newArrayList(segmentsFlushInfo.getKeyIterator()); List<String> segmentNames = Lists.newArrayList(segmentsFlushInfo.getKeyIterator());
// This should only happen if you're running in stagingN and loading a prod index through // This should only happen if you're running in staging and loading a prod index through
// the read_index_from_prod_location flag. In this case, we point to a directory that has // the read_index_from_prod_location flag. In this case, we point to a directory that has
// a lot more than the number of segments we want in staging and we trim this list to the // a lot more than the number of segments we want in staging and we trim this list to the
// desired number. // desired number.