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

fix: improve logging for message API #3846

Merged
merged 1 commit into from
Oct 5, 2024
Merged

Conversation

rpcross
Copy link
Collaborator

@rpcross rpcross commented Oct 5, 2024

No description provided.

@rpcross
Copy link
Collaborator Author

rpcross commented Oct 5, 2024

We could save messages that fail parsing, however current process is to queue and resend API failures. That in itself seems problematic. The process is fine for periods when the archive does not receive / respond to requests, say during a deployment or outage. But if parsing fails and responds with 415 or 400, the message is doomed to queue and retry indefinitely, or until manual intervention provides a resolution, which could cause disk issues if every attempt gets saved on the archive end.

@rpcross rpcross merged commit 31dedd6 into ietf-tools:main Oct 5, 2024
1 check passed
@rpcross rpcross deleted the api-log branch October 5, 2024 18:14
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

Successfully merging this pull request may close these issues.

2 participants