ceph-acting-set · shipping · also Ceph acting set

Acting set (Ceph)

In Ceph, the acting set is the ordered OSD list responsible for a placement group at a particular map epoch.

Related Observatory article: Read on hesela.com

It normally matches the up set but can be overridden through PG temp. Membership is not proof that every member has the latest contents. [1]

The up set is the CRUSH result for an epoch, while the acting set is the ordered list actually responsible for the PG, whose first member is the primary that accepts client writes. In the documented example the mapping [3,1,2] puts an empty osd.3 first, so PG temp [1,2,3] makes osd.1 primary while osd.3 is backfilled, after which the override is dropped. [1] The code requests a PG temp change whenever the wanted acting set differs from the current one and clears it when the wanted set equals the up set. [4]

No write is acknowledged until every acting member has persisted it, so peering needs only one reachable member of each earlier acting set to find all acknowledged writes. [1] A PG stays active while at least min_size members are available, for example 2 of 3 with size 3 and min_size 2. [5] The original design paper describes the same ordered OSD list and primary-driven peering without using the term acting set. [3]

Relations

related
Placement group (Ceph), Up set (Ceph), Peering (Ceph)

Limitations

  • With min_size 1 a single remaining acting member still accepts I/O, leaving one copy of the data. [5]
  • Recovery is refused when the wanted acting set has fewer members than min_size, unless an option allows recovery below it. [4]

Citations

  1. Ceph Squid developer documentation: Peering, concepts (accessed 2026-10-13)
  2. Weil, Brandt, Miller, Maltzahn. RADOS: A Scalable, Reliable Storage Service for Petabyte-scale Storage Clusters. PDSW 2007, sections 2.2 and 3.4. (accessed 2026-10-16)
  3. Ceph v19.2.0 source: src/osd/PeeringState.cc (choose_acting) and src/osd/OSDMap.cc (_get_temp_osds). (accessed 2026-10-16)
  4. Ceph Squid documentation: Pools, size and min_size. (accessed 2026-10-16)

Further reading

  1. Storage availability and correlated failures: placement boundaries (accessed 2026-10-13)
Sources & caveats
  • The peering documentation and the source code are project material and define the feature, so they are not independent of the design; the 2007 design paper is university work.
  • The documentation is for the Squid release and the code is v19.2.0; the 2007 paper describes an early version and predates the terms up set, acting set and PG temp.
  • The [3,1,2] and [1,2,3] case is the documentation example, not a measurement; the 2-of-3 case follows from size 3 and min_size 2 in the pool documentation.
  • Stretch-mode pools and erasure-coded shards were not studied.

JSON: /data/terms/ceph-acting-set.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Acting set (Ceph). Hesela. 2026-10-16. https://hesela.dev/terms/ceph-acting-set/