Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MAX_BACKGROUND_JOBS config for RocksDB #1694

Merged
merged 1 commit into from
Dec 9, 2023

Conversation

shekhars-li
Copy link
Contributor

@shekhars-li shekhars-li commented Dec 9, 2023

##What
Added a new store level config called stores.<store_name>.rocksdb.max.background.jobs to configure RocksDB config max_background_jobs

##Why
RocksDB deprecated max_background_compactions. This is now automatically decided based on max_background_jobs. This config may help with write stalls as explained here: https://github.com/facebook/rocksdb/wiki/Write-Stalls#write-stall-mitigation

##API Changes:
None

@prateekm prateekm merged commit 082899d into apache:master Dec 9, 2023
1 check passed
khandelwal-ayush pushed a commit to khandelwal-ayush/samza that referenced this pull request Jun 12, 2024
* Add MAX_BACKGROUND_JOBS config for RocksDB (apache#1694)

Co-authored-by: Shekhar Sharma <[email protected]>
khandelwal-ayush pushed a commit to khandelwal-ayush/samza that referenced this pull request Jun 12, 2024
* SAMZA-2797: Call flush during stop from CoordinatorStreamWriter (apache#1692)

* SAMZA-2798: Populate worker.opts in environment variable only if available (apache#1693)

Description
Populate worker.opts in the environment variable only if available in the configs.

Changes
Check if worker.opts is present and then add it to environment variable

Tests
Updated unit tests

* Add MAX_BACKGROUND_JOBS config for RocksDB (apache#1694)

* SAMZA-2784: Remove excessive commit logs (apache#1695)

* SAMZA-2799: Remove worker.opts handling in shell command builder (apache#1696)

---------

Co-authored-by: ajo thomas <[email protected]>
Co-authored-by: Bharath Kumarasubramanian <[email protected]>
Co-authored-by: Shekhar Sharma <[email protected]>
Co-authored-by: Daniel Chen <[email protected]>
khandelwal-ayush pushed a commit to khandelwal-ayush/samza that referenced this pull request Jun 12, 2024
* SAMZA-2797: Call flush during stop from CoordinatorStreamWriter (apache#1692)

* SAMZA-2798: Populate worker.opts in environment variable only if available (apache#1693)

Description
Populate worker.opts in the environment variable only if available in the configs.

Changes
Check if worker.opts is present and then add it to environment variable

Tests
Updated unit tests

* Add MAX_BACKGROUND_JOBS config for RocksDB (apache#1694)

* SAMZA-2784: Remove excessive commit logs (apache#1695)

* SAMZA-2799: Remove worker.opts handling in shell command builder (apache#1696)

* Create store directory paths in CSM constructor for disk space monitor (apache#1697)

* Create store directory paths in CSM constructor to be able to monitor the disk usage of the store directories

* Fix stylecheck issues

* Refactor - init all store paths together and do not mutate the storeDirPaths. Added test

* Remove ununsed method

* Remove ununsed method

* Stylecheck, Remove ununsed import

---------

Co-authored-by: ajo thomas <[email protected]>
Co-authored-by: Bharath Kumarasubramanian <[email protected]>
Co-authored-by: Shekhar Sharma <[email protected]>
Co-authored-by: Daniel Chen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants