Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Fix issue that a DB file maybe deleted if its polling.url points to a…#16

Closed
weifensh wants to merge 1 commit intoapache:1.7.xfrom
weifensh:upstream_1.7.x
Closed

Fix issue that a DB file maybe deleted if its polling.url points to a…#16
weifensh wants to merge 1 commit intoapache:1.7.xfrom
weifensh:upstream_1.7.x

Conversation

@weifensh
Copy link
Copy Markdown
Contributor

Fix an issue that a DB file maybe deleted if its polling.url points to a file with old timestamps (double commit this to 1.7.x).

… file with old timestamp, double commit to 1.7.x
@dneuman64
Copy link
Copy Markdown
Contributor

Do we really think this warrants a commit to 1.7.x and a subsequent 1.7.1 release? I am thinking no; I am thinking we can just commit to master and get this included in the next release.

@trevorackerman
Copy link
Copy Markdown
Contributor

+1 on Dave's comment.

@weifensh
Copy link
Copy Markdown
Contributor Author

weifensh commented Oct 26, 2016

Thanks Dave and Trevor.

From my tests, a DB file may be deleted if its polling.url points to a file with old timestamps; Or when TR reboots, DB file might also be deleted (because the url is now an old file comparing to the local one); But this does not appear to affect TR service, as the DB in memory is still there, so it is just the file under /opt/traffic_router/db/ being deleted.

So it appears that the affect of the issue is not big, but the files under /opt/traffic_router/db/ do look abnormal. It would be better if 1.7.x could include the fix. But if it needs a lot of efforts, not including it will not affect TR functionalities.

@dneuman64
Copy link
Copy Markdown
Contributor

I think it is best to just include this in 1.8 and not worry about 1.7

@dneuman64
Copy link
Copy Markdown
Contributor

@weifensh we decided that it is best to not worry about merging this into 1.7.x. Can you please close this PR?
Thanks,
Dave

@weifensh weifensh closed this Nov 8, 2016
mitchell852 pushed a commit to mitchell852/trafficcontrol that referenced this pull request Jul 7, 2020
rimashah25 pushed a commit to rimashah25/trafficcontrol that referenced this pull request Dec 4, 2023
* removed codecov

* fix conflicts
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants