Skip to content

Commit

Permalink
fix gradle check failures caused by engineConfig init
Browse files Browse the repository at this point in the history
Signed-off-by: Poojita Raj <[email protected]>
  • Loading branch information
Poojita-Raj committed Mar 30, 2022
1 parent 9bcee79 commit 6194e19
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 6194e19

Please sign in to comment.