[
https://issues.apache.org/jira/browse/TS-4458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15291948#comment-15291948
]
ASF GitHub Bot commented on TS-4458:
------------------------------------
GitHub user jpeach opened a pull request:
https://github.com/apache/trafficserver/pull/651
TS-4458: disabling configuration modification breaks reloading
If you set ``proxy.config.disable_configuration_modification`` to 1,
records configuration callbacks are never registered, so if you update
records.config and then reload with ``traffic_ctl config reload``, the new
configuration is not actually applied.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jpeach/trafficserver fix/4458
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/651.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #651
----
commit 244fb89e25df8db550d119f52e04a4d4c960e34f
Author: James Peach <[email protected]>
Date: 2016-05-18T22:47:21Z
TS-4458: Return RecErrT from Rec APIs.
commit 733e0be79507dc8631026378d8975b50dac607fd
Author: James Peach <[email protected]>
Date: 2016-05-19T18:07:12Z
TS-4458: Fix disabled modification behaviour.
If you set proxy.config.disable_configuration_modification to 1 to
prevent writing to records.config, various other features broke.
For example, configuration change callbacks were never run, so
reloading configuration did nothing.
This change retains the callbacks and just disables the persistence
of changes to records.config. Note that if you change a record with
the API, you still have to touch records.config to reload the old
values.
----
> disabling configuration modification breaks reloading
> -----------------------------------------------------
>
> Key: TS-4458
> URL: https://issues.apache.org/jira/browse/TS-4458
> Project: Traffic Server
> Issue Type: Bug
> Components: Configuration
> Reporter: James Peach
> Assignee: James Peach
> Fix For: 7.0.0
>
>
> If you set {{proxy.config.disable_configuration_modification}} to 1, records
> configuration callbacks are never registered, so if you update
> {{records.config}} and then reload with {{traffic_ctl config reload}}, the
> new configuration is not actually applied.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)