diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-12-11 21:14:07 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-12-11 21:14:07 +0100 |
commit | 4d84120e504d46c4da22107aac60790937439bc5 (patch) | |
tree | 9b5d05335e114d0431f06d512ce8a3d30f0ee21a /configserver/src | |
parent | 326f57f66c9a9b428dfda6733f53feb04164d82c (diff) |
Remove duplicate unused code.
Diffstat (limited to 'configserver/src')
-rw-r--r-- | configserver/src/main/java/com/yahoo/vespa/config/server/rpc/RpcServer.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/configserver/src/main/java/com/yahoo/vespa/config/server/rpc/RpcServer.java b/configserver/src/main/java/com/yahoo/vespa/config/server/rpc/RpcServer.java index a09087ad8d3..72576292471 100644 --- a/configserver/src/main/java/com/yahoo/vespa/config/server/rpc/RpcServer.java +++ b/configserver/src/main/java/com/yahoo/vespa/config/server/rpc/RpcServer.java @@ -462,16 +462,6 @@ public class RpcServer implements Runnable, ReloadListener, TenantListener { int session = sendMeta(fileData); sendParts(session, fileData); sendEof(session, fileData, status); - Request fileBlob = new Request(FileReceiver.RECEIVE_META_METHOD); - fileBlob.parameters().add(new StringValue(fileData.fileReference().value())); - fileBlob.parameters().add(new StringValue(fileData.filename())); - fileBlob.parameters().add(new StringValue(fileData.type().name())); - fileBlob.parameters().add(new Int64Value(fileData.size())); - target.invokeSync(fileBlob, 600); - if (fileBlob.isError()) { - log.warning("Failed delivering reference '" + fileData.fileReference().value() + "' with file '" + fileData.filename() + "' to " + - target.toString() + " with error: '" + fileBlob.errorMessage() + "'."); - } } private void sendParts(int session, FileReferenceData fileData) { ByteBuffer bb = ByteBuffer.allocate(0x100000); |