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

flush writer, makes partial deserialization a bit less likely #699

Merged
merged 1 commit into from
Jul 19, 2018

Conversation

rob-solana
Copy link
Contributor

Validators may barf on partially serialized output of an entry to the leader's persistent ledger

This change makes that a bit less likely, but isn't a complete solution, which is a re-write of the persistent ledger, a part of which is covered by issue #698.

@rob-solana rob-solana merged commit 0696f9f into solana-labs:master Jul 19, 2018
@rob-solana rob-solana deleted the record-flush branch July 24, 2018 21:05
vkomenda pushed a commit to vkomenda/solana that referenced this pull request Aug 29, 2021
)

Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.82.0 to 0.83.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](solana-labs/solana-web3.js@v0.82.0...v0.83.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
lijunwangs pushed a commit to lijunwangs/solana that referenced this pull request Apr 26, 2024
* Send and Aggregate RestartHeaviestFork.

* total_active_stake in my_heaviest_fork should always be the sum of the
stake of all the validators which sent me HeaviestFork.

* A few name changes and other small fixes.

* Move active_peers update to after stakes_map is updated.

* Only send out RestartHeaviestFork and write snapshots every 30 minutes.

* Proceed if 5% of the nodes disagree and log the disagreement if the
(slot, hash) chosen by us is not the majority choice.

* Make linter happy.

* Make linter happy.

* Add successful case.

* Add a few constants and methods.

* Account for 5% non_conforming when calculating exit threshold.

* Adding a few more logs.

* Fix tests to use 75% when aggregating HeaviestFork and a few bugs.

* Reuse adjusted_threhold_percent.
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