I've been using a method to run my storage trigger over the same files multiple times by going into my storage account and deleting the blobs that are found in 'azure-webjobs-host' > 'blobreceipts' > '[Function App Name]' > '[Blob Trigger Name]'
I thought that this was all I needed to worry about to be able to run my function over the same files again, however, I must be missing something because this seems very inconsistent.
From what I can tell, whenever the trigger is ran over a file, another file should be created inside of the blobreceipts folder pertaining to the function that dealt with it. My guess was that this newly created file inside of 'blobreceipts' held all the data that kept the function from running over that same file again (like the file's E-Tag? etc.). So, my thinking was, if I just delete whatever is found inside of that folder I should be good to run my function again. However, sometimes after my function has run over thousands of files I'll go and check inside of 'blobreceipts' and find that there is only one file/blob in there. Or alternatively, there will be a lot of files that I'll have to delete from there, but even after doing so, it seems my function doesn't run over every single file again. Overall, the method seems to work, but only to an extent.
There must be something I'm missing. Something else that I need to get rid of in order, or do, to run my blob storage trigger again over all of the same files. Any ideas/suggestions?