Skip to content

Conversation

@battlmonstr
Copy link
Contributor

  • .kvei and .bt schema (only schema for now, TODOs added for opening files)
  • configure KVSegment compression kind: uncompressed by default, Storage & Commitment .kv has keys compressed, Code .kv has values compressed (.ef is always uncompressed)
  • configure Segment compression: history is uncompressed by default, compressed for Code .v
  • disable Commitment history

@battlmonstr battlmonstr added the snapshots Framework for BitTorrent-based snapshots label Nov 14, 2024
@battlmonstr battlmonstr requested a review from canepat November 14, 2024 11:17
@battlmonstr battlmonstr marked this pull request as draft November 14, 2024 11:18
auto-merge was automatically disabled November 14, 2024 11:18

Pull request was converted to draft

@battlmonstr battlmonstr changed the base branch from master to pr/e3path November 14, 2024 11:19
Base automatically changed from pr/e3path to master November 19, 2024 07:29
@battlmonstr battlmonstr marked this pull request as ready for review November 19, 2024 09:00
@canepat canepat added the erigon3 Erigon3 feature label Nov 19, 2024
@canepat canepat mentioned this pull request Nov 19, 2024
41 tasks

std::pair<std::optional<SegmentAndIndex>, std::shared_ptr<SnapshotBundle>> find_segment(
std::pair<datastore::EntityName, datastore::EntityName> names,
std::array<datastore::EntityName, 3> names,
Copy link
Member

Choose a reason for hiding this comment

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

It would be better to insert a using declaration for std::array<datastore::EntityName, 3>, as it is used in 4 different places

@battlmonstr battlmonstr merged commit 0110d4f into master Nov 20, 2024
5 of 6 checks passed
@battlmonstr battlmonstr deleted the pr/schema2 branch November 20, 2024 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

erigon3 Erigon3 feature snapshots Framework for BitTorrent-based snapshots

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants