Closed hadasdavid closed 2 months ago
Maybe the fix should be in DefaultDatabaseCopyTaskRepository.convertToStatus()
Something like adding a condition to status.setEnd()
status.setEnd(MigrationProgress.STALLED == status.getStatus() ? now() : getDateTime(rs, "endAt"))
When the Migration Status is set to SLATTED, the following logging in
CustomClusterDatabaseCopyScheduler.java
fails due to NullPointerException as the Start Date or endDate are null:LOG.info("Migration {} ({}) in {}", endState, status.getStatus(), DurationFormatUtils .formatDurationHMS(Duration.between(status.getStart(), status.getEnd()).toMillis()));