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

How to Acknowledge Failed Index Messages in RabbitMQ #23

Open
taojing2002 opened this issue Sep 7, 2022 · 1 comment
Open

How to Acknowledge Failed Index Messages in RabbitMQ #23

taojing2002 opened this issue Sep 7, 2022 · 1 comment
Assignees
Milestone

Comments

@taojing2002
Copy link
Collaborator

If an index task message from RabbitMQ results a failed index process, the dataone indexer should act based on the exceptions. If the issue is temporary, the RabbitMQ should send the index message again. If the issue is not recoverable, we should send it to a dead queue.

@taojing2002 taojing2002 self-assigned this Sep 28, 2022
@taojing2002 taojing2002 added this to the 3.0.0 milestone Sep 28, 2022
@mbjones
Copy link
Member

mbjones commented Oct 2, 2023

@taojing2002 I discussed these failure scenarios with @jeanetteclark in detail for MetaDIG, and Jeanette came up with a robust strategy for MetaDIG. The core problem is that the rabbitmq is reliable only if task processing delays are less than the rabbitmq timeout value set, at which point tasks get dropped. Increasing the timeout a lot just causes inefficiencies in the queue processing. Let's discuss with Jeanette to be sure Metacat is robust when using rabbitmq.

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

3 participants