Conversation
Signed-off-by: Alex Bozhenko <alexbozhenko@gmail.com>
wallyqs
left a comment
There was a problem hiding this comment.
LGTM, a warning here just in case would narrow down investigating this (or deleting the code for legacy snapshot)
|
I'm not really convinced that there's much point in logging this. It isn't meaningful or actionable to users, plus it will just result in an awful lot of log spam during a one-step rolling upgrade from a very old version to a current one. |
|
Agree with Neil this kind of pointless log spam is already at a quite annoying level and this ads no value to end users. |
|
@neilalexander @ripienaar |
|
I would prefer that we add an Antithesis assertion instead, that way it is reported by tooling designed to uncover these edge-cases instead of just creating noise in the logs. |
|
Follow-up to #7479
There we fixed the default, but there is no test that we do not revert to the old behavior.
It is possible to imagine a scenario where some regression/race condition is introduced, and we fall back to legacy JSON again.
Add a warning that we should never see. And if we do see it, we would immediately know there is a problem.
Signed-off-by: Alex Bozhenko alexbozhenko@gmail.com