public inbox for [email protected]  
help / color / mirror / Atom feed
From: Luca Ferrari <[email protected]>
To: [email protected]
Subject: main vs primary
Date: Tue, 29 Jul 2025 12:32:17 +0200
Message-ID: <CAKoxK+7ZbtVu6WEPtLze+HciX6S8aiRNhqQwD3R=CdwHdYQTRQ@mail.gmail.com> (raw)

Hi all,
sorry for the trivial question, but I cannot find this in
documentation, so please indicate me where I can find (in case I
missed).
What is the difference between main and primary nodes?

For example, in my logs I've:

LOG:  failover: 2 follow backends have been degenerated
LOG:  failover: set new primary node: 1
LOG:  failover: set new main node: 2

in my scenario, the third host (so number 2) has been promoted. So
what is the "primary" node 1 doing?

Thanks,
Luca





reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: main vs primary
  In-Reply-To: <CAKoxK+7ZbtVu6WEPtLze+HciX6S8aiRNhqQwD3R=CdwHdYQTRQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox