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

issue-1932: use ceil instead of floor for calculating shards count #2982

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

debnatkh
Copy link
Collaborator

@debnatkh debnatkh commented Feb 5, 2025

References #1932

Currently a shard of 5TiB is created per each 4TiB in the filesystem (rounding the number of shards down). So if the filesystem is the size of 7TiB, only one shard of size 5TiB will be created. In this PR rounding down is replaced with rounding up.

@debnatkh debnatkh added the filestore Add this label to run only cloud/filestore build and tests on PR label Feb 5, 2025
@debnatkh debnatkh force-pushed the users/debnatkh/floor-ceil branch 2 times, most recently from 2fb5109 to 8a4ad6e Compare February 5, 2025 18:16
@debnatkh debnatkh force-pushed the users/debnatkh/floor-ceil branch from 8a4ad6e to 5dd0889 Compare February 5, 2025 19:56
Copy link
Contributor

github-actions bot commented Feb 5, 2025

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit 5dd0889.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
2031 2031 0 0 0 0

@ydb-platform ydb-platform deleted a comment from github-actions bot Feb 5, 2025
@ydb-platform ydb-platform deleted a comment from github-actions bot Feb 5, 2025
@debnatkh debnatkh marked this pull request as ready for review February 5, 2025 22:46
@debnatkh debnatkh merged commit 668b5c2 into main Feb 6, 2025
11 of 12 checks passed
@debnatkh debnatkh deleted the users/debnatkh/floor-ceil branch February 6, 2025 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filestore Add this label to run only cloud/filestore build and tests on PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants