<div dir="ltr">Hi gluster users,<div><br></div><div>I&#39;m a doing write-read-verify test on 2 + 1 disperse volume.</div><div><br></div><div>The test keeps write-read-verify on a tested-file until it receives a stop signal.</div><div><br></div><div>When test is still working, I replace a brick in the disperse volume.</div><div><br></div><div>The test result seems good as usual, no error after verification.</div><div><br></div><div> [gluster volume heal info] command shows nothing in the new brick but the tested file name under two unreplaced bricks.</div><div><br></div><div>Both of two unreplaced brick also have non-zero number on Number of entries.(not in new brick)</div><div><br></div><div>I also found that the size of the testes-file in the new brick will grow-up to the same size as in the other brick and then suddenly drop to zero.</div><div><br></div><div>After tracing by gdb, when the file is being healed, another heal operation will trigger cluster_ftruncate in __ec_heal_trim_sinks, which causes the file size drop to zero.</div><div><br></div><div>The getfattr -d -m. -e hex &quot;filename&quot; shows trusted.ec.dirty with nonezero value in two unreplaced brick but no trusted.ec.dirty shows in new brick.</div><div><br></div><div>I&#39;m confused about some questions.</div><div><br></div><div>1. Why another heal activity will be triggered after preview healing is complete (ec_heal_report shows success)? </div><div><br></div><div>    I tried to reduce disperse.background-heals to 1 or disperse.heal-wait-qlength to 0 but no help.</div><div><br></div><div>2. After I stop the write-read-verify test, the file size in each bricks became the same, no file name shows</div><div><br></div><div>    in the  [gluster volume heal info] command and all trusted.ec.dirty became to 0.</div><div><br></div><div>    How Is the IO activity affect the result of healing?<br></div><div><br></div><div>If the healing will not end, and the other brick failed, the volume failed.</div><div><br></div><div>Any ideas please?<br></div><div><br></div><div>Thanks</div><div><br></div><div><br></div></div>