SAIL is already locked #3297
-
Hi all, i share a repository between threads. one thread is a long running one, that do a initial import of ~ 900.000 triples.
i asked the repository, if it is initialized and it returns true. In SailRepository.java:198 the init is called if "!isInitialized()". but why isn't it initialized ?
ups, at this place i'm still using 3.5.1, maybe i should upgrade. Any Idea ? update: i switched off the scheduled tasks and the problem is still there. So it's not a threading problem. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Found the problem! |
Beta Was this translation helpful? Give feedback.
Found the problem!
At some point i had the senseless idea of deleting the repository during an initial load. This must be from the time when the initial load was ain commandLineTool. And now that was pretty bad, because Spring had distributed the repository in different components. and these repositories were invalid.