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

feat: Adding EN snapshots applier #882

Merged
merged 20 commits into from
Jan 25, 2024
Merged

feat: Adding EN snapshots applier #882

merged 20 commits into from
Jan 25, 2024

Conversation

tomg10
Copy link
Contributor

@tomg10 tomg10 commented Jan 16, 2024

Parts of this component that I decided to do in separate PRs:
-resilience

@tomg10 tomg10 changed the title Snapshots applier Feat: Adding EN snapshots applier Jan 16, 2024
core/lib/dal/src/snapshot_recovery_dal.rs Show resolved Hide resolved
core/lib/dal/src/storage_logs_dal.rs Show resolved Hide resolved
core/lib/dal/src/storage_logs_dal.rs Outdated Show resolved Hide resolved
core/lib/dal/src/storage_logs_dedup_dal.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
@tomg10 tomg10 changed the title Feat: Adding EN snapshots applier feat: Adding EN snapshots applier Jan 18, 2024
@tomg10 tomg10 marked this pull request as ready for review January 18, 2024 17:22
@tomg10 tomg10 requested a review from slowli January 19, 2024 10:04
core/lib/dal/src/storage_logs_dal.rs Outdated Show resolved Hide resolved
core/lib/dal/src/storage_logs_dal.rs Outdated Show resolved Hide resolved
core/lib/dal/src/storage_logs_dedup_dal.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/Cargo.toml Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/tests.rs Outdated Show resolved Hide resolved
@tomg10 tomg10 requested a review from slowli January 22, 2024 11:42
core/lib/snapshots_applier/src/lib.rs Show resolved Hide resolved
core/lib/snapshots_applier/src/tests.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/tests.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
core/lib/dal/src/storage_logs_dal.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/tests.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/lib.rs Outdated Show resolved Hide resolved
core/lib/snapshots_applier/src/tests.rs Show resolved Hide resolved
slowli
slowli previously approved these changes Jan 24, 2024
Copy link
Contributor

@slowli slowli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some minor nits (if you don't mind, I can fix them in a follow-up PR), but nothing preventing merging.

Copy link
Contributor

No performance difference detected (anymore)

@tomg10 tomg10 requested a review from slowli January 25, 2024 13:28
@tomg10 tomg10 added this pull request to the merge queue Jan 25, 2024
Merged via the queue into main with commit 0d2ba09 Jan 25, 2024
27 checks passed
@tomg10 tomg10 deleted the snapshots-applier branch January 25, 2024 14:04
github-merge-queue bot pushed a commit that referenced this pull request Jan 30, 2024
🤖 I have created a release *beep* *boop*
---


##
[20.2.0](core-v20.1.0...core-v20.2.0)
(2024-01-30)


### Features

* added unauthenticated version of gcs object store
([#916](#916))
([638a813](638a813))
* Adding EN snapshots applier
([#882](#882))
([0d2ba09](0d2ba09))
* consensus component config for main node and external node
([#881](#881))
([1aed8de](1aed8de))
* **en:** Make ENs detect reorgs earlier
([#964](#964))
([b043cc8](b043cc8))
* **en:** Restore state keeper storage from snapshot
([#885](#885))
([a9553b5](a9553b5))
* protobuf-generated json configs for the main node (BFT-371)
([#458](#458))
([f938314](f938314))
* Remove zkevm_test_harness public reexport from zksync_types
([#929](#929))
([dd1a35e](dd1a35e))
* **state-keeper:** track the time that individual transactions spend in
mempool ([#941](#941))
([fa45aa9](fa45aa9))
* **vm:** detailed circuit statistic
([#845](#845))
([a20af60](a20af60))
* **vm:** Support tracers for old vm
([#926](#926))
([9fc2d95](9fc2d95))


### Bug Fixes

* **api:** Order transaction traces in `debug_traceBlock*` methods
([#924](#924))
([5918ef9](5918ef9))
* **db:** Make `get_expected_l1_batch_timestamp()` more efficient
([#963](#963))
([7334679](7334679))
* **db:** Make `snapshot_recovery` migration backward-compatible
([#961](#961))
([e756762](e756762))
* **zksync_types:** Update SerializationTransactionError::OversizedData
description
([#949](#949))
([c95f3ee](c95f3ee))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
github-merge-queue bot pushed a commit that referenced this pull request Feb 2, 2024
## What ❔

Brushes up the snapshot applier code according to nits from #882 code
reviews.

## Why ❔

Improves snapshot applier maintainability.

## Checklist

- [x] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [x] Tests for the changes have been added / updated.
- [x] Documentation comments have been added / updated.
- [x] Code has been formatted via `zk fmt` and `zk lint`.
- [x] Spellcheck has been run via `zk spellcheck`.
- [x] Linkcheck has been run via `zk linkcheck`.
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