Skip to content

Commit aba2c38

Browse files
author
Sachin Kale
committedMar 22, 2024
Fix compile error
Signed-off-by: Sachin Kale <kalsac@amazon.com>
1 parent 5253753 commit aba2c38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎server/src/internalClusterTest/java/org/opensearch/index/shard/IndexShardIT.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
import org.opensearch.index.translog.TestTranslog;
8585
import org.opensearch.index.translog.Translog;
8686
import org.opensearch.index.translog.TranslogStats;
87+
import org.opensearch.indices.DefaultRemoteStoreSettings;
8788
import org.opensearch.indices.IndicesService;
8889
import org.opensearch.indices.recovery.RecoveryState;
8990
import org.opensearch.indices.replication.checkpoint.SegmentReplicationCheckpointPublisher;
@@ -711,9 +712,9 @@ public static final IndexShard newIndexShard(
711712
SegmentReplicationCheckpointPublisher.EMPTY,
712713
null,
713714
null,
714-
() -> IndexSettings.DEFAULT_REMOTE_TRANSLOG_BUFFER_INTERVAL,
715715
nodeId,
716716
null,
717+
DefaultRemoteStoreSettings.INSTANCE,
717718
false
718719
);
719720
}

0 commit comments

Comments
 (0)