https://issues.apache.org/bugzilla/show_bug.cgi?id=48564

           Summary: Unable to turn off retries for LB worker
           Product: Tomcat Connectors
           Version: 1.2.28
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_jk
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: ryl...@gmail.com


I cannot turn off retry for LB worker.

I'm not sure, but looking at jk_lb_worker.c it seems, that setting it to 0
won't help.

Look at the only place, where 'retries' is being checked

   while (recoverable == JK_TRUE) {
        lb_sub_worker_t *rec;
        if (attempt >= num_of_workers) {
            retry++;
            if (retry >= p->worker->retries) {
                /* Done with retrying */
                break;
            }

Should retry be checked only if attempt >= num_of_workers ?

Cheers,

R.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to