mirror of
https://github.com/abh/geodns.git
synced 2026-04-27 03:45:53 +03:00
[PR #80] [CLOSED] Skip unchanged zonefiles #123
Labels
No labels
bug
bug
enhancement
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/geodns#123
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/abh/geodns/pull/80
Author: @abligh
Created: 9/2/2015
Status: ❌ Closed
Base:
master← Head:skip-unchanged-zonefiles📝 Commits (10+)
75f2193Fix race referencing config9ea0491Move last modified time out of zonec99b922Fix crash on removal of zonefile with invalid JSON (Issue #69)63f15b8Fix issue #74 - crash on reenabling previously invalid zoneed3f369Ignore files beginning with dots and directoriesf5dcd56Add 'closest' flagead82faAdd healthtest functionality to automatically exclude down hostsaeb6881Only perform one health test per IP / parameter tuple52720f9Add ability to log to file7df349aAdd a health RR📊 Changes
14 files changed (+837 additions, -50 deletions)
View changed files
📝
config.go(+23 -1)📝
geodns.go(+8 -3)📝
geoip.go(+29 -3)➕
heathtest.go(+426 -0)📝
log.go(+74 -1)📝
picker.go(+75 -8)📝
serve.go(+51 -3)📝
stathat.go(+7 -7)📝
targeting.go(+5 -6)📝
targeting_test.go(+5 -5)📝
zone.go(+47 -6)📝
zone_test.go(+4 -1)📝
zones.go(+82 -6)📝
zones_test.go(+1 -0)📄 Description
Do not reload zonefiles which are entirely unchanged as determined by SHA256 hash. In an environment where (e.g.) zones are PUT using a REST API the same zone may be delivered in a situation where it is entirely unchanged. In this circumstance is it useful to avoid reloading it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.