[
https://issues.apache.org/jira/browse/BEAM-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17546552#comment-17546552
]
Kenneth Knowles commented on BEAM-2805:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/18402
> Potential arithmetic overflow in Generator#nextAuctionLengthMs()
> ----------------------------------------------------------------
>
> Key: BEAM-2805
> URL: https://issues.apache.org/jira/browse/BEAM-2805
> Project: Beam
> Issue Type: Bug
> Components: testing-nexmark
> Reporter: Ted Yu
> Priority: P3
>
> {code}
> long numEventsForAuctions =
> (config.configuration.numInFlightAuctions *
> GeneratorConfig.PROPORTION_DENOMINATOR)
> / GeneratorConfig.AUCTION_PROPORTION;
> {code}
> The multiplication is done on 32-bit integers while long is expected
> (numEventsForAuctions).
> There is possibility for arithmetic overflow
--
This message was sent by Atlassian Jira
(v8.20.7#820007)