@Override
  public void create_dataconnector_req(final CreateDataConnectorRequest connectorReq)
      throws AlreadyExistsException, InvalidObjectException, MetaException {
    startFunction("create_dataconnector_req", ": " + connectorReq.toString());
    boolean success = false;
    Exception ex = null;
    try {
      DataConnector connector = connectorReq.getConnector();
      try {
        if (null != get_dataconnector_core(connector.getName())) {
          throw new AlreadyExistsException("DataConnector " + connector.getName() + " already exists");
        }
      } catch (NoSuchObjectException e) {
        // expected
      }
      create_dataconnector_core(getMS(), connector);
      success = true;
    } catch (Exception e) {
      ex = e;
      throw handleException(e)
          .throwIfInstance(MetaException.class, InvalidObjectException.class, AlreadyExistsException.class)
          .defaultMetaException();
    } finally {
      endFunction("create_dataconnector_req", success, ex);
    }
  }
Checks whether the repl.last.id is being updated.
@param oldDb the old db object
@param newDb the new db object
@return true if repl.last.id is being changed.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java