Howard Chu
ccc4d23e74
Leave extra space when creating a fake page
...
Minimizes the number of memcpy's if additional dups are stored.
2012-07-22 17:45:50 -07:00
Howard Chu
05ec98d119
Append mode still needs to detect duplicates
2012-07-22 17:45:50 -07:00
Howard Chu
2265d2bac8
Append tweak: must init mdb->mi_nextid
...
Otherwise duplicate entries aren't detected
2012-07-22 15:44:11 -07:00
Emily Backes
c453a236fc
Update name information
2012-07-22 07:08:35 -07:00
Howard Chu
38a3317096
Use new Append support
2012-07-21 06:21:56 -07:00
Howard Chu
2b1b64f021
Merge remote-tracking branch 'origin/mdb.master'
2012-07-21 06:21:36 -07:00
Howard Chu
14fb1f59c7
Append tweaks, page_split fixes
...
Append mode now does no key comparisons, input must be in sorted order.
page_split was not updating cursor parents correctly.
2012-07-21 06:19:09 -07:00
Howard Chu
348d43e82f
ITS#7325 fix entry len
2012-07-19 01:38:39 -07:00
Howard Chu
accd19edbc
Merge remote-tracking branch 'origin/mdb.master'
2012-07-18 14:19:19 -07:00
Howard Chu
7e9a6134fd
Make sure cursor's DB is init'd if STALE.
2012-07-17 04:04:52 -07:00
Howard Chu
a0993354a6
Don't use env-private copy of DB root nodes.
...
Just lookup the DB roots as needed. When many DBs are in use,
most of the copies won't be referenced in a given txn, and
there's a bad race condition in the copy routine.
2012-07-13 15:48:26 -07:00
Howard Chu
0ea56294f1
Fix darwin sem_open() names
...
Must begin with '/'
2012-07-13 14:14:36 -07:00
Howard Chu
1a9775dc5a
Fix ID -> MDB_ID due to 20baad4a20
2012-07-13 14:14:36 -07:00
Howard Chu
248fd1c7b8
Windows thread callback support
2012-07-13 14:14:36 -07:00
Howard Chu
6934696c23
ITS#7323 plug leak in online indexer
2012-07-12 02:36:12 -07:00
Howard Chu
43d47c46a7
ITS#6262 fix gettime() regression
...
Add a mutex in ldap_pvt_gettime(), delete the mutex comment
since it's no longer relevant (and was ignored anyway). This
could only ever affect multi-processor machines.
2012-07-11 16:53:33 -07:00
Howard Chu
113538806f
Merge remote-tracking branch 'origin/mdb.master'
2012-07-09 08:44:12 -07:00
Howard Chu
e562f53e10
Drop me_toggle, unused
2012-07-08 18:43:45 -07:00
Howard Chu
179c44e7da
Revert "libmdb: Do not use the MDB_txbody.mtb_txnid field."
...
This reverts commit 4a0b30499c
.
2012-07-08 18:18:12 -07:00
Howard Chu
c6b5abbfd2
Merge remote-tracking branch 'origin/mdb.master'
2012-07-06 18:03:06 -07:00
Howard Chu
433105f09b
Fix: avoid direct reference to meta pages
...
Relevant info should be copied during txn_begin only.
2012-07-06 17:38:03 -07:00
Howard Chu
df7ddb6bf4
Add MDB_NOMETASYNC env option.
...
Just a trial. This may not make sense if we decide to split the
meta pages into their own separate file, to allow meta traffic to
reside on a separate spindle.
2012-07-05 18:11:18 -07:00
Howard Chu
38560c2517
Tweak b802bcf704
...
Clarify prev commit, fix Doxygen comments broken by earlier changes
2012-07-05 17:43:29 -07:00
Howard Chu
b802bcf704
Partial revert of 13c663f666
...
Don't re-use free pages so soon; that leaves us vulnerable to
DB corruption if data syncs successfully but meta doesn't.
2012-07-05 16:52:13 -07:00
Howard Chu
5ff873d575
ITS#7317 use SLEEP0 instead of 1 second sleep
2012-07-03 16:24:19 -07:00
Howard Chu
a3a2b53c5d
ITS#7318 fix include: example
2012-07-03 16:17:06 -07:00
Ted Cheng
0b937d82f2
ITS#7319 Always encode user DN in pwmod request.
2012-07-03 16:13:36 -07:00
Jan Vcelak
2db5195650
ITS#7316 MozNSS: do not retry when reading the pin from file
...
Avoid infinite loop if the pin in the password file is wrong.
2012-06-26 06:47:48 -07:00
Jan Vcelak
a171237999
ITS#7315 MozNSS: do not authenticate to a slot manually
...
We cannot rely on tc_certificate->slot value, the library will choose
the correct slot itself when needed. Just provide correct pin argument.
2012-06-26 06:46:29 -07:00
Jan Vcelak
3531c344e1
ITS#7314 MozNSS: lock whole init and clenaup process
2012-06-26 06:44:46 -07:00
Jan Vcelak
d07779e97b
ITS#7313 MozNSS: store certificate object instead of nickname in in ctx
...
PEM certificates should not be referenced by nicknames, because the
nicknames are derived from basename of the cerificate file and in
general are not easy-predictable.
The code of Mozilla NSS backend depends on some aspects of PEM module
and tries to guess the nicknames correctly. In some cases the guessing
is wrong.
2012-06-26 06:43:11 -07:00
Jan Vcelak
87132b820d
ITS#7312 MozNSS: context specific token description for certdb
2012-06-26 06:41:05 -07:00
SATOH Fumiyasu
251b4e69ca
ITS#7309 contrib/slapd-modules: Unify the structure and usage of Makefile
2012-06-26 06:36:16 -07:00
SATOH Fumiyasu
0246435da9
ITS#7308 contrib/slapd-modules: Add missing Makefiles
2012-06-26 06:30:26 -07:00
Jan Vcelak
221531b31a
ITS#7241 unbind: free socket prior to destroying TLS context
2012-06-25 12:53:29 -07:00
Howard Chu
73b631b814
ITS#7168 cleanup prev commit
2012-06-25 12:45:32 -07:00
Jan Synacek
bb8112c382
ITS#7168 Fix count constraint when using multiple modifications
...
Constraint overlay doesn't take into account multiple modifications when using
count.
Red Hat Bugzilla: #742163
2012-06-25 12:33:01 -07:00
Howard Chu
39481d50e0
ITS#7305 fix comments in prev commit
2012-06-23 05:49:02 -07:00
Jani Salonen
a572f4b967
ITS#7305 add slapi_[get|free]_client_ip()
2012-06-23 05:46:25 -07:00
Howard Chu
450d224291
ITS#7293 make ldapava_free static
2012-06-23 05:41:39 -07:00
Howard Chu
19aeb1cda9
ITS#7293 fix typo in ldap_create_session_tracking_control() decl
2012-06-23 05:38:57 -07:00
Howard Chu
8aa05e920a
ITS#7302 fix mdb_dn2id_delete
2012-06-22 07:10:56 -07:00
Michael Stroeder
6c66c02f35
ITS#7294 reference RFC4526 instead of draft
2012-06-15 09:03:15 -07:00
Howard Chu
025b3b929e
ITS#7298 fix PermissiveModify control parsing
2012-06-15 04:46:11 -07:00
Howard Chu
ccffd16085
TS#7303 tweak
2012-06-12 16:23:54 -07:00
Howard Chu
7c28420618
ITS#7303 fix unneeded alias lookups
2012-06-12 16:16:07 -07:00
Howard Chu
c73ec15022
ITS#7292 more accesslog,syncprov leaks
2012-06-08 07:33:59 -07:00
Howard Chu
a8d1783550
ITS#7292 more syncprov control leaks
2012-06-08 05:09:45 -07:00
Howard Chu
a766cdf268
Revert "ITS#7292 plug memleak in control values"
...
This reverts commit 9e3af2356b
.
2012-06-08 04:11:29 -07:00
Howard Chu
96876a171a
ITS#7292 more syncprov leaks
2012-06-07 16:02:45 -07:00