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

Don't try to create allocations while starting up SenderAccountManager #468

Closed
gusinacio opened this issue Nov 6, 2024 · 0 comments · Fixed by #518
Closed

Don't try to create allocations while starting up SenderAccountManager #468

gusinacio opened this issue Nov 6, 2024 · 0 comments · Fixed by #518
Assignees
Labels
p1 High priority pgk:tap-agent repo:indexer-rs size:small Small type:bug Something isn't working

Comments

@gusinacio
Copy link
Member

Our system assumes that indexer service is capable of checking if an allocation exists or not and accepting receipts and then try to create a SenderAllocation if it doesn't exist.

But while starting up, SenderAllocations aren't not up yet but we are already receiving receipts. We should check if SenderAccountManager is starting up before trying to create a SenderAllocation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p1 High priority pgk:tap-agent repo:indexer-rs size:small Small type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant