Added a debug log when sending an mapping updated request to master

This commit is contained in:
Boaz Leskes 2013-08-16 21:55:47 +02:00
parent ad0eeef859
commit 2db9c2df83
1 changed files with 1 additions and 1 deletions

View File

@ -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) {