ascherbakoff commented on a change in pull request #3501: ignite-7648 URL: https://github.com/apache/ignite/pull/3501#discussion_r253893334
########## File path: modules/core/src/main/java/org/apache/ignite/spi/ExponentialBackoffSpiTimeout.java ########## @@ -0,0 +1,231 @@ +/* Review comment: I do not like new class and deprecation of IgniteSpiOperationTimeoutHelper. It's still used in discovery SPI. Let's postpone the refactoring and use existing class. You should implement method __public long nextTimeoutChunk(long dfltTimeout, long maxTimeout)__ where second argument will reserve not more than maxTimeout. Call it with DFLT_START_WAIT_TIME * 2^recon, where DFLT_START_WAIT_TIME is constant defining start time for exponential backoff. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
