From: Jos Collin Date: Thu, 19 Sep 2024 06:40:00 +0000 (+0530) Subject: doc: revert sync_duration to seconds X-Git-Tag: v18.2.5~254^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ffe2d4d4fd38005653a7e86876bd2e2d1ee695c0;p=ceph.git doc: revert sync_duration to seconds Fixes: https://tracker.ceph.com/issues/68131 Signed-off-by: Jos Collin (cherry picked from commit 42d89dfb6412b31673c1cbf79a77db175a0ad91d) --- diff --git a/doc/cephfs/cephfs-mirroring.rst b/doc/cephfs/cephfs-mirroring.rst index f54050514ed..2a0d4c2b957 100644 --- a/doc/cephfs/cephfs-mirroring.rst +++ b/doc/cephfs/cephfs-mirroring.rst @@ -340,7 +340,7 @@ command is of format `filesystem-name@filesystem-id peer-uuid`:: "last_synced_snap": { "id": 120, "name": "snap1", - "sync_duration": 0.079997898999999997, + "sync_duration": 3, "sync_time_stamp": "274900.558797s", "sync_bytes": 52428800 }, @@ -374,7 +374,7 @@ When a directory is currently being synchronized, the mirror daemon marks it as "last_synced_snap": { "id": 120, "name": "snap1", - "sync_duration": 0.079997898999999997, + "sync_duration": 3, "sync_time_stamp": "274900.558797s", "sync_bytes": 52428800 }, @@ -403,7 +403,7 @@ E.g., adding a regular file for synchronization would result in failed status:: "last_synced_snap": { "id": 121, "name": "snap2", - "sync_duration": 300, + "sync_duration": 5, "sync_time_stamp": "500900.600797s", "sync_bytes": 78643200 }, @@ -439,7 +439,7 @@ In the remote filesystem:: "last_synced_snap": { "id": 120, "name": "snap1", - "sync_duration": 0.079997898999999997, + "sync_duration": 3, "sync_time_stamp": "274900.558797s" }, "snaps_synced": 2, @@ -513,16 +513,16 @@ CephFS exports mirroring metrics as :ref:`Labeled Perf Counters` which will be c - The total number of snapshots renamed * - avg_sync_time - Gauge - - The average time (ms) taken by all snapshot synchronizations + - The average time taken by all snapshot synchronizations * - last_synced_start - Gauge - - The sync start time (ms) of the last synced snapshot + - The sync start time of the last synced snapshot * - last_synced_end - Gauge - - The sync end time (ms) of the last synced snapshot + - The sync end time of the last synced snapshot * - last_synced_duration - Gauge - - The time duration (ms) of the last synchronization + - The time duration of the last synchronization * - last_synced_bytes - counter - The total bytes being synchronized for the last synced snapshot