Perlbal - Are node removals "graceful"?

This is Interesting: Free IT Magazines  
Home > Archive > Perlbal > October 2007 > Are node removals "graceful"?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Are node removals "graceful"?
Paul Baker

2007-10-24, 7:12 pm

I couldn't find this search the list archive and I tired reading the code to
see what happens but I haven't been able to put it together in my head yet.
Basically I want to know exactly what happens to the connections a node has
when it is removed from a pool, either through the command interface or from
a nodelist.dat file sync. If there are connections in wait_res or xfer_res
for instance, are they allowed to gracefully complete, or are they severed
immediately (and an error sent to the client?)

dormando

2007-10-24, 7:12 pm

Paul Baker wrote:
> I couldn't find this search the list archive and I tired reading the
> code to see what happens but I haven't been able to put it together in
> my head yet. Basically I want to know exactly what happens to the
> connections a node has when it is removed from a pool, either through
> the command interface or from a nodelist.dat file sync. If there are
> connections in wait_res or xfer_res for instance, are they allowed to
> gracefully complete, or are they severed immediately (and an error sent
> to the client?)


Should be. IIRC the node list is only referenced for handling new
requests. Current ones go about their business.

-Dormando

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com