[2091] in Moira Commits

home help back first fref pref prev next nref lref last post

[ops/moira] f98f7f: - Host alias lookup needs to check for

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Wed Aug 31 15:24:41 2016

Date: Wed, 31 Aug 2016 15:24:38 -0400
From: Garry Zacheiss <zacheiss@mit.edu>
Reply-To: Garry Zacheiss <zacheiss@mit.edu>
To: moira-commits@mit.edu
Message-ID: <57c72ef651cbf_6dd63fa732ee92b0956a9@github-mit-edu.mail>
Mime-Version: 1.0
Content-Type: multipart/mixed;
 boundary="--==_mimepart_57c72ef64fcd4_6dd63fa732ee92b095544";
 charset=UTF-8
Content-Transfer-Encoding: 7bit


----==_mimepart_57c72ef64fcd4_6dd63fa732ee92b095544
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

  Branch: refs/heads/master
  Home:   https://github.mit.edu/ops/moira
  Commit: f98f7f42d39b49828a8859d9ad4038d808696d2b
      https://github.mit.edu/ops/moira/commit/f98f7f42d39b49828a8859d9ad4038d808696d2b
  Author: Garry Zacheiss <zacheiss@mit.edu>
  Date:   2016-08-31 (Wed, 31 Aug 2016)

  Changed paths:
    M moira/incremental/dns/dns.c

  Log Message:
  -----------
  - Host alias lookup needs to check for MR_NO_MATCH so we don't generate
  spurious errors for hosts that don't have aliases.
- Don't try and delete records for status 3 hosts, since they would've
  been removed when we set them to status 3. For aliases, this involved
  adding some code to do_hostalias() to look up the host's status since
  we don't get it for free in the incremental argv.
- Renaming a host left the old name around since do_update() just adds a
  new record; added calls to do_update() in host_update() to clear out
  the old one.
- Explicitly call mr_version() to get the most recent versions of the
  queries; relevant for get_host.



----==_mimepart_57c72ef64fcd4_6dd63fa732ee92b095544--

home help back first fref pref prev next nref lref last post