[Bugs] [Bug 1355846] Data corruption when disabling sharding

bugzilla at redhat.com bugzilla at redhat.com
Mon Nov 14 11:25:13 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1355846

Alessandro Corbelli <alessandro.corbelli at guest.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(alessandro.corbel |
                   |li at guest.it)                |



--- Comment #7 from Alessandro Corbelli <alessandro.corbelli at guest.it> ---
Yes, the issue arise in these 2 cases:

1) disable the sharding on an shared volume with data on it
2) change the shard size on a sharded volume with data on it

Another idea could be to store the shard size, for each file, on an xattr.
In this case, when changing the shardsize, it won't affect existing file, as
you can use the older shard size by reading it's value from the xattr.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.


More information about the Bugs mailing list