malinjawi opened a new pull request, #13843: URL: https://github.com/apache/gluten/pull/13843
## What changes are proposed in this pull request? `spark.gluten.memory.reservationBlockSize` has had no effect on native code since #5770. The Velox and Bolt memory managers read it from the backend conf, but `getNativeBackendConf` never forwarded it, so native code always used 8MB while the JVM used the configured value as the minimum spill size (#3161). The key is now forwarded, converted to bytes because native code parses a plain integer. The config is also made static: native code reads it once at startup, so a runtime `SET` would split the two sides again. Setting it with `SET` now fails like any static config. Fixes #13842. ## How was this patch tested? New `VeloxConfigSuite` cases that fail without the fix. In a local Gluten session with the block size set to 13MB, the native backend's debug config dump shows `13631488` for the key with the fix and no entry without it. ## Was this patch authored or co-authored using generative AI tooling? Co-authored with Claude Code (claude-opus-5-5). -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
