@Override public RollEditsResponseProto rollEdits(RpcController controller, RollEditsRequestProto request) throws ServiceException { try { long txid = server.rollEdits(); return RollEditsResponseProto.newBuilder() .setNewSegmentTxId(txid) .build(); } catch (IOException e) { throw new ServiceException(e); } }