<div dir="ltr">Dear Lars,<div><br></div><div>I see.<br><div>Thank you.</div><div><br><div class="gmail_extra"><br><div class="gmail_quote">2016-02-24 23:17 GMT+09:00 Lars Ellenberg <span dir="ltr">&lt;<a href="mailto:lars.ellenberg@linbit.com" target="_blank">lars.ellenberg@linbit.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Feb 24, 2016 at 04:04:11PM +0900, 김재헌 wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; Conf:<br>
&gt;  - A(Async) or C(sync) replication mode<br>
&gt;  - setup before-resync-source( this handler sleeps just 1 minute)<br>
&gt;<br>
&gt; Test:<br>
&gt;  - 1) Big file copy<br>
&gt;  - 2) During copy,disconnect and connect<br>
&gt;  - 3) before-resync-source handler called<br>
&gt;  - 4) At this point copy operation is pending until handler finished.<br>
&gt;<br>
&gt; Is it normal operation?<br>
<br>
</span>The before-resync handlers can return an exit code != 0 (and != 3,<br>
for hysterical reasons), and will cause the connection to be dropped<br>
(and nothing to be resynced or changed).<br>
<br>
So yes, the resync has to wait for that exit code.<br>
<br>
What would you want to do from there?<br>
<br>
Also, if you think that is useful,<br>
you can do the equivalent of &quot;nohup some-long-running-script &amp; exit 0&quot;...<br>
But I fail to see the usecase.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
: Lars Ellenberg<br>
: <a href="http://www.LINBIT.com" rel="noreferrer" target="_blank">http://www.LINBIT.com</a> | Your Way to High Availability<br>
: DRBD, Linux-HA  and  Pacemaker support and consulting<br>
<br>
DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.<br>
_______________________________________________<br>
drbd-dev mailing list<br>
<a href="mailto:drbd-dev@lists.linbit.com">drbd-dev@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-dev" rel="noreferrer" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-dev</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><p style="margin:0cm 0cm 0pt"><img src="cid:image001.png@01D0F522.B2A586F0" alt="설명: logo"><span lang="EN-US" style="color:black;font-size:10pt;font-family:verdana,sans-serif">          </span><span lang="EN-US" style="color:black;font-size:10pt;font-family:verdana,sans-serif">       </span></p><p style="margin:0cm 0cm 0pt"></p><p style="margin:0cm 0cm 0.0001pt;background-image:initial;background-repeat:initial"><font face="verdana, sans-serif"><b><span style="font-size:10.5pt;color:black"><span lang="EN-US">김 재 헌 이사</span></span></b><b><span style="font-size:10pt;color:black"><span lang="EN-US">              jhkim</span></span></b><span lang="EN-US" style="font-size:10pt;color:black">@<a href="http://mantech.co.kr/" style="color:rgb(17,85,204)" target="_blank">mantech.co.kr</a></span></font></p><p style="margin:0cm 0cm 0.0001pt;line-height:21px"><span lang="EN-US" style="font-size:8pt;line-height:16px;font-family:&#39;\00b9d1\00c740  \00ace0\00b515&#39;;color:rgb(127,127,127)"><img src="cid:ii_150a68c3811acf54" alt="본문 이미지 1" width="400" height="160" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14px;line-height:normal"><br></span></p></div></div></div></div>
</div></div></div></div>