All of lore.kernel.org
 help / color / mirror / Atom feed
From: Henry C Chang <henry.cy.chang@gmail.com>
To: ceph-devel <ceph-devel@vger.kernel.org>
Subject: question about pg mapping
Date: Fri, 20 May 2011 15:05:21 +0800	[thread overview]
Message-ID: <BANLkTinTakGWiorMJP95Zu8F-CWCWOvU8g@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 573 bytes --]

Hi all,

In my ceph cluster, I saw a pg membership change as below:

At osdmap epch 160, pg 1.184 was mapped to [4, 6].

        osdmaptool: osdmap file '160'
         parsed '1.184' -> 1.184
        1.184 raw [4,6] up [4,6] acting [4,6]

At osdmap epoch 161, however, pg 1.184 was mapped to [0, 5].

        osdmaptool: osdmap file '161'
         parsed '1.184' -> 1.184
        1.184 raw [0,5] up [0,5] acting [0,5]

The osdmap are attached.
Is it normal that the pg membership changes like this? I thought at
least one member will stay in the pg in this case?

--
Henry

[-- Attachment #2: 160 --]
[-- Type: application/octet-stream, Size: 5559 bytes --]

[-- Attachment #3: 161 --]
[-- Type: application/octet-stream, Size: 5559 bytes --]

             reply	other threads:[~2011-05-20  7:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-20  7:05 Henry C Chang [this message]
2011-05-26 17:36 ` question about pg mapping Gregory Farnum

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=BANLkTinTakGWiorMJP95Zu8F-CWCWOvU8g@mail.gmail.com \
    --to=henry.cy.chang@gmail.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.