Skip to content

[Feature]: 扩容副本前置存储空间评估 || [Feature]: Evaluation of pre-storage space for expanded replicas #998

Description

@cishuang

Describe your use case

用户对集群或租户进行扩容副本数时候(加zone或者加unit)需要前置检查当前磁盘容量是否足够
原因:4.x日志流复制需要冗余一份副本,部分比较早的版本冗余副本磁盘占用会更大

Describe the solution you'd like

1.查询当前单zone磁盘剩余容量和当前租户单个副本集使用容量大小进行对比。如果小于则不建议进行扩容副本

Describe alternatives you've considered

No response

Additional context

No response


Describe your use case

When a user expands the number of replicas for the cluster or tenant (adds zone or unit) it is necessary to check whether the current disk capacity is sufficient.
Reason: 4.x log stream replication requires a redundant copy, and some older versions of redundant copy disks will occupy more

###Describe the solution you'd like

  1. Query the remaining capacity of the current single zone disk and the capacity size used by the current tenant's single replica set. If it is less than, it is not recommended to expand the replica

###Describe alternatives you've considered

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions