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

service: Use initNextID in acquireLocalID() #13576

Merged
merged 1 commit into from
Oct 15, 2020

Commits on Oct 15, 2020

  1. service: Use initNextID in acquireLocalID()

    When rolling over, it should use initNextID instead of FirstFreeServiceID,
    which doesn't belong to the IDAllocator. This would create problems if
    FirstFreeServiceID and FirstFreeBackendID have different values although now
    they happen to be the same.
    
    Fixes: ab9cf4b ("service: Make local ID allocator more service agnostic")
    Signed-off-by: Han Zhou <hzhou8@ebay.com>
    hzhou8 committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    948218e View commit details
    Browse the repository at this point in the history