]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd, mds: fix the "heap" admin cmd printing always to error stream
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 17 Aug 2022 12:44:42 +0000 (12:44 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 17 Aug 2022 14:42:35 +0000 (14:42 +0000)
commit94436475c4c9a11a94dd21c619c9ae0014ac393d
tree467429ff02c5944a408ec2f86e8091c84cb3dcd6
parent3f4ccb15825f50393727ddf25d0d19816a00bbdf
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>
src/mds/MDSDaemon.cc
src/osd/OSD.cc