Skip to content

Commit

Permalink
fix gradle check failures caused by engineConfig init (#2663)
Browse files Browse the repository at this point in the history
Signed-off-by: Poojita Raj <[email protected]>
  • Loading branch information
Poojita-Raj authored Apr 1, 2022
1 parent 9bcee79 commit 4da50a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public void onFailedEngine(String reason, @Nullable Exception e) {
() -> RetentionLeases.EMPTY,
() -> primaryTerm,
EngineTestCase.tombstoneDocSupplier(),
true // hard coding to true since primaries drive refreshes
false // hard coding to false
);
engine = new InternalEngine(config);
engine.recoverFromTranslog((e, s) -> 0, Long.MAX_VALUE);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ public EngineConfig config(
retentionLeasesSupplier,
primaryTerm,
tombstoneDocSupplier(),
true // defaulting isPrimary to true
false // defaulting isReadOnly to false
);
}

Expand Down

0 comments on commit 4da50a7

Please sign in to comment.