I am not able to have circular queue persist on file. The pattern I am using on dequeueing - I do a poll(), after few operations, I do a db.commit().
I am expecting in between the poll and commit, if my process crashes, the head should still remain on file, and available on next poll. Is that a correct expectation?
I am not able to have circular queue persist on file. The pattern I am using on dequeueing - I do a poll(), after few operations, I do a db.commit().
I am expecting in between the poll and commit, if my process crashes, the head should still remain on file, and available on next poll. Is that a correct expectation?