e7ee6abd70
Motivation: PendingWriteQueue should guard against re-entrant writes once removeAndFailAll() is run. Modifications: removeAndFailAll() should repeat until the queue is finally empty. Result: assertEmpty() will always hold.