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

mvcc: use GaugeFunc metric to load db size when requested #8150

Merged
merged 2 commits into from
Jun 22, 2017

Commits on Jun 22, 2017

  1. Configuration menu
    Copy the full SHA
    4e6c771 View commit details
    Browse the repository at this point in the history
  2. mvcc: use GaugeFunc metric to load db size when requested

    Relying on mvcc to set the db size metric can cause it to
    miss size changes when a txn commits after the last write
    completes before a quiescent period. Instead, load the
    db size on demand.
    
    Fixes etcd-io#8146
    Anthony Romano committed Jun 22, 2017
    Configuration menu
    Copy the full SHA
    522e75c View commit details
    Browse the repository at this point in the history