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
benchmark getRedisConfig exit only when meet NOAUTH error #11096
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC in the past it used to cause the benchmark to fail, and we changed it to just print a warning and resume.
do you wish to hide the warning?
I think i'd prefer make it implicitly ignore the warning (by default) rather than add a new command line option.
I prefer ignore the warning too, but I saw in #8869 @filipecosta90 made it as a fatal error, do we all agree ignore the warning? |
it's fatal only in case the error was an authentication error (indicating that we are also not likely to succeed in the benchmark itself). |
to make it simple, let's ignore the error. |
08c5ff9
to
7a2a221
Compare
I think we do wanna use this error for an early abort. i might be missing something since i don't know this code well. |
@soloestoy WRT
As stated on PR |
@filipecosta90 the two questions are:
IMHO the warning is unnecessary, but to fail early is still desired. |
agree with you. let's discard the warning but keep the failure ASAP on AUTH |
OK, makes sense |
7a2a221
to
7ef63b3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry for the delay, must have missed your respond to my last comment.
redis-benchmark: when trying to get the CONFIG before benchmark, avoid printing any warning on most errors (e.g. NOPERM error). avoid aborting the benchmark on NOPERM. keep the warning only when we abort the benchmark on a NOAUTH error (cherry picked from commit f0005b5)
redis-benchmark: when trying to get the CONFIG before benchmark, avoid printing any warning on most errors (e.g. NOPERM error). avoid aborting the benchmark on NOPERM. keep the warning only when we abort the benchmark on a NOAUTH error (cherry picked from commit f0005b5)
redis-benchmark: when trying to get the CONFIG before benchmark, avoid printing any warning on most errors (e.g. NOPERM error). avoid aborting the benchmark on NOPERM. keep the warning only when we abort the benchmark on a NOAUTH error
redis-benchmark: when trying to get the CONFIG before benchmark, avoid printing any warning on most errors (e.g. NOPERM error). avoid aborting the benchmark on NOPERM. keep the warning only when we abort the benchmark on a NOAUTH error
redis-benchmark: when trying to get the CONFIG before benchmark, avoid printing any warning on most errors (e.g. NOPERM error). avoid aborting the benchmark on NOPERM. keep the warning only when we abort the benchmark on a NOAUTH error
redis-benchmark: when trying to get the CONFIG before benchmark,
avoid printing any warning on most errors (e.g. NOPERM error).
avoid aborting the benchmark on NOPERM.
keep the warning only when we abort the benchmark on a NOAUTH error