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

Partially complete beta node data provisioning in case of Alpha node connection/synchronization #1961

Open
1 task done
ZuitAMB opened this issue Sep 4, 2024 · 4 comments
Labels
api Indicates api related issue or feature blockchain Indicates blockchain related issue or feature bug Something isn't working frontend Indicates frontend related issue or feature

Comments

@ZuitAMB
Copy link

ZuitAMB commented Sep 4, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

Description 😯

When running a multi node setup and connecting a new beta node to a pre existing alpha node, the connection and synchronization process takes some time. First, the alpha node needs to accept the join request. Second, the nodes have to synchronize the data, which also might take some time.

The provisioning service offers the possibility to provision data, like users.

In combination, the provisioning service might terminate, before the nodes are synchronized, which leads to the users not being provisioned. (Or if the blockchain is ready, after half of the users were tried to provision, only parts of the data would be provisioned.

How to reproduce 🕹

  1. Required alpha node (best case with some projects/data) running
  2. Configure a beta node to connect to the alpha and with some data for beta provisioning
  3. Start up the beta node
  4. Wait a few minutes before you accept the beta node and maybe check the provisioning logs to see failing provisioning attempts
  5. On the alpha node accept the be node
  6. Check the provisioning again, to see that remaining data is provisioned (after blockchain is synced)

Current workaround

It is possible to manually stop the provisioning container and start it, once the nodes are connected and synchronized. However, such a manual interaction is subpar.

Possible Fix/Solution

The beta node provisioning should wait until the blockchain node is ready (connected and synchronized)

Your Environment 🌎

Minimal Setup to reproduce the issue

Tech Version
Frontend v2.14.0
API v2.14.0
Blockchain v2.14.0
Provisioning v2.14.0
@ZuitAMB ZuitAMB added the bug Something isn't working label Sep 4, 2024
@issuelabeler issuelabeler bot added api Indicates api related issue or feature blockchain Indicates blockchain related issue or feature frontend Indicates frontend related issue or feature labels Sep 4, 2024
@jzakotnik
Copy link
Contributor

Thanks for the detailed description, we'll look at it!

@SamuelPull
Copy link
Collaborator

Might have been fixed by #1983 ?

@ZuitAMB
Copy link
Author

ZuitAMB commented Oct 14, 2024

Yes, the provisioning improves might have fixed the issue. I will check it on our next Beta node connection.

@galethil
Copy link
Collaborator

@ZuitAMB can you confirm this was fixed by #1983 ? Or is there a need to further updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Indicates api related issue or feature blockchain Indicates blockchain related issue or feature bug Something isn't working frontend Indicates frontend related issue or feature
Projects
None yet
Development

No branches or pull requests

4 participants