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

Cannot produce blocks on time after switching to async backing #4589

Closed
AurevoirXavier opened this issue May 27, 2024 · 9 comments
Closed

Cannot produce blocks on time after switching to async backing #4589

AurevoirXavier opened this issue May 27, 2024 · 9 comments
Labels
T16-async_backing Issues related to asynchronous backing.

Comments

@AurevoirXavier
Copy link
Contributor

Origin post: https://substrate.stackexchange.com/questions/11530/cannot-produce-blocks-on-time-after-switching-to-async-backing

@alexggh
Copy link
Contributor

alexggh commented May 27, 2024

Could you give us a bit more details about your setup and logs

  1. What polkadot version are you running ?
  2. Which relaychain have you tested this against ?
  3. What are you seeing on your collators
  4. At what rate did your parachain produce blocks before upgrade and after the upgrade.

@alexggh alexggh added the T16-async_backing Issues related to asynchronous backing. label May 27, 2024
@AurevoirXavier
Copy link
Contributor Author

AurevoirXavier commented May 27, 2024

  1. polkadot-v1.1.0
  2. Rococo
  3. The log looks pretty normal, but it seals the same block multiple times, likely due to different collators racing. I can post more logs later.
  4. It used to be 12s; now it's 18s. I have 3 collators, and I think the increase to 18s is because of two missing slots under the 6s block time.

@alexggh
Copy link
Contributor

alexggh commented May 27, 2024

polkadot-v1.1.0 is this a typo ?

@AurevoirXavier
Copy link
Contributor Author

polkadot-v1.1.0 is this a typo ?

Sorry, https://github.com/paritytech/polkadot-sdk/tree/release-polkadot-v1.1.0.

@alexggh
Copy link
Contributor

alexggh commented May 27, 2024

polkadot-v1.1.0 predates full async-backing support, unfortunately there were a lot of fixes since then for async backing I would recommend upgrading to something newer.

@AurevoirXavier
Copy link
Contributor Author

polkadot-v1.1.0 predates full async-backing support, unfortunately there were a lot of fixes since then for async backing I would recommend upgrading to something newer.

Which version do you recommend? We don't want to use the latest one.

@AurevoirXavier
Copy link
Contributor Author

We decided to use async backing because of

image

@alexggh
Copy link
Contributor

alexggh commented May 27, 2024

polkadot-v1.1.0 https://github.com/paritytech/polkadot-sdk/tree/release-polkadot-v1.1.0 was created on Sep 6, 2023, so it is really old.

Which version do you recommend? We don't want to use the latest one.

I would recommend you use the latest one, however if you have a specific reason not to use that one, you can go as back as polkadot-v1.8 bare in mind that we are already on polkadot-v1.12.

@AurevoirXavier
Copy link
Contributor Author

AurevoirXavier commented May 27, 2024

Since we rely heavily on Moonbeam, they are currently using version polkadot-v1.7.2. I'll give it a try, since Moonbeam work with async backing well.

Thanks for your help. This issue might be invalid with the latest code, so let's close it for now.

@github-project-automation github-project-automation bot moved this from Backlog to Completed in parachains team board May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T16-async_backing Issues related to asynchronous backing.
Projects
Status: Completed
Development

No branches or pull requests

2 participants