Closed grechaw closed 7 years ago
I was able indeed to write a test for this issue.
Since this bug means that the existing marklogic-jena is not compatible with 9.0-3, this will be important to drive a release in the fall that depends on a new java client and server.
Review requested -- @akshaysonvane , see what you think of this change. I verified that the synchronization solves the threading issue, maybe you'll consider some way I'd not thought of.
I'd like QA and another dev to review this fix.
QA, I'd like to add a test for covering this, and have written something, but I think it belongs in functional rather than unit tests, since I found it as a multithreading issue.
Actually, I think I could reproduce the issue in a single-threaded test too, so I"ll try that first and add a commit with the test in it.