@Override
  public int execute() throws Exception {
    String dbNameOrPattern = desc.getDatabaseName();

    // Flag is set only in database for db level load.
    for (String dbName : Utils.matchesDb(context.getDb(), dbNameOrPattern)) {
      Database database = context.getDb().getMSC().getDatabase(dbName);
      Map<String, String> parameters = database.getParameters();
      String incPendPara = parameters != null ? parameters.get(ReplConst.REPL_FIRST_INC_PENDING_FLAG) : null;
      if (incPendPara != null) {
        parameters.remove(ReplConst.REPL_FIRST_INC_PENDING_FLAG);
        context.getDb().getMSC().alterDatabase(dbName, database);
      }
    }

    return 0;
  }
Operation process of removing the REPL_FIRST_INC_PENDING_FLAG parameter from some tables or databases.
ql/src/java/org/apache/hadoop/hive/ql/ddl/misc/flags/ReplRemoveFirstIncLoadPendFlagOperation.java