-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
roachprod: RAID0 only network disks if both local and network are present #119906
roachprod: RAID0 only network disks if both local and network are present #119906
Conversation
We should resolve this TODO [1] and do a full (test) run in both GCE and AWS. Have you thought how to test this definitively? Note that the startup script is captured by the [1] cockroach/pkg/cmd/roachtest/tests/restore.go Lines 537 to 544 in 41da9ec
|
Regarding testing, I have tested roachprod deployment with different disk configuration. Here are the scenarios and the expected behaviour as per my understanding:
|
made some changes to only use network disk if present: (local SSD = 0, Network Disk - 1) - no RAID'ing and mount network disk(local SSD = 1, Network Disk - 0) - no RAID'ing and mount local SSD(local SSD >= 1, Network Disk = 1) - no RAID'ing and mount network disk(local SSD > 1, Network Disk = 0) - local SSDs selected for RAID'ing(local SSD >= 0, Network Disk > 1) - network disks selected for RAID'ing |
…sent Today, if a machine has both local and network disks, both the disks are selected for RAID'ing. But, RAID'ing different types of disks causes performance differences. To address this, local disks are ignored for RAID'ing only if network disks are present. Fixes: #98783 Epic: none
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.
Looks good, thanks!
Thanks for reviewing and approving the change @srosenberg ! |
bors r=srosenberg |
Build succeeded: |
Encountered an error creating backports. Some common things that can go wrong:
You might need to create your backport manually using the backport tool. error creating merge commit from 6fd7ff8 to blathers/backport-release-23.1-119906: POST https://api.github.com/repos/cockroachdb/cockroach/merges: 409 Merge conflict [] you may need to manually resolve merge conflicts with the backport tool. Backport to branch 23.1.x failed. See errors above. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
Nice work! Sorry if I missed something, but should we do something for Azure as well? |
Azure does not have the RAID'ing implemented. |
Today, if a machine has both local and network disks, both the disks are selected for RAID'ing.
But, RAID'ing different types of disks causes performance differences.
To address this, local disks are ignored for RAID'ing only if network disks are present.
Fixes: #98783
Epic: none