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

Tapping on the courier sync button multiple times creates multiple copies of CCAs/cargoes #242

Open
gnarea opened this issue Jan 4, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@gnarea
Copy link
Member

gnarea commented Jan 4, 2021

I accidentally tapped the sync button twice very quickly, and realised that multiple CCAs, cargoes and gRPC connections were created.

Here's an excerpt from the Android Gateway logs:

2021-01-04 16:27:37.131 16895-17702/tech.relaycorp.gateway I/rgoMessageSetWithExpiry: Generating cargo for https://frankfurt.relaycorp.cloud
2021-01-04 16:27:37.131 16895-16935/tech.relaycorp.gateway I/rgoMessageSetWithExpiry: Generating cargo for https://frankfurt.relaycorp.cloud
2021-01-04 16:27:37.440 16895-16936/tech.relaycorp.gateway I/CogRPCClient: deliverCargo next 77a184f7-274d-42dc-8c27-a209d939bb84
2021-01-04 16:27:37.450 16895-16923/tech.relaycorp.gateway I/CogRPCClient: deliverCargo next 10042654-de3c-4679-bb72-746540dddf07
2021-01-04 16:27:37.818 16895-17799/tech.relaycorp.gateway I/CogRPCClient: deliverCargo ack 77a184f7-274d-42dc-8c27-a209d939bb84
2021-01-04 16:27:37.818 16895-17801/tech.relaycorp.gateway I/CogRPCClient: deliverCargo ack 10042654-de3c-4679-bb72-746540dddf07
2021-01-04 16:27:37.820 16895-17801/tech.relaycorp.gateway I/CogRPCClient: deliverCargo complete
2021-01-04 16:27:37.821 16895-17799/tech.relaycorp.gateway I/CogRPCClient: deliverCargo complete
2021-01-04 16:27:37.855 16895-17799/tech.relaycorp.gateway I/CogRPCClient: deliverCargo ack closed
2021-01-04 16:27:37.857 16895-16936/tech.relaycorp.gateway I/CogRPCClient: Closing CogRPCClient
2021-01-04 16:27:37.863 16895-17799/tech.relaycorp.gateway I/CogRPCClient: deliverCargo ack closed
2021-01-04 16:27:37.865 16895-17704/tech.relaycorp.gateway I/CogRPCClient: Closing CogRPCClient

I also saw two active users on the courier app.

@gnarea gnarea added the bug Something isn't working label Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant