Closed dkropachev closed 3 years ago
Tested locally
@dkropachev I'm not a golang expert, so I may be missing it, but does it retry the same key for the number of "MaxErrorsAtRow" (as I requested) or is it just counting it and eventually if we had more than MaxErrorsAtRow we raise a critical error?
@dkropachev I'm not a golang expert, so I may be missing it, but does it retry the same key for the number of "MaxErrorsAtRow" (as I requested) or is it just counting it and eventually if we had more than MaxErrorsAtRow we raise a critical error?
It is not, let's address it in another PR, this one is already big enough.
I’m ok with that, but what is the current business logic of this PR? Is it counting errors every where or per key (row)?
On Wed, Jul 28, 2021 at 18:14 Dmitry Kropachev @.***> wrote:
@dkropachev https://github.com/dkropachev I'm not a golang expert, so I may be missing it, but does it retry the same key for the number of "MaxErrorsAtRow" (as I requested) or is it just counting it and eventually if we had more than MaxErrorsAtRow we raise a critical error?
It is not, let's address it in another PR, this one is already big enough.
— You are receiving this because your review was requested. Reply to this email directly, view it on GitHub https://github.com/scylladb/scylla-bench/pull/62#issuecomment-888393601, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE75CYFTG4224T6565ESSJTT2ANGHANCNFSM5BC227XA .
I’m ok with that, but what is the current business logic of this PR? Is it counting errors every where or per key (row)? … On Wed, Jul 28, 2021 at 18:14 Dmitry Kropachev @.***> wrote: @dkropachev https://github.com/dkropachev I'm not a golang expert, so I may be missing it, but does it retry the same key for the number of "MaxErrorsAtRow" (as I requested) or is it just counting it and eventually if we had more than MaxErrorsAtRow we raise a critical error? It is not, let's address it in another PR, this one is already big enough. — You are receiving this because your review was requested. Reply to this email directly, view it on GitHub <#62 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE75CYFTG4224T6565ESSJTT2ANGHANCNFSM5BC227XA .
It is counting each error, if operation succeeded it resets the counter.
-error-at-row-limit sets limit of errors after which thread stop executing command other threads to terminate and report error
fixes https://github.com/scylladb/scylla-bench/issues/59