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 GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/04 17:11:20 UTC

[jira] [Work logged] (TS-4929) Should we avoid loading HostDB disk file is sync_frequency is '0' (disabled)

     [ https://issues.apache.org/jira/browse/TS-4929?focusedWorklogId=30113&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30113 ]

ASF GitHub Bot logged work on TS-4929:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Oct/16 17:10
            Start Date: 04/Oct/16 17:10
    Worklog Time Spent: 10m 
      Work Description: GitHub user zwoop opened a pull request:

    https://github.com/apache/trafficserver/pull/1076

    TS-4929: No loading of HostDB disk file if sync_frequency=0

    This has two benefit (2) is most important I think:
    
    1) We avoid warnings on startup about not being able to load the HostDB.
    
    2) Since in 7.0.0, turning off syncing (sync_frequency=0) completely disables writing to HostDB, it's now possible to end up loading a potentially stale HostDB from a previous upgrade.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zwoop/trafficserver TS-4929

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/1076.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 #1076
    
----
commit b89513b698ea72a09cb700a83ee4102413a708e8
Author: Leif Hedstrom <zw...@apache.org>
Date:   2016-10-04T16:54:31Z

    TS-4929: No loading of HostDB disk file if sync_frequency=0

----


Issue Time Tracking
-------------------

            Worklog Id:     (was: 30113)
            Time Spent: 10m
    Remaining Estimate: 0h

> Should we avoid loading HostDB disk file is sync_frequency is '0' (disabled)
> ----------------------------------------------------------------------------
>
>                 Key: TS-4929
>                 URL: https://issues.apache.org/jira/browse/TS-4929
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: HostDB
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 7.1.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> This addresses two issues:
> 1) We get warnings trying to load a non-existent HostDB (since we don't sync it).
> 2) Worse, if someone has an old HostDB, that is no longer synced / updated, we load the old, possibly stale, data on every startup.
> #2 seems inconsistent with the other changes to HostDB, where now the sync frequency =0 truly turns off disk syncing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)