[Heimdal-source-changes] [heimdal/heimdal] c6d079: Do not recover log in kadm5_get_principal()

Nico Williams noreply at github.com
Tors Okt 3 22:52:16 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: c6d0793e63120dcac393e188bcdfc7590d8b5e75
      https://github.com/heimdal/heimdal/commit/c6d0793e63120dcac393e188bcdfc7590d8b5e75
  Author: Nicolas Williams <nico at twosigma.com>
  Date:   2019-10-03 (Thu, 03 Oct 2019)

  Changed paths:
    M lib/kadm5/get_s.c
    M tests/kdc/check-iprop.in

  Log Message:
  -----------
  Do not recover log in kadm5_get_principal()


  Commit: 9de1728850bf14aba043b23c895f815a3ab0c64f
      https://github.com/heimdal/heimdal/commit/9de1728850bf14aba043b23c895f815a3ab0c64f
  Author: Nicolas Williams <nico at twosigma.com>
  Date:   2019-10-03 (Thu, 03 Oct 2019)

  Changed paths:
    M lib/kadm5/ipropd_slave.c

  Log Message:
  -----------
  ipropd-slave: don't send I_HAVE in response to AYT

ipropd-master sends AYT messages often as a result of a possibly-
transient error, but if the slave responds to such an AYT with I_HAVE,
then the same code path that failed will be executed on the master, and
if the error wasn't transient then we'll loop hard.  So don't send an
I_HAVE in response to an AYT.


  Commit: 0334472ab5a093bb3f17d39ebb7fad004af81035
      https://github.com/heimdal/heimdal/commit/0334472ab5a093bb3f17d39ebb7fad004af81035
  Author: Nicolas Williams <nico at twosigma.com>
  Date:   2019-10-03 (Thu, 03 Oct 2019)

  Changed paths:
    M lib/kadm5/ipropd_master.c

  Log Message:
  -----------
  ipropd-master: use async I/O

If a slave is slow to consume what the master sends it, the master can
block and all iprop operations with it.

With minimal effort we make the master async oriented.


  Commit: 96fd393d2934af2a6cdcbf6bf32b4377a3d55863
      https://github.com/heimdal/heimdal/commit/96fd393d2934af2a6cdcbf6bf32b4377a3d55863
  Author: Viktor Dukhovni <viktor at twosigma.com>
  Date:   2019-10-03 (Thu, 03 Oct 2019)

  Changed paths:
    M configure.ac
    M include/config.h.w32
    M lib/kadm5/ipropd_master.c
    M lib/kadm5/ipropd_slave.c
    M lib/kadm5/kadm5_locl.h

  Log Message:
  -----------
  Disable Nagle in iprop master and slave


  Commit: d0211ef4754e6bb1295a16b06b246f1de5ca6be6
      https://github.com/heimdal/heimdal/commit/d0211ef4754e6bb1295a16b06b246f1de5ca6be6
  Author: Viktor Dukhovni <viktor at twosigma.com>
  Date:   2019-10-03 (Thu, 03 Oct 2019)

  Changed paths:
    M lib/kadm5/ipropd_master.c
    M lib/kadm5/libkadm5srv-exports.def
    M lib/kadm5/log.c
    M lib/kadm5/version-script.map

  Log Message:
  -----------
  Refactor send_diffs making it progressive

When a slave is many diffs behind, send these in batches of up to
50, then handle other slaves.

This also implements a fast-path that makes incremental diffs faster
when the log has not rolled over.

Related code cleanup.


Compare: https://github.com/heimdal/heimdal/compare/afaaf3d89d86...d0211ef4754e


More information about the Heimdal-source-changes mailing list