diff options
author | Sage Weil <sage@inktank.com> | 2013-08-08 18:34:19 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-08-08 18:34:19 -0700 |
commit | 469d30b851584b90c7de4e36372a49c02f9a2043 (patch) | |
tree | 78282a1fed77d9279f19af277cfcfd4d556ab42e | |
parent | 5bdbe9d617d6d9a00026b3b65833c4338bc9541f (diff) | |
parent | 6256d681a4f0449a957dca09f84269f1feae7aaa (diff) | |
download | ceph-469d30b851584b90c7de4e36372a49c02f9a2043.tar.gz |
Merge pull request #480 from dachary/master
Add the definition of PG temp to the glossary
Reviewed-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | doc/dev/peering.rst | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/dev/peering.rst b/doc/dev/peering.rst index cf2c429f818..6f68e629e4e 100644 --- a/doc/dev/peering.rst +++ b/doc/dev/peering.rst @@ -20,7 +20,19 @@ Concepts the ordered list of OSDs responsible for a particular PG for a particular epoch according to CRUSH. Normally this is the same as the *acting set*, except when the *acting set* has been - explicitly overridden via pg_temp in the OSDMap. + explicitly overridden via *PG temp* in the OSDMap. + +*PG temp* + a temporary placement group acting set used while backfilling the + primary osd. Let say acting is [0,1,2] and we are + active+clean. Something happens and acting is now [3,1,2]. osd 3 is + empty and can't serve reads although it is the primary. osd.3 will + see that and request a *PG temp* of [1,2,3] to the monitors using a + MOSDPGTemp message so that osd.1 temporarily becomes the + primary. It will select osd.3 as a backfill peer and continue to + serve reads and writes while osd.3 is backfilled. When backfilling + is complete, *PG temp* is discarded and the acting set changes back + to [3,1,2] and osd.3 becomes the primary. *current interval* or *past interval* a sequence of osd map epochs during which the *acting set* and *up |