From: Philipp Reisner <philipp.reisner@linbit.com>
To: drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] Problems with code to disallow connection when peer has mismatched UUID
Date: Fri, 31 Oct 2008 13:43:45 +0100 [thread overview]
Message-ID: <200810311343.46320.philipp.reisner@linbit.com> (raw)
In-Reply-To: <DA0E7D869C862D4095C265233CD1D41E01192D4A@EXNA.corp.stratus.com>
Am Montag 15 September 2008 16:40:34 schrieb Graham, Simon:
> Attached is a proposed patch to address this problem that does the
> following:
>
> 1. When connection is lost, a new UUID is not created on the primary if
> the local disk is inconsistent
> 2. Allow connection to be established if local disk is inconsistent even
> if the remote is using
> a different UUID - our data is useless and cannot have been changed
> anyway. The following handshake
> will cause the appropriate resync.
>
> Although only one of these is actually required to fix my problem, I
> thought it was better to be consistent
> and change both.
>
Hi Simon,
You patch is correct, and quite similar to that commit. The second
hunk is missing since a node in such an state can not get promoted
to primary anyways.
commit a20ecb2e221a3a0e565ecdbb9ac5239b54dca395
Author: Philipp Reisner <philipp.reisner@linbit.com>
Date: Thu Jul 24 14:06:41 2008 +0200
Fixed the "exposed data" logic in case a sync target primary lost the
network connection
closes #98
-Phil
--
: Dipl-Ing Philipp Reisner
: LINBIT | Your Way to High Availability
: Tel: +43-1-8178292-50, Fax: +43-1-8178292-82
: http://www.linbit.com
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.
prev parent reply other threads:[~2008-10-31 12:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-10 20:13 [Drbd-dev] Problems with code to disallow connection when peer has mismatched UUID Graham, Simon
2008-09-11 9:24 ` Lars Ellenberg
2008-09-11 10:33 ` [Drbd-dev] Problems with code to disallow connection when peerhas " Graham, Simon
2008-09-15 14:40 ` [Drbd-dev] Problems with code to disallow connection when peer has " Graham, Simon
2008-09-16 19:14 ` Graham, Simon
2008-10-31 12:43 ` Philipp Reisner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200810311343.46320.philipp.reisner@linbit.com \
--to=philipp.reisner@linbit.com \
--cc=drbd-dev@lists.linbit.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox