Il 18/05/2016 13:55, Kevin Lemonnier ha scritto:> Yes, that's why you need to use sharding. With sharding, the heal is > much quicker and the whole VM isn't freezed during the heal, only the > shard being healed. I'm testing that right now myself and that's > almost invisible for the VM using 3.7.11. Use the latest version > though, it really really wasn't transparent in 3.7.6 :).I don't like sharding. With sharing all "files" are split in shard and distributed across the whole cluster. If everything went bad, reconstructing a file from it shards could be hard.
On Wed, May 18, 2016 at 06:54:57PM +0200, Gandalf Corvotempesta wrote:> Il 18/05/2016 13:55, Kevin Lemonnier ha scritto: > > Yes, that's why you need to use sharding. With sharding, the heal is > > much quicker and the whole VM isn't freezed during the heal, only the > > shard being healed. I'm testing that right now myself and that's > > almost invisible for the VM using 3.7.11. Use the latest version > > though, it really really wasn't transparent in 3.7.6 :). > I don't like sharding. With sharing all "files" are split in shard and > distributed across the whole cluster. > If everything went bad, reconstructing a file from it shards could be hard.Seems like a non issue, you are planning in using replica right ? Anyway, I tried and without sharding it's pretty much unusable, the VM just freezes for as much time as it needs to redownload the whole disk -- Kevin Lemonnier PGP Fingerprint : 89A5 2283 04A0 E6E9 0111 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160518/a6193984/attachment.sig>
I think you are confused about what sharding does. In a sharded replica 3 volume all the shards exist on all the replicas so there is no distribution. Might you be getting confused with erasure coding? The upshot of sharding is that if you have a failure, instead of healing multiple gigabyte vm files for example, you only heal the shards that have changed. This generally shortens the heal time dramatically. Alastair On 18 May 2016 at 12:54, Gandalf Corvotempesta < gandalf.corvotempesta at gmail.com> wrote:> Il 18/05/2016 13:55, Kevin Lemonnier ha scritto: > >> Yes, that's why you need to use sharding. With sharding, the heal is much >> quicker and the whole VM isn't freezed during the heal, only the shard >> being healed. I'm testing that right now myself and that's almost invisible >> for the VM using 3.7.11. Use the latest version though, it really really >> wasn't transparent in 3.7.6 :). >> > I don't like sharding. With sharing all "files" are split in shard and > distributed across the whole cluster. > If everything went bad, reconstructing a file from it shards could be hard. > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160520/16d7caee/attachment.html>