Bug 1293 - Finish the RoundRobin LB strategy implementation
Summary: Finish the RoundRobin LB strategy implementation
Status: RESOLVED FIXED
Alias: None
Product: TAO
Classification: Unclassified
Component: Load Balancer (show other bugs)
Version: 1.2.4
Hardware: All All
: P3 blocker
Assignee: Ossama Othman
URL:
Depends on:
Blocks: 1277
  Show dependency tree
 
Reported: 2002-08-23 18:47 CDT by Ossama Othman
Modified: 2002-09-26 16:09 CDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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]