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

Apply CRL patches #1

Merged
merged 2 commits into from
Jan 27, 2023
Merged

Apply CRL patches #1

merged 2 commits into from
Jan 27, 2023

Commits on Jan 26, 2023

  1. Allow specifying a set of errnos to select from.

    Allow setting a set of errnos rather than just a particular errno or a
    random one from the entire set. Update the cookbook for random faults to
    exclude any errnos passed via extra arguments.
    
    My objective here is to be able to exclude a specific errno from
    random injection. The Go runtime gets confused by EAGAINs, which cause
    it to epoll_wait on the file descriptor. I'd like to exclude EAGAIN from
    the set of injected errors for my use case.
    jbowens authored and nicktrav committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    eaf9b0a View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2023

  1. cookbook: allow for setting --delay duration

    The CockroachDB test suite currently makes use of charybdefs-nemesis to
    induce artificial delays into the filesystem to simulate disk stalls.
    Currently, the delay duration is fixed at 50ms. This precludes testing
    of faults that last indefinitely.
    
    Change the format of the `--delay` command to take a duration, in
    microseconds, allowing for faults of a longer duration.
    nicktrav committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    cfa2134 View commit details
    Browse the repository at this point in the history