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

Make statistics's stats_level change thread-safe #5030

Closed
wants to merge 2 commits into from

Commits on Feb 28, 2019

  1. Make statistics's stats_level change thread-safe

    Summary:
    Right now, users can change statistics.stats_level while DB is running, but TSAN may report
    data race. We make stats_level_ to be atomic, and access them using accessors.
    
    Test Plan: Run existing tests.
    siying committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    dd789a6 View commit details
    Browse the repository at this point in the history
  2. Fix rocksjava and remove the ;

    siying committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    553f033 View commit details
    Browse the repository at this point in the history