Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mon: fix pg_sum_old not copied correctly #26110

Merged
merged 1 commit into from
Jan 29, 2019
Merged

mon: fix pg_sum_old not copied correctly #26110

merged 1 commit into from
Jan 29, 2019

Conversation

yaozongyou
Copy link
Contributor

@yaozongyou yaozongyou commented Jan 24, 2019

Signed-off-by: Yao Zongyou yaozongyou@vip.qq.com

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

@yaozongyou
Copy link
Contributor Author

yaozongyou commented Jan 24, 2019

pg_sum is accumulated during PGMap::apply_incremental, so if we want to make an old copy of it, we should do it at the beginning. Or else, the pg_sum_deltas is always zero.

`pg_sum` is accumulated during `PGMap::apply_incremental`,
so if we want to make an old copy of it, we should do it at
the beginning. Or else, the `pg_sum_deltas` is always zero.

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
@tchaikov tchaikov self-assigned this Jan 28, 2019
@tchaikov tchaikov merged commit c6edb27 into ceph:master Jan 29, 2019
@yaozongyou yaozongyou deleted the fix-statistics-bug branch January 30, 2019 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants