[Gluster-users] Unnecessary healing in 3-node replication setup on reboot

Vijay Bellur vbellur at redhat.com
Sat Oct 17 14:02:29 UTC 2015


On Saturday 17 October 2015 03:47 AM, Lindsay Mathieson wrote:
>
> On 17 October 2015 at 02:51, Vijay Bellur <vbellur at redhat.com
> <mailto:vbellur at redhat.com>> wrote:
>
>     You may also want to check sharding (currently in beta with 3.7)
>     where large files are chunked to smaller fragments. With this
>     scheme, self-healing (and rolling checksum computation thereby)
>     happens only on those fragments that undergo changes when one of the
>     nodes in a replicated set is offline. This has shown nice
>     improvements in gluster's resource utilization during self-healing.
>
>
> Very interesting, I presume you'd have top create a new volume to test it.
>
> Also you'd loose the ability to access the file on the host filesystem
> in emergencies wouldn't you?
>

Right on both counts. If you are aware of the layout, the shards can be 
concatenated to get back a single file. It does need some work to locate 
the shards and we can possibly provide a script that can stitch shards 
back to a single file.

Regards,
Vijay



More information about the Gluster-users mailing list