Mantis - Resin
Viewing Issue Advanced Details
2100 major always 10-20-07 12:29 10-24-07 14:18
stbu  
ferg  
normal  
closed 3.1.3  
fixed  
none    
none 3.1.4  
0002100: Load balancing: unable to define strategy 'round-robin' / documentation incomplete
Documentation (http://www.caucho.com/resin-3.1/doc/rewrite-tags.xtp#load-balance) [^] of <load-balance> as child of <rewrite-dispatch> states that 'strategy' is allowed and a value of `round-robin' or `least-connection' is allowed.

2 Issues in total:


1.) strategy="round-robin" is an unexpected attribute in <load-balance>.

329:
330: <rewrite-dispatch>
331: <load-balance regexp="" cluster="app-tier" sticky-sessions="true" strategy="round-robin"/>
332: </rewrite-dispatch>
333:

'connection-load-weight', 'cpu-load-weight', 'disable-at', 'enable-at', 'enabled' or 'name' are expected.

<load-balance> syntax: (( (@disable-at | <disable-at>)?
                        & (@enable-at | <enable-at>)?
                        & (@enabled | <enabled>)?
                        & (@name | <name>)?
                        & (@regexp | <regexp> | @full-url-regexp | <full-url-regexp>)),
                        ( (@cluster | <cluster>)
                        & (@connection-load-weight | <connection-load-weight>)?
                        & (@cpu-load-weight | <cpu-load-weight>)?
                        & (@sticky-sessions | <sticky-sessions>)?),
                        (<and>* & <not>* & <or>* & <unless>* & <when>*))


2.) Attributes 'connection-load-weight' and 'cpu-load-weight' are NOT documented but allowed accordingly to above <load-balance> syntax.

Documentation should be extended to describe the meaning of these attributes.
Resin-Professional 3.1.3, JDK 6, Windows XP

Notes
(0002386)
ferg   
10-24-07 14:18   
server/269r