Bug 1293

Summary: Finish the RoundRobin LB strategy implementation
Product: TAO Reporter: Ossama Othman <ossama.othman>
Component: Load BalancerAssignee: Ossama Othman <ossama.othman>
Status: RESOLVED FIXED    
Severity: blocker CC: jai
Priority: P3    
Version: 1.2.4   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 1277    

Description Ossama Othman 2002-08-23 18:47:26 CDT
The RoundRobin is required by the forthcoming OMG LB spec.  Furthermore it is a
basic/fundamental LB strategy used by many.  TAO's new LB should not be shipped
without it.  It should be fairly straightforward, though non-trivial, to
complete the implementation.
Comment 1 Ossama Othman 2002-08-23 18:47:45 CDT
Blocks the TAO 1.3 release.
Comment 2 Ossama Othman 2002-09-13 09:05:02 CDT
Mine.
Comment 3 Ossama Othman 2002-09-26 16:09:24 CDT
Done.

Thu Sep 26 09:14:22 2002  Ossama Othman  <ossama@uci.edu>

	* orbsvcs/orbsvcs/LoadBalancing/LB_Location_Index_Map.h:
	* orbsvcs/orbsvcs/LoadBalancing/LB_Location_Index_Map.cpp:

	  New table that maps object group ID to the index
	  of the next element in a "locations of object group members"
	  sequence.

	* orbsvcs/orbsvcs/LoadBalancing/LB_RoundRobin.h:

	  Added location index map that maps object group ID to the index
	  of the next element in the "locations of members" sequence.

	  Added lock member to be used for synchronization of the location
	  index map.

	* orbsvcs/orbsvcs/LoadBalancing/LB_RoundRobin.cpp
	  (TAO_LB_RoundRobin):

	  Initialize the lock and location index members in the base
	  member initializer list.

	  (next_member):

	  Implemented this method.  [Bug 1293]