From: David J. <dav...@di...> - 2002-12-13 16:10:08
|
On 2002.12.13 10:47:47 -0500 Ann W. Harrison wrote: > At 05:57 PM 12/12/2002 -0500, David Jencks wrote: > > >Please explain how the abandoned work on the resource manager will get > >cleaned up automatically in this case unless the rm can unilaterally > >discard it based only on information it knows. > > I've probably got this all wrong, but if the tm tells a client > connection that it's dead, one assumes that the client will > disconnect, then Firebird will detect that the connection is > gone and release all its resources. > > Schemes like this put the responsibility for cleaning up failures on the client. As Nickolay points out, this leaves lots of opportunity for malicious clients. Even with friendly clients, I don't think it is possible to provide the same level of reliability as a server-controlled timeout cleanup. What if everything on a client except the tcp connection gets locked up? The dead connection detection in the server operates I think on this same principle. However, I'm not convinced that it alone provides sufficient reliability. thanks david jencks > > Regards, > > Ann > www.ibphoenix.com > We have answers. > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > Firebird-devel mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-devel > > |