Previously, a rebalance operation was not run after expanding a volume in Heketi. This meant that only new files could be written to newly added space. With this fix, Heketi performs a rebalance operation on the volume after expansion.
Created attachment 1420758[details]
heketi logs
Description of problem: I have expand one volume, but data is written only on first replica pair.
Version-Release number of selected component (if applicable): 6.0.0.10
How reproducible:
Steps to Reproduce:
1. Create one volume.
2. Mount it on client.
3. Write some files.
4. Expand the size of volume.
5. Write some files.
Actual results: It is not doing rebalance, because of that files are written on only first replica pair.
Expected results: It should do rebalance. So data will write on all replica pairs.
Additional info:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHEA-2018:2686
Created attachment 1420758 [details] heketi logs Description of problem: I have expand one volume, but data is written only on first replica pair. Version-Release number of selected component (if applicable): 6.0.0.10 How reproducible: Steps to Reproduce: 1. Create one volume. 2. Mount it on client. 3. Write some files. 4. Expand the size of volume. 5. Write some files. Actual results: It is not doing rebalance, because of that files are written on only first replica pair. Expected results: It should do rebalance. So data will write on all replica pairs. Additional info: