Commit Graph

553 Commits

Author SHA1 Message Date
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
Pierangelo Masarati
b68703031b initialize rc in syncrepl_add_glue_ancestors (ITS#6719) 2010-11-22 12:09:45 +00:00
Rein Tollevik
e1dfe6e911 ITS#6707: Free the presentlist (if any) before connecting. 2010-11-15 14:15:46 +00:00
Howard Chu
e43f0a2cf0 Fix rewriterule, free rewrite info in syncinfo_free 2010-06-21 18:01:29 +00:00
Howard Chu
995c4c5bb3 Fix prev commit, return NULL if rewrite returns original DN 2010-06-21 17:26:50 +00:00
Howard Chu
6ee6739b48 Add suffixmassage processing 2010-06-19 03:15:41 +00:00
Howard Chu
bc82f314c3 Add config support for suffixmassage. Note - no actual massage code
present in this commit.
2010-06-19 01:29:39 +00:00
Howard Chu
6273df07da ITS#6533 put rid first, in front of url 2010-04-26 12:07:08 +00:00
Pierangelo Masarati
68257f6c5c log rid when syncrepl stanza successfully added (ITS#6533) 2010-04-25 17:49:37 +00:00
Pierangelo Masarati
993d377b68 remove redundant logs (underlying backends already log enough) 2010-04-18 18:42:44 +00:00
Pierangelo Masarati
c939422ae5 alreadyExists is a legitimate result code (further improve ITS#6472 commit; also fix ITS#6528) 2010-04-18 17:11:29 +00:00