]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/mgr: add a `one-shot` parameter to send_command
authorLeonid Usov <leonid.usov@ibm.com>
Sun, 21 Jan 2024 17:37:52 +0000 (19:37 +0200)
committerLeonid Usov <leonid.usov@ibm.com>
Thu, 14 Mar 2024 19:07:52 +0000 (15:07 -0400)
commitd65f8966c2d2e57946909266a74e2e10ad9730ea
tree5250599d13d9ab51d52036a7484c5739238583b8
parentc1fb2e0f9fe7e7f771b0aeca9b1f15f9f770b098
pybind/mgr: add a `one-shot` parameter to send_command

with the parameter set, the message won't be held on to when the remote end resets
or fails to reconnect.

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 9907efd0132197feed4b7cc4e7c17a7ec9104a47)
src/client/Client.cc
src/client/Client.h
src/mgr/BaseMgrModule.cc
src/pybind/mgr/ceph_module.pyi
src/pybind/mgr/mgr_module.py
src/pybind/mgr/tests/__init__.py