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

moves shreds deduper to shred-sigverify stage #30786

Merged
merged 1 commit into from
Mar 22, 2023

Commits on Mar 21, 2023

  1. moves shreds deduper to shred-sigverify stage

    Shreds arriving at tvu/tvu_forward/repair sockets are each processed in
    a separate thread, and since each thread has its own deduper, the
    duplicates across these sockets are not filtered out.
    Using a common deduper across these threads will require an RwLock
    wrapper and may introduce lock contention.
    The commit instead moves the shred-deduper to shred-sigverify-stage
    where all these shreds arrive through the same channel.
    behzadnouri committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    bc280c3 View commit details
    Browse the repository at this point in the history