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

cherrypick-1.1: util/log: Avoid infinite recursion out of disk errors cause an exit #21804

Merged
merged 1 commit into from Jan 26, 2018

Commits on Jan 25, 2018

  1. util/log: Avoid infinite recursion out of disk errors cause an exit

    Trying to write to a file when we're out of disk will trigger
    exitLocked, but exitLocked tries to write to its file one last time in
    order to help users understand why the process is exiting. This is very
    valuable most of the time, when the problem isn't that the machine is
    out of disk, but shouldn't cause a stack overflow when the machine is
    out of space.
    
    Fixes cockroachdb#21756
    
    Release note (bug fix): fix a stack overflow in the code for shutting
    down a server when out of disk space
    a-robinson committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    ba3b353 View commit details
    Browse the repository at this point in the history