[Heimdal-source-changes] [heimdal/heimdal] d6eebc: Set def page size for HDB SQLite3 backend to 8KB

Nico Williams noreply at github.com
Ons May 22 19:17:18 CEST 2019


  Branch: refs/heads/jaltman/heimdal-7.x-pullups
  Home:   https://github.com/heimdal/heimdal
  Commit: d6eebcac2230f7bd2674b3c4891e1ff8b8795438
      https://github.com/heimdal/heimdal/commit/d6eebcac2230f7bd2674b3c4891e1ff8b8795438
  Author: Nicolas Williams <nico at twosigma.com>
  Date:   2019-05-22 (Wed, 22 May 2019)

  Changed paths:
    M lib/hdb/hdb-sqlite.c

  Log Message:
  -----------
  Set def page size for HDB SQLite3 backend to 8KB

(cherry picked from commit e3cc7dfb94826aa709a617fb8e59ab07db584f92)


  Commit: c555d4577f15b3a226afc5d0f9b8b28db651a108
      https://github.com/heimdal/heimdal/commit/c555d4577f15b3a226afc5d0f9b8b28db651a108
  Author: Nicolas Williams <nico at twosigma.com>
  Date:   2019-05-22 (Wed, 22 May 2019)

  Changed paths:
    M lib/hdb/db.c
    M lib/hdb/db3.c
    M lib/hdb/hdb-ldap.c
    M lib/hdb/hdb-mdb.c
    M lib/hdb/hdb-mitdb.c
    M lib/hdb/hdb-sqlite.c
    M lib/hdb/hdb.h

  Log Message:
  -----------
  Add hdb_set_sync() method

(cherry picked from commit 5bcbe2125b18160f6ad348b15f8036ffedc15770)


  Commit: d7f8575ec40e62a687fd53572c8c7eacd8292ba4
      https://github.com/heimdal/heimdal/commit/d7f8575ec40e62a687fd53572c8c7eacd8292ba4
  Author: Nicolas Williams <nico at twosigma.com>
  Date:   2019-05-22 (Wed, 22 May 2019)

  Changed paths:
    M lib/kadm5/ipropd_slave.c

  Log Message:
  -----------
  Disable sync during iprop receive_everything()

Doing an fsync per-record when receiving the complete HDB is a performance
disaster.  Among other things, if the HDB is very large, then one slave
receving a full HDB can cause other slaves to timeout and, if HDB write
activity is high enough to cause iprop log truncation, then also need full
syncs, which leads to a cycle of full syncs for all slaves until HDB write
activity drops.

Allowing the iprop log to be larger helps, but improving receive_everything()
performance helps even more.

(cherry picked from commit 305dc816525f461f9bfe640d87f671f53f0e0fc6)


  Commit: 0286ef3626b7e7832bbf62d60143569118fad5a7
      https://github.com/heimdal/heimdal/commit/0286ef3626b7e7832bbf62d60143569118fad5a7
  Author: Nicolas Williams <nico at twosigma.com>
  Date:   2019-05-22 (Wed, 22 May 2019)

  Changed paths:
    M kadmin/load.c

  Log Message:
  -----------
  Disable sync during kadmin load

(cherry picked from commit 7d5f8bb051ca84592d1196bf5d5522da5a50f9d6)

Change-Id: I1fb60d697a4f80be1336dd0980f0758eb6436bbb


Compare: https://github.com/heimdal/heimdal/compare/720bcd2b57e3...0286ef3626b7


More information about the Heimdal-source-changes mailing list