DESCRIPTION

SPY-160: Avoid ConcurrentModificationException with the retry queue

Motivation
----------
ConcurrentModificationException will show up since the code can recursively
modify itself.

Modifications
-------------
Copy the original list into a temporary new one to avoid the exception.

Result
------
Redistribute on the retry list will work as expected, without an
exception.

Change-Id: Ieff1a87136bef38280b7f139192419073d6a878a


COMMENTS

author: Natasha Sullivan
date: 2014-03-27 07:51:13.541000000

Uploaded patch set 1.

-------------------------------------
author: Natasha Sullivan
date: 2014-03-27 07:56:10.218000000

Patch Set 1: Verified+1

-------------------------------------
author: Andreas Short
date: 2014-03-27 15:15:24.292000000

Patch Set 1: Code-Review+2

-------------------------------------
