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
Howard Chu
ab69775dd0
ITS#7029 fix uninit'd nvalue
2011-08-24 16:09:37 -07:00
Howard Chu
a31a8ed20e
ITS#6999 fix syncrepl timeout in refreshAndPersist
2011-07-29 13:05:45 -07:00
Howard Chu
ff7acea2d2
ITS#7000 fix bad patch in ITS#6472
2011-07-28 13:52:47 -07:00
Howard Chu
b0fcec8d65
ITS#6716 Use sorted CSNs in syncrepl too
2011-06-22 00:32:00 -07:00
Howard Chu
05ca8c3710
More fixes, add test script
2011-06-20 11:05:08 -07:00
Howard Chu
48cdd54d9a
Fix missing si_syncCookie numcsns
2011-06-20 06:51:33 -07:00
Howard Chu
480f0c16ff
More tweaks for delta-mmr
2011-06-20 04:27:11 -07:00
Howard Chu
67bbad6e70
delta-mmr conflict resolution
2011-06-19 20:14:03 -07:00
Howard Chu
237a686107
More for conflict detection
2011-06-19 20:13:59 -07:00
Howard Chu
95d7adcd6d
Setup delta-mmr using an overlay
2011-06-19 20:13:51 -07:00
Howard Chu
9e00b6cc6c
Add strictrefresh syncrepl option
...
Only affects delta-syncrepl - stop listening to clients while
refresh is running.
2011-04-15 11:13:38 -07:00
Howard Chu
d6eb465bca
Log when delta-sync has to fallback
2011-04-15 10:41:31 -07:00
Howard Chu
b062dd67de
Log entry DN on syncrepl errors
2011-04-14 22:07:12 -07:00
Howard Chu
20e7176183
More for ITS#6807, make sure to check_syncprov() after initial startup
2011-01-28 22:01:18 +00:00
Howard Chu
2d37632286
ITS#6807 always use complete cookie on refresh requests
2011-01-27 20:50:08 +00:00
Kurt Zeilenga
966cef8c9a
Happy New Year
2011-01-05 00:42:37 +00:00
Hallvard Furuseth
eae5e37ebd
Set sr_type=REP_SEARCH before be_operational
2011-01-04 15:12:45 +00:00
Hallvard Furuseth
15aa7c472a
noop commit: cleanup 0 -> REP_RESULT in SlapReply
2010-12-31 14:08:34 +00:00
Hallvard Furuseth
6d7c1880a8
ITS#6758 Avoid SlapReply reuse.
...
Caller provides a SlapReply and reads the result after the operation,
then reuses it. Reinitialize before reuse, or move declaration inwards.
2010-12-31 13:08:11 +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
Hallvard Furuseth
cd6e9156e7
Remove lint (unused vars/labels/funcs/default:s)
2010-12-30 23:34:55 +00:00
Hallvard Furuseth
78a0be6a42
Plug memory leaks
2010-12-20 10:51:14 +00:00
Hallvard Furuseth
87a9ee9e83
For ITS#6739: Fix last commit (private debuging)
2010-12-06 09:27:30 +00:00
Hallvard Furuseth
5fc18b9d66
For ITS#6739: Move variables into do_syncrep2 loop
2010-12-06 09:23:44 +00:00