Link: https://openstack.nimeyo.com/88829/?show=88829#q88829<br />
From: Pompon <jmbonnefond@gmail.com><br />
<br />
<p>Hello all,</p>

<p>I'm investigating the logs for my Erasure coded ring. Last week, I used to have a full reconstruction process done in about one hour with around 30 partitions per second treated. Here is an extract of the object-reconstructor logs I had :</p>

<pre><code>Jun 18 06:26:51 STACO1 object-reconstructor: 102414/113992 (89.84%) partitions of 7/7 (100.00%) devices reconstructed in 3600.01s (28.45/sec, 6m remaining)
</code></pre>

<p>Then I started puting data into the ring (Already sent 5TB of data into it), but the more data are injected into my erasure coded ring, the more times it takes, and the values are today : <strong>70 hours</strong> for a full reconstruction process with only 5 partitions per seconds treated.</p>

<pre><code>Jun 27 06:33:08 STACO1 object-reconstructor: 818326/818326 (100.00%) partitions of 7/7 (100.00%) devices reconstructed in 159563.78s (5.13/sec, 0s remaining)
Jun 27 06:38:39 STACO1 object-reconstructor: 955/116211 (0.82%) partitions of 1/7 (14.29%) devices reconstructed in 300.03s (3.18/sec, 70h remaining)
</code></pre>

<p>Also what means the "partitions" values given here? Last week I had only 113992 partitions, and now I have 818326?  However, my ring only contains 26244 partitions.</p>

<p>Between last week and now, I injected 5TB of data to the ring and added a 28th device into it</p>

<pre><code># swift-ring-builder object-1.builder
object-1.builder, build version 66
262144 partitions, 12.000000 replicas, 1 regions, 4 zones, 28 devices, 0.82 balance, 31.02 dispersion
The minimum number of hours before a partition can be reassigned is 1 (0:00:00 remaining)
The overload factor is 0.00% (0.000000)
</code></pre>

<p>Si should I worry about this long reconstruction time or not? And what can I do to enhance it in case? </p>

<p>Thanks.</p>