[
https://issues.apache.org/jira/browse/TS-2168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13758945#comment-13758945
]
ASF subversion and git services commented on TS-2168:
-----------------------------------------------------
Commit 6de8354f20944032fc1ace6559e4bf7bdd1c0186 in branch refs/heads/master
from [~yunkai]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=6de8354 ]
TS-2168: Use #if condition to control reclaimable freelist options
1) Define reclaimabe freelist options only when compiles ATS
with --enable-reclaimabe-freelist,
2) "proxy.config.allocator.enable_reclaim" will be set to 1 by default
for two reasons:
a) It should keep consistent with the description in
records.config.default.in: "Default 1, reclaim enabled",
b) More important, most users want to get reclaim feature when
they compiles ATS with --enable-reclaimable-freelist.
3) Make the *NOTE description* in records.config.default.in more notable.
Signed-off-by: Yunkai Zhang <[email protected]>
> Confusion about proxy.config.allocator.enable_reclaim setting
> -------------------------------------------------------------
>
> Key: TS-2168
> URL: https://issues.apache.org/jira/browse/TS-2168
> Project: Traffic Server
> Issue Type: Bug
> Components: Configuration
> Reporter: David Carlin
> Assignee: Leif Hedstrom
> Fix For: 4.1.0
>
> Attachments:
> 0001-TS-2168-Use-if-condition-to-control-reclaimable-free.patch
>
>
> The default records.config in 4.0.1 says the following which is contradictory:
> {noformat}
> # The value of enable_reclaim should be 0 or 1. Default 1, reclaim enabled.
> CONFIG proxy.config.allocator.enable_reclaim INT 0
> {noformat}
> mgmt/RecordsConfig.cc shows the following:
> {RECT_CONFIG, "proxy.config.allocator.enable_reclaim", RECD_INT, "1",
> RECU_NULL, RR_NULL, RECC_NULL, "[0-1]", RECA_NULL}
> So the default is 1, but records.config changes it to 0.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira