Project

General

Profile

Actions

Cleanup #18584

closed

osd: improper format for dumpping purged_snaps

Added by Chang Liu over 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
OSD
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

./bin/ceph-objectstore-tool --data-path=./dev/osd1/ --dry-run --op info --pgid 2.4
{
    "pgid": "2.4",
    "last_update": "104'22",
    "last_complete": "104'22",
    "log_tail": "0'0",
    "last_user_version": 8,
    "last_backfill": "MAX",
    "last_backfill_bitwise": 0,
    "purged_snaps": "[]",  # my comment: here should be [], without `"`
    "history": {

code: https://github.com/ceph/ceph/blob/master/src/osd/osd_types.cc#L2854

Actions

Also available in: Atom PDF