FLUME-2154 Reducing duplicate events caused by reset-connection-interval
Review Request #13436 - Created Aug. 9, 2013 and updated
I removed the lock and set a flag in scheduled runnable. This flag is checked in process and a reconnect is performed if set.
Unit tests were adjusted(since a reconnect requires process to actually happen) and pass. We tested with and without the patch on our servers and everything looks good with log duplication at the same level as having interval = 0