Actions
Bug #23958
closedmds: scrub doesn't always return JSON results
Status:
Resolved
Priority:
Urgent
Assignee:
Category:
fsck/damage handling
Target version:
% Done:
0%
Source:
Development
Tags:
Backport:
mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
On a vstart cluster:
pdonnell@senta02 ~/ceph/build$ bin/ceph daemon mds.b scrub_path / force recursive *** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH *** pdonnell@senta02 ~/ceph/build$ bin/ceph daemon mds.b scrub_path / force recursive *** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH *** pdonnell@senta02 ~/ceph/build$ bin/ceph daemon mds.b scrub_path / *** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH *** { "performed_validation": true, "passed_validation": true, "backtrace": { "checked": true, "passed": true, "read_ret_val": 0, "ondisk_value": "(2)0x1:[]//", "memoryvalue": "(2)0x1:[]//", "error_str": "" }, "raw_stats": { "checked": true, "passed": true, "read_ret_val": 0, "ondisk_value.dirstat": "f()", "ondisk_value.rstat": "n(v0 1=0+1)", "memory_value.dirrstat": "f()", "memory_value.rstat": "n(v0 1=0+1)", "error_str": "" }, "return_code": 0 }
Updated by Zheng Yan almost 6 years ago
recursive scrub is async, it does not return anything
Updated by Patrick Donnelly almost 6 years ago
Zheng Yan wrote:
recursive scrub is async, it does not return anything
Good point, thanks. Even so, we shoudl return something so that json parsers don't blow up without input.
Updated by Patrick Donnelly almost 6 years ago
- Target version changed from v13.0.0 to v14.0.0
- Backport changed from luminous to mimic,luminous
Updated by Patrick Donnelly almost 6 years ago
- Assignee changed from Patrick Donnelly to Venky Shankar
Updated by Venky Shankar almost 6 years ago
- Status changed from New to Fix Under Review
Updated by Patrick Donnelly almost 6 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Patrick Donnelly almost 6 years ago
- Copied to Backport #25037: mimic: mds: scrub doesn't always return JSON results added
Updated by Patrick Donnelly almost 6 years ago
- Copied to Backport #25038: luminous: mds: scrub doesn't always return JSON results added
Updated by Nathan Cutler over 5 years ago
- Status changed from Pending Backport to Resolved
Actions