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 7 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
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- [2311](https://github.com/FuelLabs/fuel-core/pull/2311): Changed the text of the error returned by the executor if gas overflows.


### Changed
- [2233](https://github.com/FuelLabs/fuel-core/pull/2233): New changes to HistoricalRocksDB are written to ModificationsHistoryV2

## [Version 0.38.0]

### Added
Expand Down Expand Up @@ -93,8 +96,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- [2299](https://github.com/FuelLabs/fuel-core/pull/2299): Support blobs in the predicates.
- [2300](https://github.com/FuelLabs/fuel-core/pull/2300): Added new function to `fuel-core-client` for checking whether a blob exists.

### Changed

Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you return it back, please?=)

#### Breaking
- [2299](https://github.com/FuelLabs/fuel-core/pull/2299): Anyone who wants to participate in the transaction broadcasting via p2p must upgrade to support new predicates on the TxPool level.
- [2299](https://github.com/FuelLabs/fuel-core/pull/2299): Upgraded `fuel-vm` to `0.58.0`. More information in the [release](https://github.com/FuelLabs/fuel-vm/releases/tag/v0.58.0).
Expand Down
51 changes: 26 additions & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/fuel-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ hyper = { workspace = true }
indicatif = { workspace = true, default-features = true }
itertools = { workspace = true }
num_cpus = { version = "1.16.0", optional = true }
parking_lot = { workspace = true }
paste = { workspace = true }
postcard = { workspace = true, optional = true }
rand = { workspace = true }
Expand Down
Loading
Loading