-
Notifications
You must be signed in to change notification settings - Fork 165
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
Setting isolation-level through rdf4j 3.7.4 client side is not compatible with server side from another version #4230
Comments
Maybe this is caused by #4185 ? It is also possible that this didn't work correctly before 4.1.3, but that there was no error message which made the bug go unnoticed. |
Yes, the problem comes from fixes for REST Isolation-level settings in #4185 where IllegalArgumentException for Unknown isolation-level setting is introduced. Also, there are another problems with isolation-level settings in versions before 4.1.3: rdf4j client 3.7.4 adds the following properties to the request:
When the request is processed in TransactionStartController none of the isolation-level parameters are set to the transaction because it cannot find the appropriate matches due to the following problems:
As a result, setting the isolation-level through client side versions < 4.0.0 is not compatible with server side versions >= 4.0.0 |
…nStartController in order to check the correct request parameter
…-level_setting_to_be_compatible_with_different_versions_of_client_or_server_side GH-4230 Make isolation-level setting to be compatible with different versions of client and server side
Current Behavior
Trying to set isolation-level through rdf4j 3.7.4 client side leads to java.lang.IllegalArgumentException: Unknown isolation-level setting http://www.openrdf.org/schema/sesame#READ_COMMITTED when server side version is >= 4.1.3
Expected Behavior
Isolation-level must be successfully set regardless of client or server side versions.
Steps To Reproduce
Notes: client side rdf4j version is 3.7.4 while server side is >= 4.1.3
Version
4.2.0
Are you interested in contributing a solution yourself?
Yes
Anything else?
No response
The text was updated successfully, but these errors were encountered: