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:
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?)
Well, it looks like they get cleaned up only when the process terminates. Instead, we should clean them up immediately when we're finished with them. Can you file a bug in our JIRA?