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

Failed to handle concurrent CreateDistribution requests #132

Open
judezhu opened this issue Nov 15, 2021 · 0 comments
Open

Failed to handle concurrent CreateDistribution requests #132

judezhu opened this issue Nov 15, 2021 · 0 comments

Comments

@judezhu
Copy link

judezhu commented Nov 15, 2021

The issue we have been seeing here is if we are sending multiple CreateDistribution requests to PDS backend service. The PDS backend service will fail to record the state of the distribution and pack nfts.

How to reproduce:

  1. Mint some example MFTs and mint a distribution onchain.
  2. Send createDistribution request via the rest API.
  3. Before the distribution is completed, send another createDistribution request right away.

What results we have seen:

  1. In distributions table, the distributions created by the concurrent requests will be stuck at minting state.
  2. In the distribution_packs table, the packs will be stuck at init state, although the PackNFTs are minted on-chain.
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

1 participant