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

Fix improper log level in TwoPhaseCommitSinkFunction

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Connectors / Common
    • None

    Description

                  LOG.info(
                          "{} - checkpoint {} complete, committing transaction {} from checkpoint {}",
                          name(),
                          checkpointId,
                          pendingTransaction,
                          pendingTransactionCheckpointId);
      
                  logWarningIfTimeoutAlmostReached(pendingTransaction);
                  try {
                      commit(pendingTransaction.handle);
                  } catch (Throwable t) {
                      if (firstError == null) {
                          firstError = t;
                      }
                  }
      
                  LOG.debug("{} - committed checkpoint transaction {}", name(), pendingTransaction);
      

      I think "committing transaction ..." should be the same log level as " committed checkpoint transaction ...".

      Attachments

        Activity

          People

            Unassigned Unassigned
            yulei0824 tim yu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: