Commit graph

142 commits

Author SHA1 Message Date
Howard Chu
4a574324fd ITS#8752 additional debug info, thread ID of rmutex lockers 2017-10-13 17:28:46 +01:00
Ondřej Kuzník
ec5af7b5e7 ITS#6545 Update accesslog format and syncrepl consumer
Make two successive modifications of the same attribute separate. This
lets the consumer interpret the log entry the same way as the server
that produced it.

Still depends on the log entry attributes being read in the same order
as they were written.
2017-04-07 14:39:07 -07:00
Quanah Gibson-Mount
1df85d3427 Happy New Year! 2017-01-03 12:36:47 -08:00
Howard Chu
589331ea75 More for ITS#8460
accesslog can alter the timestamp on contextCSN updates
2016-08-11 17:27:35 +01:00
Howard Chu
b7c1a5d6b8 ITS#8423 check for pause in accesslog_purge 2016-05-15 00:51:14 +01:00
Quanah Gibson-Mount
6c4d6c880b Happy New Year! 2016-01-29 13:32:05 -06:00
Howard Chu
eaee3b39ba ITS#8351 fix accesslog callback init 2016-01-15 10:37:56 +00:00
Howard Chu
71c907fb88 ITS#8281 more for prev commit 2015-10-24 06:34:24 +01:00
Howard Chu
cd8ff37629 ITS#8281 fix delta-mmr with interrupted refresh
Prevent spurious contextCSN generation
and ignore consumers when we have no contextCSN yet.
But make sure to propagate valid contextCSN updates to
accesslog/syncprov for delta consumers.
2015-10-24 06:06:49 +01:00
Quanah Gibson-Mount
1705fa7e55 Happy New Year 2015-02-11 15:36:57 -06:00
Howard Chu
3d52e63366 ITS#7929 don't log internal searches 2014-09-08 15:40:28 +01:00
Howard Chu
4ea2fe90e8 ITS#7934 add missing normalization of attrs 2014-09-08 14:57:57 +01:00
Kurt Zeilenga
5c878c1bf2 Happy new year (belated) 2014-01-25 05:21:25 -08:00
Quanah Gibson-Mount
1a712bf18e Enable features that were hidden behind LDAP_DEVEL 2013-09-19 09:50:52 -07:00
Kurt Zeilenga
0fd1bf30b8 Happy New Year 2013-01-02 10:22:57 -08:00
Howard Chu
c73ec15022 ITS#7292 more accesslog,syncprov leaks 2012-06-08 07:33:59 -07:00
Howard Chu
4dba1f6963 ITS#7292 plug memleaks in accesslog,syncprov 2012-06-07 11:33:20 -07:00
Pierangelo Masarati
e92704309a more on ITS#6656 2012-04-17 21:51:02 +02:00
Pierangelo Masarati
5bbfd85a83 ITS#7088 fix deadlock on write operations that do not need to be logged (please check) 2012-04-12 18:04:39 +02:00
Pierangelo Masarati
a47ef8d2b7 ITS#6656 keep loginfo mutex-protected 2012-04-11 00:16:45 +02:00
Pierangelo Masarati
3d99878d0b ITS#6656 make reqEntryUUID searchable 2012-04-10 23:13:55 +02:00
Pierangelo Masarati
f65ee5ddc1 ITS#6656 add reqEntryUUID to logs of write ops 2012-04-10 22:39:35 +02:00
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Howard Chu
8d74f717ff For test063
add hex timestamp to lutil_debug() output
Fix LASTMOD race condition in accesslog.c
Set refreshInterval even if using refreshAndPersist, since
fallbacks will use refresh params
2011-08-30 19:16:39 -07:00
Howard Chu
7a66c84783 More for ITS#6815, Unbind and Abandon 2011-04-20 12:31:27 -07:00
Howard Chu
28f0f11c6c Fix uninit'd var 2011-02-25 05:32:05 +00:00
Howard Chu
eeb7603de6 Fix prev commit 2011-02-24 13:22:57 +00:00
Howard Chu
2063cc9db7 ITS#6815 add logbase option, to only log requests matching a given suffix 2011-02-23 02:47:19 +00:00
Pierangelo Masarati
75e3a1931d ignore empty attrs in search requests (ITS#6819; see also ITS#6652) 2011-02-01 13:09:11 +00:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Pierangelo Masarati
7c77d9b801 fix control value generation (ITS#6652) 2011-01-02 17:19:14 +00:00
Pierangelo Masarati
0a12ea91df hex digits need to be in pairs (ITS#6652) 2011-01-02 15:58:48 +00:00
Pierangelo Masarati
cddaeff565 fix reqControls validator (partially addresses ITS#6652) 2011-01-02 15:50:00 +00:00
Hallvard Furuseth
13f52646b2 ITS#6758 Avoid SlapReply reuse, simple cases.
Caller provides and reuses a SlapReply it does not read after
initialization.  So reinitialize or move the declaration inwards.
In case of refint, move the rs parameter into refint_repair().
2010-12-31 10:46:22 +00:00
Howard Chu
a8ffb63331 Better fix - avoid allocating callback for non-logged mod ops 2010-08-04 08:50:29 +00:00
Howard Chu
21d299e370 More for ITS#6608 - don't replicate ppolicy state changes on replicas 2010-08-04 08:14:59 +00:00
Howard Chu
68ce33cd77 ITS#6519 don't replicate purge deletes 2010-04-13 23:28:35 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Howard Chu
3b2380254a ITS#6400 clarify... 2009-11-24 03:41:24 +00:00
Hallvard Furuseth
4b6f2de8ab Silence warning (bv_len >= 0 is always true) 2009-08-19 18:59:33 +00:00
Pierangelo Masarati
f3cdcadf89 wrap gmtime for reentrancy (ITS#6262) 2009-08-18 23:48:15 +00:00
Howard Chu
8597332057 ITS#5979 don't create reqOld attr if there was no previous value 2009-02-28 04:43:40 +00:00
Rein Tollevik
e8ef7e631d ITS#5907 use overlay BackendInfo to read old entry. 2009-01-27 19:18:13 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Hallvard Furuseth
e3bc5b64c6 Warning cleanup: Remove no-op bv_len < 0 and bv_len >= 0 tests 2008-10-17 17:40:48 +00:00
Hallvard Furuseth
b6f83f1a25 Warning cleanup: signed meets unsigned. ber_flatten2() returns -1 on
error, not LBER_DEFAULT.
2008-10-13 09:17:36 +00:00
Howard Chu
92d39f7376 Fix prev commit 2008-09-10 03:35:26 +00:00
Howard Chu
2547212e43 ITS#5694 update context's entryCSN during log purges 2008-09-10 02:29:26 +00:00
Howard Chu
b0ffd08504 ITS#5490 callback stack may be NULL 2008-04-30 23:50:08 +00:00
Howard Chu
f2de258e3d ITS#5442 slapd_rq mutexes must always be used 2008-04-02 03:08:06 +00:00