Skip to content

Commit

Permalink
Add shard ID to message
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveCTurner committed Nov 4, 2019
1 parent 82e6010 commit 891e56a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ static boolean executeBulkItemRequest(BulkPrimaryExecutionContext context, Updat
new CompressedXContent(result.getRequiredMappingUpdate(), XContentType.JSON, ToXContent.EMPTY_PARAMS),
MapperService.MergeReason.MAPPING_UPDATE_PREFLIGHT);
} catch (Exception e) {
logger.info("required mapping update failed during pre-flight check", e);
logger.info(() -> new ParameterizedMessage("{} mapping update rejected by primary", primary.shardId()), e);
onComplete(exceptionToResult(e, primary, isDelete, version), context, updateResult);
return true;
}
Expand Down

0 comments on commit 891e56a

Please sign in to comment.