]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: do not send metrics until the MDS rank is ready
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:40:50 +0000 (10:40 +0800)
commit6346454d0b48ffa9de28b68e25b6a5630222a037
treefa5a62dbb11b0695ff575942617671e9a6ecae6d
parent042cd51a2f0b8926363c2237e303a8df25c73519
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