You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/04/23 19:03:23 UTC

[jira] [Commented] (TS-645) Hard restart in the mgmt APIs is totally busted

    [ https://issues.apache.org/jira/browse/TS-645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13978457#comment-13978457 ] 

ASF subversion and git services commented on TS-645:
----------------------------------------------------

Commit 51b979e9afa89a64d1adea63508ab4f654f804f5 in trafficserver's branch refs/heads/master from [~i.galic]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=51b979e ]

TS-645: remove calls in which hard restart is used

It's hard to tell what this is useful for when you have upstart,
systemd, SMF and others controling.  Aside from being implemented
poorly via system(3), it's an API breakage, which is why we're
putting it into 5.0.x


> Hard restart in the mgmt APIs is totally busted
> -----------------------------------------------
>
>                 Key: TS-645
>                 URL: https://issues.apache.org/jira/browse/TS-645
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Management API
>            Reporter: Leif Hedstrom
>            Assignee: Igor Galić
>              Labels: A, review
>             Fix For: 5.0.0
>
>
> In CoreAPIRemote.cc, in HardRestart(), we assume to find some start / stop scripts that no longer exists:
>   Layout::relative_to(start_path, sizeof(start_path), Layout::get()->bindir, "start_traffic_server");
>   Layout::relative_to(stop_path, sizeof(stop_path), Layout::get()->bindir, "stop_traffic_server");
> I don't know if / when this would be used (probably only in the deprecated Web GUI at this point), but we should fix this.



--
This message was sent by Atlassian JIRA
(v6.2#6252)