Page MenuHomePhabricator

/usr/bin/sql should query DNS as well to determine whether a database has been replicated
Closed, ResolvedPublic

Description

Database host aliases (e. g. enwiki.labsdb) will move to DNS (cf. T63897). Currently, /usr/bin/sql greps /etc/hosts to determine whether a database has been replicated. This needs to be replaced with a call to getent hosts with queries DNS as well.

Event Timeline

scfc claimed this task.
scfc raised the priority of this task from to Medium.
scfc updated the task description. (Show Details)
scfc added a project: Toolforge.
scfc added subscribers: yuvipanda, Aklapper, mark and 8 others.

Change 194829 had a related patch set uploaded (by Tim Landscheidt):
Tools: Let sql query DNS as well for aliases

https://gerrit.wikimedia.org/r/194829

Change 194829 merged by Yuvipanda:
Tools: Let sql query DNS as well for aliases

https://gerrit.wikimedia.org/r/194829