<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Il 09/03/2017 17:17, Vijay Bellur ha
scritto:<br>
</div>
<blockquote
cite="mid:CAHn=sVCMMZ4YCeGKVJRj21qKx3HX01ORRO3pYrcDG-FVzKE1MA@mail.gmail.com"
type="cite"><br>
<div class="gmail_extra"><br>
<div class="moz-signature">On Thu, Mar 9, 2017 at 11:10 AM,
Kevin Lemonnier <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:lemonnierk@ulrar.net" target="_blank">lemonnierk@ulrar.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"><span class="gmail-">>
I've seen the term sharding pop up on the list a number of
times but I<br>
> haven't found any documentation or explanation of
what it is. Would someone<br>
> please enlighten me?<br>
<br>
</span>It's a way to split the files you put on the volume.
With a shard size of 64 MB<br>
for example, the biggest file on the volume will be 64 MB.
It's transparent<br>
when accessing the files though, you can still of course
write your 2 TB file<br>
and access it as usual.<br>
<br>
It's usefull for things like healing (only the shard being
headed is locked,<br>
and you have a lot less data to transfert) and for things
like hosting a single<br>
huge file that would be bigger than one of your replicas.<br>
<br>
We use it for VM disks, as it decreases heal times a lot.<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
</font></span></blockquote>
<div><br>
</div>
<div><br>
</div>
<div>Some more details on sharding can be found at [1].</div>
<br>
</div>
</div>
</blockquote>
<br>
<br>
I haven't done any test yet, but I was under the impression that
sharding feature isn't so stable/mature yet.<br>
In the remote of my mind I remember reading something about a
bug/situation which caused data corruption.<br>
Can someone confirm that sharding is stable enough to be used in
production and won't cause any data loss?<br>
<br>
I'd really would like to use it, as it would probably speed up
healing a lot (as I use it to store vm disks).<br>
<br>
Thanks,<br>
Alessandro<br>
</body>
</html>