naveencodet commented on PR #30157: URL: https://github.com/apache/flink/pull/30157#issuecomment-7210626546
Re-enabling the check surfaces a real problem: on CI the block cache usage regularly exceeds the 200 MB limit. I re-ran `E2E (group 3)` 5 times on my fork ([run](https://github.com/naveencodet/flink/actions/runs/45865136283), Java 17). The test failed 4 of 6 attempts; peak usage per slot: | Attempt | Result | Slot 0 | Slot 1 | |---|---|---|---| | 1 | fail | 300.4 MB | 321.4 MB | | 2 | fail | 301.7 MB | 319.4 MB | | 3 | pass | 119.0 MB | 105.8 MB | | 4 | fail | 346.9 MB | 341.2 MB | | 5 | fail | 278.4 MB | 261.6 MB | | 6 | pass | 114.9 MB | 116.7 MB | The configured cache is as expected (`Obtained shared RocksDB cache of size 157286400 bytes`, 150 MB per slot with 300 MB managed memory and 2 slots), and locally (macOS, Java 21) the test consistently peaks at ~110 MB. On CI the results are bimodal: either ~105–120 MB or ~260–350 MB, with nothing in between. In failing runs usage stays above the limit for most of the job rather than spiking once. Since the filter mismatch introduced in FLINK-21585, this assertion has effectively been disabled, so this overshoot has gone unnoticed. Raising the limit to fit the failing runs (~350 MB+) would leave little distance to the "more than 400m" the script cites for unrestricted usage. Question for the state backend maintainers: is this overshoot expected given the non-strict cache / WriteBufferManager charging, in which case the test should measure or bound differently, or does it indicate a memory control issue worth investigating separately? I've converted this PR to draft so it isn't merged in a state that breaks group 3. Happy to adjust it based on the direction you prefer. -- 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]
