The share size can be limited by share type

Registered by haixin on 2020-11-26

In some usage scenarios, we do not want users to create too large share size, then affect the number of shares that can be created, mybe limited by project quota or backend storage.
or in some usage scenarios, creating a share that is too small makes no sense.

So we would better gives administrators the ability to set the maximum and minimum sizes for a single share by set share type extra_specs. then the size restrictions will be checked at the API level as part of share creation, extend, shrink or migration.
for example:
two new share type keys are supported for setting the minimum share size and maximum share size for that type.
'min_share_size'
'max_share_size'

Blueprint information

Status:
Started
Approver:
Goutham Pacha Ravi
Priority:
Low
Drafter:
haixin
Direction:
Approved
Assignee:
haixin
Definition:
Approved
Series goal:
Accepted for wallaby
Implementation:
Started
Milestone target:
milestone icon wallaby-rc1
Started by
Goutham Pacha Ravi on 2020-11-30

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.