Restart the process with a write lock if we discover an expired key
while holding the read lock.
(cherry picked from commit d2ba96488e)
Restart the process with a write lock if we discover an expired key
while holding the read lock.
(cherry picked from commit d2ba96488e)