]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Tools/rados: Improve Error Messaging for Object Name Resolution 55111/head
authorNitzanMordhai <nmordech@redhat.com>
Thu, 16 Nov 2023 07:09:29 +0000 (07:09 +0000)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Tue, 9 Jan 2024 16:31:04 +0000 (23:31 +0700)
commit9cb3d50db08ddb8761e3219c68d7f5ef4a489f34
tree1b51f7a7354990969b6678edac05e85ad83cad4b
parentf6f22d13978eccd9e7dbf89912d6108d8d9b3ee0
Tools/rados: Improve Error Messaging for Object Name Resolution

The current implementation of 'rados clearomap' exhibits a behavior where
an error message is generated without the associated object name or,
in the case of a non-existent object name, may result in a segmentation fault.

The proposed fix addresses this issue by enhancing the error message.
After applying the fix, error messages will consistently display the correct
object name, providing users with more accurate and actionable information.

Fixes: https://tracker.ceph.com/issues/63541
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit 313bfca056ef7f83c0e8c70a3bc4ff9d070b63d9)
src/tools/rados/rados.cc