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

cli: consolidate erigon seg clearIndexing into erigon seg accessor --rebuild #12815

Open
AskAlexSharov opened this issue Nov 21, 2024 · 0 comments
Labels

Comments

@AskAlexSharov
Copy link
Collaborator

AskAlexSharov commented Nov 21, 2024

  • clearIndexing does gen new salt.txt. erigon seg accessor --rebuild doesn't. need add flag --new-salt which will support it
  • ensure erigon seg accessor --rebuild does rebuild and block accessors and state accessors. add unit-test for it.

Dictionary:

  • accessors - .idx, .efi, .vi, .bt files. usually not exposed by API for high-level code or user. technical detail of implementation (how do we store data on disk).
  • index (or inverted_index) - high-level user-facing concept, with public API. Technically can be implemented as many various files on disk (segments + accessors).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant