You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2017/05/26 20:44:26 UTC

[Bug 61127] New: Allow cluster channelSendOptions to be specified with verbose, human-readable names

https://bz.apache.org/bugzilla/show_bug.cgi?id=61127

            Bug ID: 61127
           Summary: Allow cluster channelSendOptions to be specified with
                    verbose, human-readable names
           Product: Tomcat 9
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: chris@christopherschultz.net
  Target Milestone: -----

Cluster channels support "channelSendOptions" which is specified as an integer
value, bitwise-ORd from the individual bits which make-up the various options.

The default value is 8 for the DeltaManager which means "asynchronous".

It would be nice if the configuration could use human-readable options like
"async" instead of "8".

These are the channel send options available:

SEND_OPTIONS_ASYNCHRONOUS
SEND_OPTIONS_BYTE_MESSAGE
SEND_OPTIONS_MULTICAST
SEND_OPTIONS_SECURE
SEND_OPTIONS_SYNCHRONIZED_ACK
SEND_OPTIONS_UDP
SEND_OPTIONS_USE_ACK

They could be specified as human-readable strings e.g.
channelSendOptions="async,multicast" instead of channelSendOptions="72" which
would make the configuration much easier to both read and write.

For backward compatibility, the integer values should also be acceptable.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61127] Allow cluster channelSendOptions to be specified with verbose, human-readable names

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61127

Christopher Schultz <ch...@christopherschultz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #3 from Christopher Schultz <ch...@christopherschultz.net> ---
Fixed in r1799462, r1799464, and r1799466 (the latter being cleanup for an
inadvertently-committed change to the build script). Will be in Tomcat
9.0.0.M23 and later.

Back-ports likely forthcoming to Tomcat 8.5.x and Tomcat 8.0.x.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61127] Allow cluster channelSendOptions to be specified with verbose, human-readable names

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61127

Igal Sapir <de...@21solutions.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dev@21solutions.net

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61127] Allow cluster channelSendOptions to be specified with verbose, human-readable names

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61127

--- Comment #2 from Christopher Schultz <ch...@christopherschultz.net> ---
*** Bug 61128 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61127] Allow cluster channelSendOptions to be specified with verbose, human-readable names

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61127

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |Starter

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61127] Allow cluster channelSendOptions to be specified with verbose, human-readable names

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61127

--- Comment #1 from Igal Sapir <de...@21solutions.net> ---
Please see https://github.com/apache/tomcat/pull/56 as a WIP.

Especially given the fact that this is my first PR I would need more feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61127] Allow cluster channelSendOptions to be specified with verbose, human-readable names

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61127

Christopher Schultz <ch...@christopherschultz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |62814


Referenced Bugs:

https://bz.apache.org/bugzilla/show_bug.cgi?id=62814
[Bug 62814] Use readable names for cluster channel/map options in documentation
AND sample configurations
-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org