@Override
  public List<Execution> getDue(Instant now, int limit) {
    LOG.trace("Using generic fetch-then-lock query");
    final UnresolvedFilter unresolvedFilter = new UnresolvedFilter(taskResolver.getUnresolved());
    String selectDueQuery =
        jdbcCustomization.createSelectDueQuery(
            tableName, limit, unresolvedFilter.andCondition(), orderByPriority);

    return getExecutions(jdbcRunner, selectDueQuery, now, limit, unresolvedFilter);
  }
Instead of doing delete+insert, we allow updating an existing execution will all new fields

@return the execution-time of the new execution
db-scheduler/src/main/java/com/github/kagkarlsson/scheduler/jdbc/JdbcTaskRepository.java