]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/stats: check if cmdtag is a valid key in client_metadata 42702/head
authorJos Collin <jcollin@redhat.com>
Tue, 3 Aug 2021 13:07:00 +0000 (18:37 +0530)
committerJos Collin <jcollin@redhat.com>
Fri, 6 Aug 2021 12:47:09 +0000 (18:17 +0530)
commit2f91d7e49c5d05866225555a717a43f2d946a5fc
tree992be643c2c9a26b3d6115c9be3dee63fc28e067
parentb6bb963e637085e9233a38dc383358ccef50069f
pybind/mgr/stats: check if cmdtag is a valid key in client_metadata

Invalid cmdtag values ('', foo) are found in random testing and in the
qa runs. So check if cmdtag is a valid key in client_metadata.

Fixes: https://tracker.ceph.com/issues/51975
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 461ea95fda007b41d0ba77195e2de4fa3dea590c)
src/pybind/mgr/stats/fs/perf_stats.py