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

Joel Colledge joel.colledge at linbit.com
Mon Aug 1 16:22:12 CEST 2022


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


More information about the drbd-dev mailing list