[Drbd-dev] [CASE-24] Does replication have to wait until the end of handler service?

김재헌 jhkim at mantech.co.kr
Fri Feb 26 14:21:54 CET 2016


Dear Lars,

I see.
Thank you.


2016-02-24 23:17 GMT+09:00 Lars Ellenberg <lars.ellenberg at linbit.com>:

> On Wed, Feb 24, 2016 at 04:04:11PM +0900, 김재헌 wrote:
> > Hi,
> >
> > Conf:
> >  - A(Async) or C(sync) replication mode
> >  - setup before-resync-source( this handler sleeps just 1 minute)
> >
> > Test:
> >  - 1) Big file copy
> >  - 2) During copy,disconnect and connect
> >  - 3) before-resync-source handler called
> >  - 4) At this point copy operation is pending until handler finished.
> >
> > Is it normal operation?
>
> The before-resync handlers can return an exit code != 0 (and != 3,
> for hysterical reasons), and will cause the connection to be dropped
> (and nothing to be resynced or changed).
>
> So yes, the resync has to wait for that exit code.
>
> What would you want to do from there?
>
> Also, if you think that is useful,
> you can do the equivalent of "nohup some-long-running-script & exit 0"...
> But I fail to see the usecase.
>
>
> --
> : Lars Ellenberg
> : http://www.LINBIT.com | Your Way to High Availability
> : DRBD, Linux-HA  and  Pacemaker support and consulting
>
> DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
> _______________________________________________
> drbd-dev mailing list
> drbd-dev at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-dev
>



-- 

[image: 설명: logo]

*김 재 헌 이사**              jhkim*@mantech.co.kr

[image: 본문 이미지 1]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-dev/attachments/20160226/d74b654e/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 16229 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-dev/attachments/20160226/d74b654e/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4544 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-dev/attachments/20160226/d74b654e/attachment-0003.png>


More information about the drbd-dev mailing list