-
Notifications
You must be signed in to change notification settings - Fork 161
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
GraphDB: Incompatible format version: 2 #3899
Comments
@jeenbroekstra I know you mentioned something in your email, does this align with what you wrote? Is it something we should consider a bug, as in that we want to backwards compatible with older servers? @maxstolze I'm not sure what your use case is, so I would like to ask if you are unable to upgrade the client and server versions in tandem and need to support both older and newer servers with the same client? The next major GraphDB release should use RDF4J 4.0. |
It is yes, but I need to look a bit closer at what's going on here, and what's possible workarounds or fixes are. |
If there is anything we (@maxstolze is a colleague of mine) can do to shed more light on the issue, please let us know! |
Probable cause is that the HTTPRepositoryConnection hardcodes use of the binary format for serializing a model that is being added/removed as part of a transaction. The problem is that the client-side binary format is a version ahead of the server, so the server can't parse the request. Possible fix is to rely on the configured preferred RDF format instead, which would allow you to configure it to use another format for the serialization. |
Actually @fkleedorfer and @maxstolze there is an easier/quicker workaround you could try: the Binary RDF Writer can be explicitly configured to use the older format. In your client application, try setting the system property |
Workaround seems to work here. Thx! |
I'll close this with a "won't fix" then as there is an acceptable workaround for this situation. Thanks! |
Current Behavior
Can not communicate with RDF4J 4.0.1 and GraphDB 9.11.1 (based on RDF4J 3.7.6) due to:
Transaction handling error: Incompatible format version: 2
Expected Behavior
Working communication with the GraphDB.
Steps To Reproduce
Version
4.0.1
Are you interested in contributing a solution yourself?
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: