[Drbd-dev] [PATCH] drbd: fix a bug with two-primaries configuration

rui.xu rui.xu at easystack.cn
Tue Aug 2 04:35:40 CEST 2022


Hi Joel,
  Thanks for the reply. It is indeed a intended behavior and i will discard the patch.

Thanks,
Xu







From: Joel Colledge <joel.colledge at linbit.com>
Date: 2022-08-01 22:22:12
To:  Rui Xu <rui.xu at easystack.cn>
Cc:  Philipp Reisner <philipp.reisner at linbit.com>,drbd-dev at lists.linbit.com,dongsheng.yang at easystack.cn
Subject: Re: [PATCH] drbd: fix a bug with two-primaries configuration>The behavior that you describe is the intended behavior, I believe. If
>you have two primaries and want to disconnect them in a controlled
>fashion, you should demote them first.
>
>As discussed previously, you probably should not be using
>"allow-two-primaries" at all.
>
>The proposed patch unfortunately also breaks various other usage
>scenarios. For instance, if you have two nodes that are both Secondary
>and UpToDate, and run 'drbdsetup disconnect', it will cause them to
>become Outdated.
>
>Best regards,
>Joel




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-dev/attachments/20220802/df169303/attachment.htm>


More information about the drbd-dev mailing list