You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "yunfengzhou-hub (via GitHub)" <gi...@apache.org> on 2023/04/21 13:10:08 UTC

[GitHub] [flink] yunfengzhou-hub opened a new pull request, #22449: [FLINK-31752] Fix SourceOperator numRecordsOut duplicate bug

yunfengzhou-hub opened a new pull request, #22449:
URL: https://github.com/apache/flink/pull/22449

   ## What is the purpose of the change
   
   This pull request fixes the bug that the metric numRecordsOut is increased twice in `SourceOperatorStreamTask` and in `ChainingOutput`, which was introduced in #21579.
   
   
   ## Brief change log
   
   - Removes the process to increase numRecordsOut in `SourceOperatorStreamTask`.
   - Adds integration test class `SourceMetricsITCase` to verify the correctness of this metric on SourceOperator. This test class is introduced according to `SinkMetricsITCase`.
   
   
   ## Verifying this change
   
   The correctness of the changes in this pull request is covered by the newly introduced test class `SourceMetricsITCase`.
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): no
     - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: no
     - The serializers: no
     - The runtime per-record code paths (performance sensitive): yes
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
     - The S3 file system connector: no
   
   ## Documentation
   
     - Does this pull request introduce a new feature? no
     - If yes, how is the feature documented? not applicable
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [flink] lindong28 merged pull request #22449: [FLINK-31752] Fix SourceOperator numRecordsOut duplicate bug

Posted by "lindong28 (via GitHub)" <gi...@apache.org>.
lindong28 merged PR #22449:
URL: https://github.com/apache/flink/pull/22449


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [flink] flinkbot commented on pull request #22449: [FLINK-31752] Fix SourceOperator numRecordsOut duplicate bug

Posted by "flinkbot (via GitHub)" <gi...@apache.org>.
flinkbot commented on PR #22449:
URL: https://github.com/apache/flink/pull/22449#issuecomment-1517819883

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "f7e156ab4e74d487e3047bc8ac86182c69d82d15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "f7e156ab4e74d487e3047bc8ac86182c69d82d15",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * f7e156ab4e74d487e3047bc8ac86182c69d82d15 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [flink] lindong28 commented on pull request #22449: [FLINK-31752] Fix SourceOperator numRecordsOut duplicate bug

Posted by "lindong28 (via GitHub)" <gi...@apache.org>.
lindong28 commented on PR #22449:
URL: https://github.com/apache/flink/pull/22449#issuecomment-1518960750

   Thanks for the PR. LGTM.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org