-Re: Review Request 15753: Reduction of waiting time during Fast Leader Election (ZOOKEEPER-1814)
Daniel Peon 2014-04-02, 09:50
This is an automatically generated e-mail. To reply, visit:
(Updated April 2, 2014, 9:50 a.m.)
Review request for zookeeper, German Blanco and fpj.
New test case checking that the parameter maxNotificationInterval can be configurable.
The test case overwrites the receiveConnection method in QuorumCnxManager class in order to avoid any answer to Fast Leader Election. Thus, FLE is forced to retry increasing exponentially the notifications interval. This interval is measured and the test case stops when 3 consecutive measures are equal. The test case will be OK if the measure is the configured in the cfg file.