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

index: block filters sync, reduce disk read operations by caching last header #28955

Merged
merged 6 commits into from
Mar 20, 2024

Commits on Mar 12, 2024

  1. bench: basic block filter index initial sync

    Introduce benchmark for the block filter index sync.
    And makes synchronous 'Sync()' mechanism accessible.
    furszy committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    bcbd7eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    331f044 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a6756ec View commit details
    Browse the repository at this point in the history
  4. index: cache last block filter header

    Avoid disk read operations on every new processed block.
    furszy committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    f1469eb View commit details
    Browse the repository at this point in the history
  5. index: decrease ThreadSync cs_main contention

    Only NextSyncBlock requires cs_main lock. The
    other function calls like Commit or Rewind will
    lock or not cs_main internally when they need it.
    
    Avoiding keeping cs_main locked when Commit() or
    Rewind() write data to disk.
    furszy committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    0faafb5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    99afb9d View commit details
    Browse the repository at this point in the history