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

reactor: print scheduling group along with backtrace #2221

Closed

Commits on May 8, 2024

  1. reactor: print scheduling group along with backtrace

    Backtraces are printed in at least 2 cases:
      1) during segfaults,
      2) during reactor stalls.
    Extra context is always helpful in identifying the exact circumstances
    during which the above happen. E.g. in a server application where user
    requests are processed in one (or more) scheduling group(s), background
    processes are split between different scheduling groups as well, knowing
    the scheduling group narrows the search space.
    
    Prior to this commit:
    
    ```
    Segmentation fault on shard 0.
    Backtrace:
      ...
    ```
    
    With this commit:
    
    ```
    Segmentation fault on shard 0, in scheduling group main.
    Backtrace:
      ...
    ```
    
    Ref scylladb#2216
    nvartolomei committed May 8, 2024
    Configuration menu
    Copy the full SHA
    2ae0df3 View commit details
    Browse the repository at this point in the history