1 Reply Latest reply on Feb 5, 2013 7:53 AM by rhauch

    How are binary store temporary hashing files cleaned up?

    cbeer

      How/when are the Infinispan binary store's temporary files (used to calculate the SHA-1 key to store the binary files under) cleaned up?

       

      I see they are created here:

       

      https://github.com/ModeShape/modeshape/blob/master/modeshape-jcr/src/main/java/org/modeshape/jcr/value/binary/infinispan/InfinispanBinaryStore.java#L192

       

      But I'm not seeing how they are deleted (and, am seeing them sitting around java.io.tmpdir). FileBinaryStore just moves that temp file away, so maybe the delete logic was lost here? Or something clever is supposed to happen (that we aren't calling from our app?)

       

      Thanks,

      Chris