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

Cp accum per epoch component #18442

Merged

Conversation

williampsmith
Copy link
Contributor

Description

CP #18281

Test plan

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 Jun 27, 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 Jun 27, 2024 6:49pm
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Jun 27, 2024 6:49pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Jun 27, 2024 6:49pm
sui-typescript-docs ⬜️ Ignored (Inspect) Visit Preview Jun 27, 2024 6:49pm

## Description 

Make state accumulator a per epoch component. This also requires that we
make checkpoint executor a proper per epoch component (previously it was
only instantiated once, but `run_epoch` called once per epoch) since it
needs to have a reference to the fresh accumulator after reconfig. Now
we actually drop it after the call to `run_epoch` returns.

## Test plan 

Passed against 120+ seeds:
```
./scripts/simtest/seed-search.py simtest --test test_simulated_load_reconfig_with_crashes_and_delays
```

---

## 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:

---------

Co-authored-by: Mark Logan <mark@mystenlabs.com>
@williampsmith williampsmith enabled auto-merge (squash) June 27, 2024 18:47
@williampsmith williampsmith merged commit 8ff8f2e into releases/sui-v1.28.0-release Jun 27, 2024
47 checks passed
@williampsmith williampsmith deleted the cp-accum-per-epoch-component branch June 27, 2024 19:18
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.

2 participants