Bug #23958
mds: 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 }
Related issues
History
#1 Updated by Zheng Yan almost 5 years ago
recursive scrub is async, it does not return anything
#2 Updated by Patrick Donnelly almost 5 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.
#3 Updated by Patrick Donnelly almost 5 years ago
- Assignee set to Patrick Donnelly
#4 Updated by Patrick Donnelly over 4 years ago
- Target version changed from v13.0.0 to v14.0.0
- Backport changed from luminous to mimic,luminous
#5 Updated by Patrick Donnelly over 4 years ago
- Assignee changed from Patrick Donnelly to Venky Shankar
#6 Updated by Venky Shankar over 4 years ago
- Status changed from New to Fix Under Review
#7 Updated by Patrick Donnelly over 4 years ago
- Status changed from Fix Under Review to Pending Backport
#8 Updated by Patrick Donnelly over 4 years ago
- Copied to Backport #25037: mimic: mds: scrub doesn't always return JSON results added
#9 Updated by Patrick Donnelly over 4 years ago
- Copied to Backport #25038: luminous: mds: scrub doesn't always return JSON results added
#10 Updated by Nathan Cutler over 4 years ago
- Status changed from Pending Backport to Resolved