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

osd: force update pg_stats for duplicated publish_stats_to_osd() #8385

Closed
wants to merge 1 commit into from

Commits on Mar 31, 2016

  1. osd: force update pg_stats for duplicated publish_stats_to_osd()

    We may call publish_stats_to_osd() multiple times during boot/peering/recovering,
    in which cases we may want update some important info such as pg state and report
    it to user on time. However the statistics may stay in the pg_stat_queue for a
    long time in some abnormal cases, and we shall send the latest statistics instead,
    which means a force update of existing pg_stats in the pg_stat_queue is mandatory.
    
    Also, simplify pg_stat_queue_lock a little, which is good for extensibility.
    
    Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
    xiexingguo committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    4082dff View commit details
    Browse the repository at this point in the history