On 14/07/16 13:48, Zen 98052 wrote:
Hi,

I subclass DatasetGraphBase and implements GraphStore interface.

The interface has method of startRequest and finishRequest.

I don't bother startRequest, but I add code to call flush (to our back-end 
store) in finishRequest.

Yesterday we encountered same issue again, which finishRequest never be called 
from Jena.

I know that's the case because the debug info in that function not in the log.

This is not easy to reproduce, and we only saw few times. Looking at the code 
in UpdateProcessorBase.java:

         uProc.startRequest();

         try {
             UpdateSink sink = uProc.getUpdateSink();
             Iter.sendToSink(request, sink);     // Will call close on sink if 
there are no exceptions
         } finally {
             uProc.finishRequest() ;
         }


I don't understand why finishRequest() will not be called. Any idea?

Is startRequest called?
Is uProc the right implementation?

    Andy



Thanks,

Z



Reply via email to