]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd/ops_executer: fix double apply_stats() when writing
authorluo rixin <luorixin@huawei.com>
Thu, 25 May 2023 02:39:38 +0000 (10:39 +0800)
committerluo rixin <luorixin@huawei.com>
Mon, 5 Jun 2023 10:40:34 +0000 (18:40 +0800)
commitf8a3a667d1024c6a151333d2408ecae2df0617f9
treeb355b683a2c7ad74374b5f1e5d5ad4c3724980f0
parentbca2db888eb5826f2414dc1f876997af65419bff
crimson/osd/ops_executer: fix double apply_stats() when writing

As double apply_stats() when writing, the write related metrics such as
the object number and space utilization are doubled. Therefore, just do once in
ops executing process.

Fixes: https://tracker.ceph.com/issues/61227
Signed-off-by: luo rixin <luorixin@huawei.com>
(cherry picked from commit 1dd18476f09130cd0eefaa7e9c35d476631709d2)
src/crimson/osd/ops_executer.h