Github user DaveBirdsall commented on a diff in the pull request:

    https://github.com/apache/trafodion/pull/1704#discussion_r213058744
  
    --- Diff: core/sql/cli/Cli.cpp ---
    @@ -10599,7 +10599,10 @@ static Lng32 SeqGenCliInterfaceUpdAndValidateMulti(
           
           numTries++;
           
    -      DELAY(100 + numTries*25);
    +      if( 100 + numTries*25 < 1000)   //MAX is 1 second
    +          DELAY(100 + numTries*25);
    +      else
    +          DELAY(1000);
    --- End diff --
    
    You might want to consider adding some small random amount to this maximum 
delay. Otherwise you might get a bunch of processes in lock step, all retrying 
at the same time.


---

Reply via email to