Repository navigation
Conversation
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
|
I would refuse to start. Like driving on a bald tire ( mandatory car ananlogy) and protect the user from themselves. |
Sure - the less interrupting scenario here is that we could set the transaction isolation level ourselves, but such changes are highly affecting. If we include a "do it anyway", I could get on board with that. I question making such a big change without the administrator being involved. Channels could be relying upon repeatable read for correctness. |
maybe for fresh installs do a hard stop? |
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
That could work. Sure. Updated. |
NicoPiel
left a comment
There was a problem hiding this comment.
The check doesn’t match its message. Both checks only reject REPEATABLE_READ, but the messages say READ-COMMITTED is required. SERIALIZABLE, which locks even more, gets through with no block and no warning. The fix is to test for “not READ_COMMITTED” instead.
This is intentional, but I'm open to other phrasing of the message. A DBA may reasonably configure the system away from |
tonygermano
left a comment
There was a problem hiding this comment.
A few minor things suggested inline, but, otherwise, looks good to me. Those were supposed to be part of the same review, but I guess I clicked the wrong button.
Could you also please create the release note and put it in the PR description?
d458501 to
2c1271f
Compare
Co-authored-by: Tony Germano <39179051+tonygermano@users.noreply.github.com> Signed-off-by: Mitch Gaffigan <mitch@gaffigan.net>
2c1271f to
de18cb3
Compare
|
@NicoPiel, I changed the phrasing of the message. |
Running MySQL at the default REPEATABLE_READ transaction isolation level causes hangs and errors throughout the application when running at load. These were frequently the cause of flaky tests in #449, and have issues open in the nextgen repo.
Add a warning to startup to check for misconfigured instances, and update the instructions in mirth.properties to have the correct transaction isolation level.
Release note: