You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Mladen Turk (JIRA)" <ji...@apache.org> on 2010/05/19 19:28:53 UTC
[jira] Created: (TS-361) Use human readable number multiplies for
configuration values
Use human readable number multiplies for configuration values
-------------------------------------------------------------
Key: TS-361
URL: https://issues.apache.org/jira/browse/TS-361
Project: Traffic Server
Issue Type: Improvement
Components: Config
Reporter: Mladen Turk
Assignee: Mladen Turk
Priority: Minor
Fix For: 2.0.1
Use friendly multipliers for the configuration numbers
using the following notation:
[-]digit*[gGkKmM]
k or K multiplies the provided number with 1024
m or M multiplies the provided number with 1024 * 1024
g or G multiplies the provided number with 1024 * 1024 * 1024
Add this as generic string function similar to ink_atoll
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TS-361) Use human readable number multiplies for
configuration values
Posted by "Mladen Turk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869631#action_12869631 ]
Mladen Turk commented on TS-361:
--------------------------------
Implemented in the trunk and will be part of 2.1.1
Code is also safe for backport to previous branches thought.
Parsing rule for numbers is:
[-]digit*[GKMT]
Allowed multipliers are
K multiplies the provided number with 1024
M multiplies the provided number with 1024 * 1024
G multiplies the provided number with 1024 * 1024 * 1024
G multiplies the provided number with 1024 * 1024 * 1024 * 1024
This basically allows any INT configuration value to contain the multiplier after the last numeric digit.
> Use human readable number multiplies for configuration values
> -------------------------------------------------------------
>
> Key: TS-361
> URL: https://issues.apache.org/jira/browse/TS-361
> Project: Traffic Server
> Issue Type: Improvement
> Components: Config
> Reporter: Mladen Turk
> Assignee: Mladen Turk
> Priority: Minor
> Fix For: 2.0.1
>
>
> Use friendly multipliers for the configuration numbers
> using the following notation:
> [-]digit*[gGkKmM]
> k or K multiplies the provided number with 1024
> m or M multiplies the provided number with 1024 * 1024
> g or G multiplies the provided number with 1024 * 1024 * 1024
> Add this as generic string function similar to ink_atoll
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (TS-361) Use human readable number
multiplies for configuration values
Posted by "Mladen Turk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869631#action_12869631 ]
Mladen Turk edited comment on TS-361 at 5/20/10 11:04 AM:
----------------------------------------------------------
Implemented in the trunk and will be part of 2.1.1
Code is also safe for backport to previous branches thought.
Parsing rule for numbers is:
[-]digit*[GKMT]
Allowed SI decimal multipliers are
K multiplies the provided number with 1024
M multiplies the provided number with 1024 * 1024
G multiplies the provided number with 1024 * 1024 * 1024
T multiplies the provided number with 1024 * 1024 * 1024 * 1024
This basically allows any INT configuration value to contain the multiplier after the last numeric digit.
was (Author: mturk@apache.org):
Implemented in the trunk and will be part of 2.1.1
Code is also safe for backport to previous branches thought.
Parsing rule for numbers is:
[-]digit*[GKMT]
Allowed multipliers are
K multiplies the provided number with 1024
M multiplies the provided number with 1024 * 1024
G multiplies the provided number with 1024 * 1024 * 1024
G multiplies the provided number with 1024 * 1024 * 1024 * 1024
This basically allows any INT configuration value to contain the multiplier after the last numeric digit.
> Use human readable number multiplies for configuration values
> -------------------------------------------------------------
>
> Key: TS-361
> URL: https://issues.apache.org/jira/browse/TS-361
> Project: Traffic Server
> Issue Type: Improvement
> Components: Config
> Reporter: Mladen Turk
> Assignee: Mladen Turk
> Priority: Minor
> Fix For: 2.0.1
>
>
> Use friendly multipliers for the configuration numbers
> using the following notation:
> [-]digit*[gGkKmM]
> k or K multiplies the provided number with 1024
> m or M multiplies the provided number with 1024 * 1024
> g or G multiplies the provided number with 1024 * 1024 * 1024
> Add this as generic string function similar to ink_atoll
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (TS-361) Use human readable number multiplies for
configuration values
Posted by "Mladen Turk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mladen Turk reassigned TS-361:
------------------------------
Assignee: Miles Libbey (was: Mladen Turk)
Hi,
Should we document that change in how the numbers can be parsed somewhere?
> Use human readable number multiplies for configuration values
> -------------------------------------------------------------
>
> Key: TS-361
> URL: https://issues.apache.org/jira/browse/TS-361
> Project: Traffic Server
> Issue Type: Improvement
> Components: Config
> Reporter: Mladen Turk
> Assignee: Miles Libbey
> Priority: Minor
> Fix For: 2.0.1
>
>
> Use friendly multipliers for the configuration numbers
> using the following notation:
> [-]digit*[gGkKmM]
> k or K multiplies the provided number with 1024
> m or M multiplies the provided number with 1024 * 1024
> g or G multiplies the provided number with 1024 * 1024 * 1024
> Add this as generic string function similar to ink_atoll
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TS-361) Use human readable number multiplies for
configuration values
Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872837#action_12872837 ]
Leif Hedstrom commented on TS-361:
----------------------------------
Is this bug necessary to backport to 2.0.x? If so, please add it to the STATUS file on the 2.0.x branch, so we can vote on it. If not, and it's for documentation only, then move it to another target version (e.g. 2.2.0).
> Use human readable number multiplies for configuration values
> -------------------------------------------------------------
>
> Key: TS-361
> URL: https://issues.apache.org/jira/browse/TS-361
> Project: Traffic Server
> Issue Type: Improvement
> Components: Config
> Reporter: Mladen Turk
> Assignee: Miles Libbey
> Priority: Minor
> Fix For: 2.0.1
>
>
> Use friendly multipliers for the configuration numbers
> using the following notation:
> [-]digit*[gGkKmM]
> k or K multiplies the provided number with 1024
> m or M multiplies the provided number with 1024 * 1024
> g or G multiplies the provided number with 1024 * 1024 * 1024
> Add this as generic string function similar to ink_atoll
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TS-361) Use human readable number multiplies for
configuration values
Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom updated TS-361:
-----------------------------
Fix Version/s: 2.2.0
(was: 2.0.1)
Marking this for 2.2.0 release, to make this new feature is properly documented.
> Use human readable number multiplies for configuration values
> -------------------------------------------------------------
>
> Key: TS-361
> URL: https://issues.apache.org/jira/browse/TS-361
> Project: Traffic Server
> Issue Type: Improvement
> Components: Config
> Reporter: Mladen Turk
> Assignee: Miles Libbey
> Priority: Minor
> Fix For: 2.2.0
>
>
> Use friendly multipliers for the configuration numbers
> using the following notation:
> [-]digit*[gGkKmM]
> k or K multiplies the provided number with 1024
> m or M multiplies the provided number with 1024 * 1024
> g or G multiplies the provided number with 1024 * 1024 * 1024
> Add this as generic string function similar to ink_atoll
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.