]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd, mds: fix the "heap" admin cmd printing always to error stream 48106/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 17 Aug 2022 12:44:42 +0000 (12:44 +0000)
committerPrashant D <pdhange@redhat.com>
Wed, 14 Sep 2022 23:52:38 +0000 (19:52 -0400)
commit1b119dc420d069bb760aa9a53c9d29e5ea512c3f
tree0a62d39d8b9b3f6a6daeb1f81a83ad44b6c4b91d
parent2a08bf128ff1ff559c9771b2fd0f0a59a72367b7
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