Commit Graph

587 Commits

Author SHA1 Message Date
Howard Chu
3efde72cbe ITS#8413 fix prev commit
Filter needs AttributeAssertions
2016-04-28 10:54:47 +01:00
Howard Chu
b61d02d942 ITS#8413 don't use str2filter on precomputable filters
and more importantly, avoid escaping requirements that str2filter has
2016-04-28 03:04:16 +01:00
Quanah Gibson-Mount
6c4d6c880b Happy New Year! 2016-01-29 13:32:05 -06:00
Howard Chu
ad93b9e652 ITS#8277 simpler check for syncrepl on config DB
Windows mutexes are recursive so the trylock test will succeed
even though the mutex is already locked. Just compare be pointers.
2015-10-20 21:30:00 +01:00
Howard Chu
bea2c5d438 More for batched writes
Only usable if backend supports txns
2015-08-30 05:46:01 +01:00
Howard Chu
535cf92ff4 More for batched writes 2015-08-30 05:34:42 +01:00
Howard Chu
5a3a54333c More for batched write 2015-08-30 05:14:17 +01:00
Howard Chu
2eaf8eb213 ITS#8231 fix ITS#8042 regression 2015-08-29 18:29:32 +01:00
Howard Chu
afa9a9c3e0 Use batched write txns in refresh
Experimental - write 500 updates per txn instead of 1:1
2015-08-14 17:43:03 +01:00
Quanah Gibson-Mount
2c34d2fda6 ITS#8120 Move final CHECK_CSN block to before the mutex is unlocked. 2015-04-29 22:30:17 -05:00
Howard Chu
525aa23800 ITS#8040 document lazycommit 2015-04-08 23:18:03 +01:00
Quanah Gibson-Mount
1705fa7e55 Happy New Year 2015-02-11 15:36:57 -06:00
Howard Chu
a32a2da33a ITS#8040 experimental Lazy Commit 2015-02-02 10:50:22 +00:00
Howard Chu
c4b43c0077 More for presentlist_free 2015-01-31 01:12:54 +00:00
Howard Chu
4929ad5e81 More for presentlist (ITS#8042) 2015-01-31 01:03:23 +00:00
Howard Chu
3f5e705996 Fix prev commit 2015-01-30 08:06:11 +00:00
Howard Chu
1fa702e968 Streamline presentlist
This reduces presentlist memory usage by about 50%. It's still
about 2.5x greater than it should be.
2015-01-30 00:54:21 +00:00
Howard Chu
84fde1bb02 ITS#8038 free presentlist at end of refresh 2015-01-29 05:15:33 +00:00
Howard Chu
b53d813413 ITS#8035 plug memleaks in syncrepl 2015-01-27 20:29:34 +00:00
Howard Chu
047f275987 Fix 0e66a3d1bf
clear rc, otherwise syncrepl stops
2015-01-14 20:27:49 +00:00
Howard Chu
fccca0ead9 Minor cleanup (coverity) 2015-01-14 16:59:54 +00:00
Howard Chu
0e66a3d1bf check ber_scanf(syncUUIDs) result (coverity) 2015-01-14 10:13:16 +00:00
Leo Yuriev
8ba5a27829 ITS#7968 add locks for syncrepl cookiestate
Mutex must be held even for a read-access of a cookie state,
as there may be a race with write in other thread.
2014-12-05 19:44:19 +00:00
Howard Chu
b0225e8e60 ITS#7976 fix delta-mmr/accesslog interaction 2014-10-30 15:00:13 +00:00
Howard Chu
8fc7e06d22 Revert "ITS#7616 defer searches while consumer refreshing"
This reverts commit cf4aa8f9d9.

There appears to be no safe way for this to work with MMR.
2014-06-12 13:23:29 -07:00
Howard Chu
932a11ac76 ITS#7849 make sure to send cookie after fallback 2014-05-23 06:56:56 -07:00
Howard Chu
cf4aa8f9d9 ITS#7616 defer searches while consumer refreshing 2014-05-23 06:56:16 -07:00
Kurt Zeilenga
5c878c1bf2 Happy new year (belated) 2014-01-25 05:21:25 -08:00
Howard Chu
0645878d5d ITS#7735 plug memleak
Introduced in commit 48cdd54d9a
2013-11-01 11:07:51 -07:00
Howard Chu
37c8b35ebd Cleanup, fix syncrepl config errmsg 2013-05-17 07:51:23 -07:00
Howard Chu
051dba822c Avoid unnecessary syncCookie malloc/free 2013-03-14 06:55:44 -07:00
Howard Chu
575ad77adb ITS#7531 check updateCookie status for INTERMEDIATEs
Was already being checked for other message types.
2013-03-14 06:39:46 -07:00
Kurt Zeilenga
0fd1bf30b8 Happy New Year 2013-01-02 10:22:57 -08:00
Howard Chu
951418f0bf ITS#7427 fix for spurious old entries 2012-11-01 08:36:28 -07:00
Howard Chu
3f71f75601 ITS#7354 fix delta-sync mmr crash 2012-08-16 18:08:56 -07:00
Howard Chu
62cdc32f4e ITS#7245 fix slap_parse_sync_cookie invocation 2012-04-16 07:36:43 -07:00
Howard Chu
6ab4d830cb ITS#7195 add NotAllowedOnNonleaf to deltasync fallback errors 2012-03-02 14:12:41 -08:00
Howard Chu
eace24ef33 ITS#7162 Revert "ITS#7052 ignore Adds with too old entryCSN"
This reverts commit ba4366eae0.
The patch caused a regression (ITS#7162).
2012-02-12 21:07:25 -08:00
Howard Chu
8e7af6331e Add some debug info to aid Delete tracking 2012-02-09 14:16:17 -08:00
Howard Chu
ba4366eae0 ITS#7052 ignore Adds with too old entryCSN 2012-02-03 11:16:10 -08:00
Howard Chu
d2958a2a4e ITS#7144 fix crash replicating modDN if oldRDN not present 2012-02-02 02:53:40 -08:00
Howard Chu
3be354d0d2 ITS#7052 syncrepl deletes should ignore some errors
Treat LDAP_NO_SUCH_OBJECT as success, otherwise the consumer will
abort and start a new refresh for no good reason.
2012-01-27 11:21:04 -08:00
Hallvard Furuseth
42faa8393e ITS#7132 Fix syncrepl access to freed naming attr 2012-01-24 11:38:10 +01:00
Howard Chu
214ad8c987 ITS#7127 fix syncrepl_config reference to freed memory 2012-01-19 15:55:54 -08:00
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Howard Chu
3ca52e4f94 ITS#7037 restart consumer on Persist errors
Consumer should never get NO_SUCH_OBJECT for an Add to the underlying DB
during Persist phase.
2011-09-30 02:27:04 -07:00
Howard Chu
638566f155 ITS#7037 fix syncrepl_add_glue for empty suffix 2011-09-30 02:10:37 -07:00
Howard Chu
b72d9b8368 ITS#7052 syncrepl deletes need a non-empty CSN
Must not let the underlying DB generate its own.
2011-09-30 00:09:01 -07:00
Hallvard Furuseth
ef7f5f5e32 Cleanup ISO C compatibility for recent commits 2011-09-19 10:31:12 +02:00
Howard Chu
c617f3c3b9 ITS#7029,#7031 More for prev commit 2011-08-26 16:56:43 -07:00