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

Issue 4598 - Copy attribute syntax hashtables to each worker thread #5693

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Apr 5, 2023

  1. Issue 4598 - Copy attribute syntax hashtables to each worker thread

    Description:
    
    There is a lot of contention around the rwlocks for the attribute
    syntax hashtables.  Since syntaxes rarely change we can just keep a
    copy in each thread and avoid locking.
    
    Then the worker can check for changes on each loop and rebuild
    the hashtables as needed.
    
    Did some code cleanup in schema.c
    
    relates: 389ds#4598
    
    Reviewed by: progier(Thanks!)
    mreynolds389 committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    d628b50 View commit details
    Browse the repository at this point in the history