openebs-archive / cstor-operators

Collection of OpenEBS cStor Data Engine Operators
https://openebs.io
Apache License 2.0
94 stars 69 forks source link

Compression for volume replicas are hardcoded #420

Open CiftciCagatay opened 2 years ago

CiftciCagatay commented 2 years ago

Hello,

I tried to set compression "off" for some tests. But even if it does turn off for filesystem itself it is still on for volumes as you can see below.

cstor-f8a25be9-671e-445d-928a-c687899d11ae                                           compression  off                                                            local
cstor-f8a25be9-671e-445d-928a-c687899d11ae/pvc-a8c4e63f-2d57-45e3-9c65-574b72586d38  compression on                                                             local

I think it is hardcoded in here. https://github.com/openebs/cstor-operators/blob/develop/pkg/volumereplica/volumereplica.go#L339

I want to give it a shot to fix it.

Best regards.

pawanpraka1 commented 2 years ago

thanks @CiftciCagatay . Let us know if you need any help.