Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-24344

Handling of IOExceptions when triggering checkpoints doesn't cause job failover

    XMLWordPrintableJSON

Details

    Description

      When running CheckpointCoordinatorTest#testTriggerCheckpointAfterIOException, it simulates an IOException thrown from CheckpointCoordinator#initializeCheckpoint. Which makes sense but:

      1. This exception never reaches CheckpointFailureManager because of the logic in CheckpointCoordinator#onTriggerFailure(). So the main purpose of the FLINK-23189 ticket is not working as intended.
      2. it would be however much much better to throw IOException from checkpointStorageView.initializeLocationForCheckpoint rather from checkpointIdCounter.getAndIncrement. The latter could be refactored out, while the production IOException can be thrown in reality from initializeLocationForCheckpoint)

      Attachments

        Issue Links

          Activity

            People

              akalashnikov Anton Kalashnikov
              pnowojski Piotr Nowojski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: