failing 
A counting sidecar store that fails a chosen write, truncating the file or reporting an error.
Vars | |
| fail_destination | Exact destination at which to simulate a failed write. |
|---|---|
| fail_on_match | Matching write number to fail. |
| matching_writes | Number of writes observed for the selected destination. |
| short_write | Whether the failed attempt truncates the destination. |
Procs | |
| write_file | Fails the chosen write, as a full disk or a crash would. |
Var Details
fail_destination 
Exact destination at which to simulate a failed write.
fail_on_match 
Matching write number to fail.
matching_writes 
Number of writes observed for the selected destination.
short_write 
Whether the failed attempt truncates the destination.
Proc Details
write_file
Fails the chosen write, as a full disk or a crash would.