~sysbench-developers/sysbench/0.5

Viewing all changes in revision 126.

  • Committer: Alexey Kopytov
  • Date: 2014-10-18 18:22:28 UTC
  • Revision ID: akopytov@gmail.com-20141018182228-91jxfcq6d4lryh67
Introduced a new option called --mysql-ignore-errors, which accepts a
comma separated list of numeric errors that should be ignored. If
sysbench encounters an ignored error indicating that the server is no
longer available (i.e. one of CR_SERVER_LOST, CR_SERVER_GONE_ERROR,
CR_TCP_CONNECTION, or CR_SERVER_GONE_ERROR), it automatically
reconnects. Otherwise it just restarts the current transaction.

A user can also specify --mysql-ignore-errors=all, in which case all
errors will be ignored.

There are also 2 new counters: ‘reconnects’ and ‘errors’, which are
reported in both interval and final statistics.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: