Project

General

Profile

Actions

Feature #63665

closed

Feature #63663: mds,client: add crash-consistent snapshot support

mds: QuiesceDb to manage subvolume quiesce state

Added by Patrick Donnelly over 2 years ago. Updated 5 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
% Done:

100%

Source:
Development
Backport:
squid
Reviewed:
Affected Versions:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Tags (freeform):
Fixed In:
v19.3.0-507-g6185d084fa
Released In:
v20.2.0~3379
Upkeep Timestamp:
2025-11-01T01:12:00+00:00

Description

QuiesceDb is an ephemeral versioned replicated database holding a collection of QuiesceSet s. Each quiesce set carries a QuiesceState which can be observed by clients. QuiesceSet manages a collection of members - QuiesceRoot s and their corresponding QuiesceState s. When all members of a set reach quiesced state then the set is considered quiesced.

QuiesceDb is replicated across ranks of a file system. A single rank is selected to be the leader. The leader is authorized to maintain the database by processing external requests, peer acks, and timeout events. Updates to the database are sent out by the leader to all registered peers.

QuiesceDbManager is the class that maintains the quiesce db. Managers should be instantiated by the ranks and configured to form a cluster. The QuiesceDbManager only cares about the consistency of the quiesce db, and relies on the QuiesceAgent to perform the quiescing operations.


Related issues 1 (0 open1 closed)

Copied to CephFS - Backport #64896: squid: mds: QuiesceDb to manage subvolume quiesce stateResolvedLeonid UsovActions
Actions #1

Updated by Patrick Donnelly over 2 years ago

  • Pull request ID set to 54485
Actions #2

Updated by Leonid Usov over 2 years ago

  • Tracker changed from Bug to Feature
Actions #3

Updated by Leonid Usov over 2 years ago

  • % Done changed from 0 to 100
Actions #4

Updated by Leonid Usov over 2 years ago

  • % Done changed from 100 to 90
Actions #5

Updated by Leonid Usov over 2 years ago

  • Description updated (diff)
Actions #6

Updated by Leonid Usov over 2 years ago

  • Subject changed from mds: add quiescedb to manage subvolume quiesce state to mds: QuiesceDb to manage subvolume quiesce state
Actions #7

Updated by Leonid Usov over 2 years ago

  • Status changed from In Progress to Fix Under Review
  • % Done changed from 90 to 100
Actions #8

Updated by Patrick Donnelly about 2 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Target version changed from v19.0.0 to v20.0.0
  • Backport set to squid
Actions #9

Updated by Upkeep Bot about 2 years ago

  • Copied to Backport #64896: squid: mds: QuiesceDb to manage subvolume quiesce state added
Actions #11

Updated by Patrick Donnelly almost 2 years ago

  • Status changed from Pending Backport to Resolved
Actions #12

Updated by Upkeep Bot 9 months ago

  • Merge Commit set to 6185d084fab59d208d3bfb1fbf5565b52edd85a6
  • Fixed In set to v19.3.0-507-g6185d084fab
  • Upkeep Timestamp set to 2025-07-02T03:45:58+00:00
Actions #13

Updated by Upkeep Bot 8 months ago

  • Fixed In changed from v19.3.0-507-g6185d084fab to v19.3.0-507-g6185d084fa
  • Upkeep Timestamp changed from 2025-07-02T03:45:58+00:00 to 2025-07-14T16:45:44+00:00
Actions #14

Updated by Upkeep Bot 5 months ago

  • Released In set to v20.2.0~3379
  • Upkeep Timestamp changed from 2025-07-14T16:45:44+00:00 to 2025-11-01T01:12:00+00:00
Actions

Also available in: Atom PDF