Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occasional: Queue is in an inconsistent state #37

Open
sithembiso opened this issue Jul 6, 2022 · 0 comments
Open

Occasional: Queue is in an inconsistent state #37

sithembiso opened this issue Jul 6, 2022 · 0 comments

Comments

@sithembiso
Copy link

sithembiso commented Jul 6, 2022

I've been trying to figure this out for a while but it's super hard to reproduce. Occasionally, I get the following error:

Caused by: error deleting queue segment /tmp/ripple/600f5b80f62ab2ff24e82005/hb-queue/0000000000001.dque. Queue 
is in an inconsistent state: error deleting file: /tmp/ripple/600f5b80f62ab2ff24e82005/hb-queue/0000000000001.dque: 
remove /tmp/ripple/600f5b80f62ab2ff24e82005/hb-queue/0000000000001.dque: no such file or directory

Are there any known causes for these inconsistencies that I might have missed? I'm not doing anything special except I am using the same instance of the queue in different goroutines. One does all the writing while the other one dequeues.

Sometimes I go weeks without seeing this and then it just pops up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant