]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: do not send metrics until the MDS rank is ready 52500/head
authorXiubo Li <xiubli@redhat.com>
Thu, 1 Jun 2023 12:00:01 +0000 (20:00 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 18 Jul 2023 02:33:35 +0000 (10:33 +0800)
commit814102ed7839b8f19e717b66fe1e9c64f92c3cf2
treeace307cc091f44c930592a5f93516f7e4ce1ce4f
parent014f9fb234a0e3449a93fef3d00644137e6c76b1
client: do not send metrics until the MDS rank is ready

In some cases when there are a lot of clients and these clients
have a lots of known requests need to replay too, the metrics
requests will be dropped by the MDS because the MDS is still in
the clientreplay state, and also the useless metric requests will
slow down MDS.

Fixes: https://tracker.ceph.com/issues/61523
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit a423e17d5bbd095af4472c087dbbc6ac0c5e9e61)
src/client/Client.cc