-
Notifications
You must be signed in to change notification settings - Fork 735
Add YDB_PDISK_SIZE environment variable with KB/MB/GB/TB suffix support #28921
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
base: main
Are you sure you want to change the base?
Conversation
|
Hi! Thank you for contributing! |
|
🟢 |
Co-authored-by: asmyasnikov <14202262+asmyasnikov@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds documentation for the previously undocumented YDB_PDISK_SIZE environment variable to both English and Russian Docker configuration pages. The variable controls the physical disk size for YDB and defaults to 64GB.
- Added
YDB_PDISK_SIZEenvironment variable documentation - Documented that it accepts string (with "GB" suffix) or integer (bytes) values
- Included the 64GB default value and usage examples
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| ydb/docs/en/core/reference/docker/configuration.md | Added YDB_PDISK_SIZE documentation entry to the English environment variables table |
| ydb/docs/ru/core/reference/docker/configuration.md | Added YDB_PDISK_SIZE documentation entry to the Russian environment variables table |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
✅ Documentation buildRevision built successfully Build logsWarnings (27)Log was truncated. (12 records) |
|
⚪
🟢 |
|
⚪
🟢 |
✅ Documentation buildRevision built successfully Build logsWarnings (27)Log was truncated. (12 records) |
Co-authored-by: asmyasnikov <14202262+asmyasnikov@users.noreply.github.com>
Head branch was pushed to by a user without write access
|
⚪ ⚪ Ya make output | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ ⚪ Ya make output | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
Changelog entry
Added documentation for
YDB_PDISK_SIZEenvironment variable in Docker configuration reference and extended implementation to support KB, MB, GB, and TB suffixes.Changelog category
Description for reviewers
The
YDB_PDISK_SIZEenvironment variable was already implemented in the codebase but missing from the Docker configuration documentation pages. Additionally, the implementation only supported GB suffix, which has now been extended to support KB, MB, GB, and TB suffixes.Changes:
YDB_PDISK_SIZEentry to English documentation (ydb/docs/en/core/reference/docker/configuration.md)YDB_PDISK_SIZEentry to Russian documentation (ydb/docs/ru/core/reference/docker/configuration.md)ydb/tests/library/harness/kikimr_config.py)Variable details:
Type:
stringDefault:
64GB(68,719,476,736 bytes)Accepts numeric values in bytes or string values with
KB,MB,GB, orTBsuffixControls physical disk (pdisk) size allocation for data storage in
/ydb_datadirectoryDefined in
ydb/tests/library/harness/kikimr_config.py:28-38Fixes absent YDB_PDISK_SIZE env in documentation https://ydb.tech/docs/ru/reference/docker/configuration #28920
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.