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

Fix improper log level in TwoPhaseCommitSinkFunction

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Connectors / Common
    • Labels:
      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

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

              Dates

              • Created:
                Updated: