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

Shared object congestion control stress test #17751

Merged

Conversation

halfprice
Copy link
Contributor

@halfprice halfprice commented May 15, 2024

Description

This PR adds a stress test in simtest to test shared object congestion control. The test is a good catch for liveness issue related to shared object congestion control.

After creating the test, I manually added some liveness bugs in the code (e.g. do not remove deferred txn from root, which can cause checkpoint stall), and the test was able to catch such bugs.

It also found an existing bug that when checking txn objects for congestion, it doesn't check if the transaction contains shared object or not.

Test plan

The test created in this PR.

How did you test the new or updated feature?


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • Indexer:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:

Copy link

vercel bot commented May 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 19, 2024 8:09pm

Copy link

vercel bot commented May 15, 2024

@halfprice is attempting to deploy a commit to the Mysten Labs Team on Vercel.

A member of the Team first needs to authorize it.

@halfprice halfprice force-pushed the zhewu/congestion-control-stress-test branch from 2666aaa to 191192f Compare May 19, 2024 19:35
@halfprice halfprice changed the title Congestion control stress test Shared object congestion control stress test May 19, 2024
@halfprice halfprice merged commit f5aa2b5 into MystenLabs:main May 29, 2024
49 of 77 checks passed
@halfprice halfprice deleted the zhewu/congestion-control-stress-test branch May 29, 2024 17:23
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

Successfully merging this pull request may close these issues.

None yet

2 participants