Added a debug log when sending an mapping updated request to master
This commit is contained in:
parent
ad0eeef859
commit
2db9c2df83
|
@ -268,7 +268,7 @@ public class TransportIndexAction extends TransportShardReplicationOperationActi
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
documentMapper.refreshSource();
|
documentMapper.refreshSource();
|
||||||
|
logger.debug("Sending mapping updated to master: index [{}] type [{}]", request.index(), request.type());
|
||||||
mappingUpdatedAction.execute(new MappingUpdatedAction.MappingUpdatedRequest(request.index(), request.type(), documentMapper.mappingSource()), new ActionListener<MappingUpdatedAction.MappingUpdatedResponse>() {
|
mappingUpdatedAction.execute(new MappingUpdatedAction.MappingUpdatedRequest(request.index(), request.type(), documentMapper.mappingSource()), new ActionListener<MappingUpdatedAction.MappingUpdatedResponse>() {
|
||||||
@Override
|
@Override
|
||||||
public void onResponse(MappingUpdatedAction.MappingUpdatedResponse mappingUpdatedResponse) {
|
public void onResponse(MappingUpdatedAction.MappingUpdatedResponse mappingUpdatedResponse) {
|
||||||
|
|
Loading…
Reference in New Issue