Project

General

Profile

Actions

Bug #61819

open

[Client] handle_command_reply overwrite outbl, so cannot get previous results when using wildcard command

Added by Jinmyeong Lee 11 months ago. Updated 7 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy,reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Sending a command to all MDSs is available in Client:mds_command(https://github.com/ceph/ceph/blob/main/src/client/Client.cc#L6264-L6275) mds_command with mds_spec: *.

The command messages are sharing the bufferlist which is passed by libcephfs::ceph_mds_command.

But in "handle_command_reply", the outbl is overwritten, so to aggregate all results from all MDSs, it should be appended.


Related issues 2 (2 open0 closed)

Copied to Ceph - Backport #63147: reef: [Client] handle_command_reply overwrite outbl, so cannot get previous results when using wildcard commandIn ProgressRishabh DaveActions
Copied to Ceph - Backport #63148: quincy: [Client] handle_command_reply overwrite outbl, so cannot get previous results when using wildcard commandIn ProgressRishabh DaveActions
Actions

Also available in: Atom PDF