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

Versioned Storage for Modifications History #2233

Merged
merged 33 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
6e19507
Add ModificationsHistoryV2 with right encoding
acerone85 Oct 3, 2024
3c9eff4
HistoricalRocksDB starts using ModificationHistory V2 for new changes
acerone85 Oct 3, 2024
0d2c490
Additional test that rollback works with V2
acerone85 Oct 4, 2024
eb75cd6
Merge branch 'master' into feature/version-modifications-history
acerone85 Oct 10, 2024
092e12f
Update CHANGELOG
acerone85 Oct 10, 2024
832432f
Typo
acerone85 Oct 10, 2024
ec9a907
Merge branch 'master' into feature/version-modifications-history
acerone85 Oct 18, 2024
5fb672d
Update CHANGELOG
acerone85 Oct 18, 2024
82e7db8
Merge branch 'master' into feature/version-modifications-history
acerone85 Oct 29, 2024
b8b22b5
Revert changes to Cargo.lock
acerone85 Oct 29, 2024
56c6428
Cargo.lock
acerone85 Oct 29, 2024
07d43e2
Updatet -> Updated
acerone85 Oct 29, 2024
f996101
Remove stale todo
acerone85 Oct 29, 2024
5ea1bbc
Generic implementation of multiversion_op
acerone85 Oct 29, 2024
315172c
N -> Version in comment
acerone85 Oct 29, 2024
d56f351
Remove Spurious comment
acerone85 Oct 29, 2024
4dc2643
Add comment why commit cannot fail
acerone85 Oct 29, 2024
a5cc0bb
Better pattern matching in column prefix bytes
acerone85 Oct 29, 2024
2739d61
Revert taken cumulative changes if writing modification history fails
acerone85 Oct 29, 2024
9f050e5
Add Given/When/Then in tests
acerone85 Oct 29, 2024
fc58a71
Merge branch 'master' into feature/version-modifications-history
acerone85 Oct 29, 2024
f162887
Remove stale comment
acerone85 Oct 29, 2024
df975db
WIP - Commit only valid migrated changes when committing a transaction
acerone85 Oct 30, 2024
a343938
Remove changes related to migration of modification history
acerone85 Oct 30, 2024
04ba994
Polish code
acerone85 Oct 30, 2024
1022595
Fix Changelog
acerone85 Oct 30, 2024
e549360
Merge branch 'master' into feature/version-modifications-history
xgreenx Nov 26, 2024
72fee7e
Apply small changes from review
xgreenx Nov 26, 2024
6a7b0d0
Merge branch 'master' into feature/version-modifications-history
xgreenx Nov 26, 2024
a46a2e7
Merge branch 'master' into feature/version-modifications-history
acerone85 Nov 27, 2024
bdded29
Make Changelog consistent
acerone85 Nov 27, 2024
8beaef8
Apply suggestions from code review
xgreenx Nov 27, 2024
8564ad8
Merge branch 'master' into feature/version-modifications-history
xgreenx Nov 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- [2378](https://github.com/FuelLabs/fuel-core/pull/2378): Use cached hash of the topic instead of calculating it on each publishing gossip message.
- [2429](https://github.com/FuelLabs/fuel-core/pull/2429): Introduce custom enum for representing result of running service tasks
- [2377](https://github.com/FuelLabs/fuel-core/pull/2377): Add more errors that can be returned as responses when using protocol `/fuel/req_res/0.0.2`. The errors supported are `ProtocolV1EmptyResponse` (status code `0`) for converting empty responses sent via protocol `/fuel/req_res/0.0.1`, `RequestedRangeTooLarge`(status code `1`) if the client requests a range of objects such as sealed block headers or transactions too large, `Timeout` (status code `2`) if the remote peer takes too long to fulfill a request, or `SyncProcessorOutOfCapacity` if the remote peer is fulfilling too many requests concurrently.
- [2233](https://github.com/FuelLabs/fuel-core/pull/2233): Introduce a new column `modification_history_v2` for storing the modification history in the historical rocksDB. Keys in this column are stored in big endian order. Changed the behaviour of the historical rocksDB to write changes for new block heights to the new column, and to perform lookup of values from the `modification_history_v2` table first, and then from the `modification_history` table, performing a migration upon access if necessary.

#### Breaking
- [2389](https://github.com/FuelLabs/fuel-core/pull/2258): Updated the `messageProof` GraphQL schema to return a non-nullable `MessageProof`.
Expand Down Expand Up @@ -90,7 +91,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
#### Breaking
- [2311](https://github.com/FuelLabs/fuel-core/pull/2311): Changed the text of the error returned by the executor if gas overflows.


## [Version 0.38.0]

### Added
Expand Down
Loading
Loading