]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd, mds: fix the "heap" admin cmd printing always to error stream 47825/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 17 Aug 2022 12:44:42 +0000 (12:44 +0000)
committerLaura Flores <lflores@redhat.com>
Fri, 26 Aug 2022 22:09:08 +0000 (17:09 -0500)
commit5e2e4a6bcf89f7aeca59d47dfce26e3e340a319b
treeb9908dfebd55f6ff4094777559dfb44496732edf
parent94f18a7037c65fc6065f19f9ad50e0de3028a28d
osd, mds: fix the "heap" admin cmd printing always to error stream

Before the patch `ceph::osd_cmds::heap()` was confusing
the concepts of _stderr_ and _stdout_. This  was the direct
cause of the differences in output between `ceph tell` and
`ceph daeamon`.

Thanks to Laura Flores who made the extremely useful observation
noted in https://tracker.ceph.com/issues/57119#note-3.

Fixes: https://tracker.ceph.com/issues/57119
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 94436475c4c9a11a94dd21c619c9ae0014ac393d)
src/mds/MDSDaemon.cc
src/osd/OSD.cc