if (txn != null) {
TransactionImpl.ensureTxnActive(txn);
baseReq.setTransaction(localTxnToRemoteTxn(txn));
}
final int baseEncodedReqSize = baseReq.encodingSize();
final List<Future<DeleteResponse>> futures = new ArrayList<Future<DeleteResponse>>();
int encodedReqSize = baseEncodedReqSize;
DeleteRequest req = baseReq.clone();
for (Key key : keys) {