Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information