Skip to content

Commit

Permalink
another NPE in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczi committed Nov 6, 2024
1 parent f08c190 commit cf5912e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2756,9 +2756,9 @@ private IndexWriterConfig getIndexWriterConfig() {

private boolean useSyntheticSourceForRecovery() {
return engineConfig.getMapperService() != null
&& engineConfig.getMapperService().mappingLookup() != null
&& engineConfig.getMapperService().mappingLookup().isSourceSynthetic()
&& engineConfig.getIndexSettings().isRecoverySourceSyntheticEnabled();

}

/** A listener that warms the segments if needed when acquiring a new reader */
Expand Down

0 comments on commit cf5912e

Please sign in to comment.