Manak,

On 12/12/23 10:05, Manak Bisht wrote:
To use *DeltaManager* with unicast (static membership), the Tomcat 8.5
documentation (https://tomcat.apache.org/tomcat-8.5-doc/config/cluster.html)
states that the channelStartOptions should be equal to *3*.

However, the value should be left as the default when using the
*StaticMembershipService* according to the Tomcat 9.0 documentation (
https://tomcat.apache.org/tomcat-9.0-doc/config/cluster.html).

Why does this distinction exist?

Historical happenstance?

The default is SND_RX_SEQ (1) | SEND_TX_SEQ (2) | MBR_RX_SEQ (4) | MBR_TX_SEQ (8) = 15.

It occurs to be that with static membership, the values of MBR_* don't matter since there is no in-cluster chatter about membership: it's static(!).

So using the default 15 instead of 3 for a static cluster shouldn't make any difference. So perhaps the documentation for charnnelStartOptions should say:

"
To start a channel without multicasting, you would want to ensure your channelStartOptions include Channel.SND_RX_SEQ | Channel.SND_TX_SEQ (i.e. 3).
"

* Full disclosure, I've never set up a Tomcat cluster and might have no idea what I'm talking about.

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to