-
Notifications
You must be signed in to change notification settings - Fork 67
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
[Enhance] The best choice of pvc accessMode should be ReadWriteMany instead of ReadWriteOnce #539
Comments
I'm not quite sure I understand what you mean. Because each CN pod will have its own independent PVC, and when the POD is deleted, its corresponding PVC will not be deleted. When the POD is recreated, are you saying that the cache data in the volume corresponding to the CN POD will become completely invalid? Then why does ReadWriteMany solve this problem? |
There are issues that need to be addressed here:
May I ask, have you used the ReadWriteMany mode before? |
To my knowledge, currently, the unified data cache is not supported by StarRocks. |
get it, thanks a lot. |
Describe the current behavior
Now, the pvc is ReadWriteOnce, generated when a CN pod generated. This design leads to create data cache so many times when hpa used and CN pod count changes. I think ReadWriteMany is the more proper choice in shared data mode. The storage directory is only one, and CN's count will not effect the data and data cache.
Describe the enhancement
I hope a variable in values.yaml to set accessMode as ReadWriteMany.
Additional context
The text was updated successfully, but these errors were encountered: