Commit 154e922
committed
Respect shutdown_on_error flag on driver crash
If the driver crashes because of bad code or for some other reason and
the `shutdown_on_error` flag is set then a non-zero exit status should
be returned. I think the way Basho Bench deals with driver/worker
errors and exit codes is wonky but for this patch I simply fixed the
specific case I need fixed. Now a driver crash with the
`shutdown_on_error` flag enbled will cause an exit status of 2.1 parent 8bd7027 commit 154e922
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
267 | 281 | | |
268 | 282 | | |
269 | 283 | | |
| |||
0 commit comments