Bug 3543

Summary: Race condition with 1 server and 300 clients
Product: TAO Reporter: Johnny Willemsen <jwillemsen>
Component: ORBAssignee: DOC Center Support List (internal) <tao-support>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 1.6.7   
Hardware: All   
OS: All   
Bug Depends on: 3545    
Bug Blocks: 3546, 3553    

Description Johnny Willemsen 2009-01-12 07:42:03 CST
when one server is used with 300 clients we see a race condition when multiple server threads wait for the connection back to the client.
Comment 1 Johnny Willemsen 2009-01-12 12:57:47 CST
Mon Jan 12 18:41:46 UTC 2009  Johnny Willemsen  <jwillemsen@remedy.nl>

        * tao/Transport.cpp (register_if_necessary):
          Don't check if the transport is registered, we could get a thread
          switch between the check and the registration. Also only when the
          register_handler returns -1 we have a failure, with 1 it is already
          registered. This fixes bugzilla 3543

Comment 2 Johnny Willemsen 2009-01-17 03:10:00 CST
reopen, with 1000 clients things still fail, there can only be 512 connections in the cache, seems a race conditions in the transport cache
Comment 3 Johnny Willemsen 2009-01-21 14:31:38 CST
dep
Comment 4 Johnny Willemsen 2009-02-23 03:05:24 CST
fixed