All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wido den Hollander <wido@widodh.nl>
To: Eric_YH_Chen@wistron.com
Cc: ceph-devel@vger.kernel.org, Chris_YT_Huang@wistron.com,
	Alex_KT_Lin@wistron.com
Subject: Re: Why only support odd number monitors in ceph cluster?
Date: Fri, 23 Dec 2011 10:34:11 +0100	[thread overview]
Message-ID: <4EF44B13.80301@widodh.nl> (raw)
In-Reply-To: <8512670932FB654F81AF0FEF1BE6D49DABFBE6@WHQBEMAIL1.whq.wistron>

Hi,

On 12/23/2011 08:21 AM, Eric_YH_Chen@wistron.com wrote:
> Hi, all:
>
>       I am curious about why ceph cluster only support odd number monitors.

It doesn't only support a odd number. A even number of monitors works in 
theory, but it's recommended to use a odd number to get a majority.

>
>       If we lose 1 monitor (becomes odd number),

You shouldn't look to the number of online monitors, but to the number 
of monitors in your monmap. That should be a odd number.

Wido

>
>        would it cause any problem if we do not handle this situation in short time?
>
>       Thanks!
>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


  reply	other threads:[~2011-12-23  9:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-23  7:21 Why only support odd number monitors in ceph cluster? Eric_YH_Chen
2011-12-23  9:34 ` Wido den Hollander [this message]
2011-12-23 15:48   ` Sage Weil

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=4EF44B13.80301@widodh.nl \
    --to=wido@widodh.nl \
    --cc=Alex_KT_Lin@wistron.com \
    --cc=Chris_YT_Huang@wistron.com \
    --cc=Eric_YH_Chen@wistron.com \
    --cc=ceph-devel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.