Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
From: Dominic <dominic@let2.com>
To: Philipp Reisner <philipp.reisner@linbit.com>
Cc: drbd-dev@lists.linux.dev
Subject: Re: 9.3.4: resync after a crashed Primary misses blocks (silent divergence) if that node was promoted in place after being Secondary under another Primary
Date: Mon, 2 Nov 2026 11:23:55 +0000	[thread overview]
Message-ID: <auhyyxG1a7C_-3mU@let2.com> (raw)
In-Reply-To: <CADGDV=VOZfZY0X0wMc6vWBBsnfTQQNxhRxAa_s=6phsrH1fXOQ@mail.gmail.com>

Hi Phil,

Thank you for the quick and clear answer.

I re-ran our sequence on current master in the same two VMs:
git 0192e7af3 ("Merge drbd-9.2/793f90dff53c ..."), which contains
39d0a42c51a1 and cabad431fc02, built with "make" against
7.0.0-38-generic and installed in place of the 9.3.4 dkms module on
both nodes. drbd-utils is unchanged (9.35.0), and so is the
configuration (2 volumes, max-peers left at the default).

Results, with the same steps as in my report:

- Failing case (B Primary, write, demote, then in-place promotion of
  A), twice: the log still shows "Disabling local AL-updates
  (optimization)" while B is Primary. After A's crash and attach, A
  resyncs 28672 KB [7168 bits set] on volume 0 (9.3.4: 3072 bits), and
  the backing devices match on both volumes. Both runs passed.
- Control without the B Primary step: 6144 bits, match.

So the fix covers our exact sequence. On 9.3.4 it failed 3 times out
of 3; on master it passed 2 out of 2, plus the control.

For production we will keep promoting only after a fresh attach, and
move to the first release that carries the fix.

Best regards,
Dominic

      reply	other threads:[~2026-11-02 11:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-27  6:38 9.3.4: resync after a crashed Primary misses blocks (silent divergence) if that node was promoted in place after being Secondary under another Primary Dominic
2026-11-02  9:46 ` Philipp Reisner
2026-11-02 11:23   ` Dominic [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=auhyyxG1a7C_-3mU@let2.com \
    --to=dominic@let2.com \
    --cc=drbd-dev@lists.linux.dev \
    --cc=philipp.reisner@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