2 Replies Latest reply on Jan 21, 2013 11:25 AM by nl

    image sequencer producing a lock

    nl Newbie

      Hi,

       

      I am using ModeShape 3.1 with a simple binary file storage and the default image sequencer. My test jpeg image is about 1MB big so it should be persisted (threshold is 4096 bytes).

      What I do in my test case is I "load" that image twice into my repository. First write succeeded second write hangs in FileSystemBinaryStore.saveTempFileToStore (line 161) because there is still a read-lock on that key.

      And this lock seems to come from the image sequencer (from what I can see this is the latest one requiring a read-lock).

      If I remove that sequencer from my configuration, the update works as expected.

       

      Any idea?

       

      Thanks, Niels