[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: openldap.git branch master updated. 2d5996ac603391ddbd618425f88eb13e5e0e2cc0



openldap-commit2devel@OpenLDAP.org wrote:
A ref change was pushed to the OpenLDAP (openldap.git) repository.
It will be available in the public mirror shortly.

The branch, master has been updated
        via  2d5996ac603391ddbd618425f88eb13e5e0e2cc0 (commit)
        via  5324d283d9ff1ba0f608d1130be683eb698f831e (commit)
       from  9f97c1d2efdabc8817538464cd7d08d55f7e51fd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2d5996ac603391ddbd618425f88eb13e5e0e2cc0
Author: Howard Chu <hyc@openldap.org>
Date:   Wed Oct 28 14:22:58 2015 +0000

     ITS#8054 Cleanup duration patch

     Don't need op->o_hr_time, just use o_tincr, that's what it
     was intended for anyway. Use "etime=" like other products do.
     Simplify ifdefs. Use gettimeofday, it's always available now.

commit 5324d283d9ff1ba0f608d1130be683eb698f831e
Author: Emily Backes <ebackes@symas.com>
Date:   Thu Feb 5 18:52:19 2015 -0800

     ITS#8054 operation duration logging

-----------------------------------------------------------------------

Summary of changes:
  include/ldap_log.h        |    6 ++++++
  servers/slapd/operation.c |   32 +++++++++++++++++++++++---------
  servers/slapd/result.c    |   42 ++++++++++++++++++++++++++++++++----------
  servers/slapd/slap.h      |   20 ++++++++++++++++++++
  4 files changed, 81 insertions(+), 19 deletions(-)

A note about this revised patch - accesslog uses op->o_time/op->o_tincr to generate its RDNs. We actually have a problem here in that microsecond resolution may no longer be adequate. Back in January I was on site with a customer whose 64-core server was hitting ~1 million queries/sec. Granted, that was with syslog and accesslog disabled; with logging enabled we're far more limited.

Very soon we're going to need higher resolution when logging is enabled.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/