Skip to content
Snippets Groups Projects
Commit 3f18d589 authored by Sean Young's avatar Sean Young
Browse files

Fix locking issues in name cache


Avoid concurrent duplicate calls to backend.GetNameEntry(). This avoids
duplicate work but holds a write lock for the duration.

Ensure we unlock in error path in Sync.

Signed-off-by: default avatarSean Young <sean.young@monax.io>
parent 76261dea
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment