Log end of bug601 verbosely
The test appears to fail to connect to MaxScale due to unavailability of connections. Theoretically, the improvement in accept speed due to SO_REUSEPORT additions could explain the faster exhaustion of available sockets.
This commit is contained in:
		@ -120,7 +120,10 @@ int main(int argc, char* argv[])
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    Test->tprintf("Dropping user", Test->maxscales->user_name);
 | 
					    Test->tprintf("Dropping user", Test->maxscales->user_name);
 | 
				
			||||||
    Test->try_query(Test->maxscales->conn_rwsplit[0], (char*) "DROP USER user@'%%';");
 | 
					    Test->try_query(Test->maxscales->conn_rwsplit[0], (char*) "DROP USER user@'%%';");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    Test->maxscales->verbose = true;
 | 
				
			||||||
    Test->check_maxscale_alive(0);
 | 
					    Test->check_maxscale_alive(0);
 | 
				
			||||||
 | 
					    Test->maxscales->verbose = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    int rval = Test->global_result;
 | 
					    int rval = Test->global_result;
 | 
				
			||||||
    delete Test;
 | 
					    delete Test;
 | 
				
			||||||
 | 
				
			|||||||
@ -99,7 +99,7 @@ int Maxscales::connect_rwsplit(int m, const std::string& db)
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
        if (verbose)
 | 
					        if (verbose)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            printf("Failed to connect to readwritesplit: %d, %s", my_errno, mysql_error(conn_rwsplit[m]));
 | 
					            printf("Failed to connect to readwritesplit: %d, %s\n", my_errno, mysql_error(conn_rwsplit[m]));
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        rc = my_errno;
 | 
					        rc = my_errno;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@ -136,7 +136,7 @@ int Maxscales::connect_readconn_master(int m, const std::string& db)
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
        if (verbose)
 | 
					        if (verbose)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            printf("Failed to connect to readwritesplit: %d, %s", my_errno, mysql_error(conn_master[m]));
 | 
					            printf("Failed to connect to readwritesplit: %d, %s\n", my_errno, mysql_error(conn_master[m]));
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        rc = my_errno;
 | 
					        rc = my_errno;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@ -173,7 +173,7 @@ int Maxscales::connect_readconn_slave(int m, const std::string& db)
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
        if (verbose)
 | 
					        if (verbose)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            printf("Failed to connect to readwritesplit: %d, %s", my_errno, mysql_error(conn_slave[m]));
 | 
					            printf("Failed to connect to readwritesplit: %d, %s\n", my_errno, mysql_error(conn_slave[m]));
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        rc = my_errno;
 | 
					        rc = my_errno;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user