Description of problem: Create a snapshot of a volume and then grow the volume. It works. Yet this can cause instability and it is documented should never be done. Version-Release number of selected component (if applicable): OCS 3.11 but all versions of gluster I suppose How reproducible: 100% Steps to Reproduce: 1. create snapshot on volume 2. grow volume Actual results: It works Expected results: It should fail because we dont want a volume which has snapshots to be expanded or grown. Additional info:
As this is in the context of OCS, would heketi perhaps be the better component to address this?
(In reply to Patric Uebele from comment #2) > As this is in the context of OCS, would heketi perhaps be the better > component to address this? Even though this request has originated from OCS, but this is applicable for standalone RHGS too IMO and hence such extra validations should get added in core Gluster is what I believe.
A warning message is better than nothing for sure.
upsteam patch: https://review.gluster.org/#/c/glusterfs/+/24213/