Skip to content

Conversation

@ashvindeodhar
Copy link
Member

When many pods are scheduled simultaneously, locking the store times out.
This is expected as each process needs exclusive lock while modifying the lock file.
In doing so, the lock file timestamp is changed. Update to this timestamp indicate
process(es) are actively using CNI plugin. The lock retry count is reset if the process
detects this change. As a result, timeout will only happen if the process cannot lock the
store while it remain unchanged for the duration of the timeout.

@saiyan86 saiyan86 merged commit 6a330d7 into master Jan 16, 2019
@saiyan86
Copy link
Contributor

/lgtm

@ashvindeodhar ashvindeodhar deleted the ashvin-reset-lock-retry-count branch January 16, 2019 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants