benchmark getRedisConfig exit only when meet NOAUTH error#11096
benchmark getRedisConfig exit only when meet NOAUTH error#11096soloestoy merged 1 commit intoredis:unstablefrom
Conversation
oranagra
left a comment
There was a problem hiding this comment.
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
oranagra
left a comment
There was a problem hiding this comment.
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
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