alb3rtobr opened a new pull request #6596: URL: https://github.com/apache/geode/pull/6596
According to the Geode User Guide, it is possible to set the write buffer size by using the `--write-buffer-size` option when creating a disk store. Nevertheless, setting a value for that parameter either by using gfsh, cache.xml or the `DiskStoreFactory.setWriteBuffer()` method has no effect. The current implementation checks if the `WRITE_BUF_SIZE` system property is set, and if that is not the case, the default value of `32768` bytes is used. This PR changes the behavior so first the disk store write buffer size is obtained (which default value is `32768`). Then, if the `WRITE_BUF_SIZE` system property is set, its value will take precedence over the disk store buffer size. References: * `create disk-store` command reference: https://geode.apache.org/docs/guide/113/tools_modules/gfsh/command-pages/create.html * Question in the dev list about this issue: https://markmail.org/thread/d4ypp7qcw5lfqtf5 -- 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. For queries about this service, please contact Infrastructure at: [email protected]
