zhangyue19921010 opened a new pull request, #30108: URL: https://github.com/apache/flink/pull/30108
## What is the purpose of the change A DataStream V2 slot sharing group built with one GPU can end up requesting two GPUs if its builder is reused. Keep the resource requirements that were set when each group was built. [FLINK-41666](https://issues.apache.org/jira/browse/FLINK-41666) ## Brief change log Copy the builder’s external resource map when building a group with explicit resources. Add a regression test that builds two groups with different GPU counts from the same builder. ## Verifying this change The regression failed on master and passed with the fix. A job graph built from the first group requested two GPUs before the fix and one afterward. The focused DataStream reactor passed 102 distinct tests, including resource conversion and graph generation. After rebasing past an S3 change, the job-graph probe again confirmed the one-GPU request. Repository-wide verification on the local host is limited by unavailable Docker and Maven artifacts. ## Does this pull request potentially affect one of the following parts This affects resource declarations during job construction. A group built with one GPU continues to fit a one-GPU resource profile after its builder is reused. ## Documentation The existing builder API already describes how a setter replaces the previous quantity for a resource. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
