Actions
Cleanup #18584
closedosd: improper format for dumpping purged_snaps
% 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
Updated by Chang Liu over 7 years ago
Sorry, issue's type should be a "Cleanup", not a "Bug".
I'm working on this issue.
Updated by Chang Liu about 7 years ago
./bin/ceph-objectstore-tool --data-path=./dev/osd1/ --dry-run --op info --pgid 2.4 { "pgid": "2.4", "last_update": "13'8", "last_complete": "13'8", "log_tail": "0'0", "last_user_version": 8, "last_backfill": "MAX", "last_backfill_bitwise": 0, "purged_snaps": [ "2,2" ],
Actions