]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: don't check for primary when updating pg's dynamic perf stats queries
authorMykola Golub <mgolub@suse.com>
Wed, 18 Sep 2019 14:22:53 +0000 (15:22 +0100)
committerMykola Golub <mgolub@suse.com>
Wed, 18 Sep 2019 14:25:43 +0000 (15:25 +0100)
commit21103c9bbe13328e2d12f8aa62eb7239126c271c
tree8207ca94710c8094c2c8d92b50490da8ca1a15a4
parentd3c19d531d24e85777e99807b57a91a54865164c
osd: don't check for primary when updating pg's dynamic perf stats queries

Otherwise situation could be possible when a query is not reset
for a pg because it is not primary at that moment and later the
stats for non-existing query is tried to be added to the report.

Fixes: https://tracker.ceph.com/issues/41891
Signed-off-by: Mykola Golub <mgolub@suse.com>
src/osd/OSD.cc