Fixed
Details
Assignee
Michael OffnerMichael OffnerReporter
GuardianGuardianPriority
BlockerLabels
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
NoneAffects versions
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Guardian
GuardianPriority
Labels
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Affects versions
Created 27 November 2019 at 08:07
Updated 26 March 2021 at 13:56
Resolved 2 March 2020 at 16:12
Hi,
found that Setting once transaction isolation level, it is persistent, for this connection, till next change of it, or reboot.
"Exclusive connections for request" is set ON.
In ACF10 and ACF18 it works properly. Isolation level is set only for one request then is changing back.
Workaround would be to set isolation level back to “read committed” in every query that change connection state, and to catch errors (ex. timeout) to set back read committed state.
In this catch clause we should find, get and use only connection that was used for changing connection state.
Using SQL profiler I found that:
ACF
send before every request “SET TRANSACTION ISOLATION LEVEL READ COMMITTED“
send request
Send after every request 2 requests “SET TRANSACTION ISOLATION LEVEL READ COMMITTED“
Lucee
just send request.
Now, I don’t know how to proceed. Will it be implemented in Lucee, or I should change it in my project?