Debian Codegraph @

docs/upgrading/changelog_4_6.html

raw
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <title>Berkeley DB 4.6.21 Change Log</title>
7 <link rel="stylesheet" href="gettingStarted.css" type="text/css" />
8 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9 <link rel="start" href="index.html" title="Berkeley DB Upgrade Guide" />
10 <link rel="up" href="upgrade_4_6_toc.html" title="Chapter 4. Upgrading Berkeley DB 4.5 applications to Berkeley DB 4.6" />
11 <link rel="prev" href="upgrade_4_6_disk.html" title="Upgrade Requirements" />
12 <link rel="next" href="upgrade_4_5_toc.html" title="Chapter 5. Upgrading Berkeley DB 4.4 applications to Berkeley DB 4.5" />
13 </head>
14 <body>
15 <div xmlns="" class="navheader">
16 <div class="libver">
17 <p>Library Version 11.2.5.3</p>
18 </div>
19 <table width="100%" summary="Navigation header">
20 <tr>
21 <th colspan="3" align="center">Berkeley DB 4.6.21 Change Log</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="upgrade_4_6_disk.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 4. Upgrading Berkeley DB 4.5 applications to Berkeley DB 4.6</th>
26 <td width="20%" align="right"> <a accesskey="n" href="upgrade_4_5_toc.html">Next</a></td>
27 </tr>
28 </table>
29 <hr />
30 </div>
31 <div class="sect1" lang="en" xml:lang="en">
32 <div class="titlepage">
33 <div>
34 <div>
35 <h2 class="title" style="clear: both"><a id="changelog_4_6"></a>Berkeley DB 4.6.21 Change Log</h2>
36 </div>
37 </div>
38 </div>
39 <div class="toc">
40 <dl>
41 <dt>
42 <span class="sect2">
43 <a href="changelog_4_6.html#idp50449856">4.6.21 Patches:</a>
44 </span>
45 </dt>
46 <dt>
47 <span class="sect2">
48 <a href="changelog_4_6.html#idp50370888">4.6.19 Patches</a>
49 </span>
50 </dt>
51 <dt>
52 <span class="sect2">
53 <a href="changelog_4_6.html#idp50361912">Database or Log File On-Disk Format Changes:</a>
54 </span>
55 </dt>
56 <dt>
57 <span class="sect2">
58 <a href="changelog_4_6.html#idp50454856">New Features:</a>
59 </span>
60 </dt>
61 <dt>
62 <span class="sect2">
63 <a href="changelog_4_6.html#idp50457960">Database Environment Changes:</a>
64 </span>
65 </dt>
66 <dt>
67 <span class="sect2">
68 <a href="changelog_4_6.html#idp50459800">Concurrent Data Store Changes:</a>
69 </span>
70 </dt>
71 <dt>
72 <span class="sect2">
73 <a href="changelog_4_6.html#idp50458344">General Access Method Changes:</a>
74 </span>
75 </dt>
76 <dt>
77 <span class="sect2">
78 <a href="changelog_4_6.html#idp50475672">Btree Access Method Changes:</a>
79 </span>
80 </dt>
81 <dt>
82 <span class="sect2">
83 <a href="changelog_4_6.html#idp50460536">Hash Access Method Changes:</a>
84 </span>
85 </dt>
86 <dt>
87 <span class="sect2">
88 <a href="changelog_4_6.html#idp50444272">Queue Access Method Changes:</a>
89 </span>
90 </dt>
91 <dt>
92 <span class="sect2">
93 <a href="changelog_4_6.html#idp50463616">Recno Access Method Changes:</a>
94 </span>
95 </dt>
96 <dt>
97 <span class="sect2">
98 <a href="changelog_4_6.html#idp50463872">C++-specific API Changes:</a>
99 </span>
100 </dt>
101 <dt>
102 <span class="sect2">
103 <a href="changelog_4_6.html#idp50481800">Java-specific API Changes:</a>
104 </span>
105 </dt>
106 <dt>
107 <span class="sect2">
108 <a href="changelog_4_6.html#idp50464456">Java collections and bind API Changes:</a>
109 </span>
110 </dt>
111 <dt>
112 <span class="sect2">
113 <a href="changelog_4_6.html#idp50464944">Tcl-specific API Changes:</a>
114 </span>
115 </dt>
116 <dt>
117 <span class="sect2">
118 <a href="changelog_4_6.html#idp50465232">RPC-specific Client/Server Changes:</a>
119 </span>
120 </dt>
121 <dt>
122 <span class="sect2">
123 <a href="changelog_4_6.html#idp50486584">Replication Changes:</a>
124 </span>
125 </dt>
126 <dt>
127 <span class="sect2">
128 <a href="changelog_4_6.html#idp50466136">XA Resource Manager Changes:</a>
129 </span>
130 </dt>
131 <dt>
132 <span class="sect2">
133 <a href="changelog_4_6.html#idp50465496">Locking Subsystem Changes:</a>
134 </span>
135 </dt>
136 <dt>
137 <span class="sect2">
138 <a href="changelog_4_6.html#idp50451848">Logging Subsystem Changes:</a>
139 </span>
140 </dt>
141 <dt>
142 <span class="sect2">
143 <a href="changelog_4_6.html#idp50452712">Memory Pool Subsystem Changes:</a>
144 </span>
145 </dt>
146 <dt>
147 <span class="sect2">
148 <a href="changelog_4_6.html#idp50468064">Transaction Subsystem Changes:</a>
149 </span>
150 </dt>
151 <dt>
152 <span class="sect2">
153 <a href="changelog_4_6.html#idp50475736">Utility Changes:</a>
154 </span>
155 </dt>
156 <dt>
157 <span class="sect2">
158 <a href="changelog_4_6.html#idp50479800">Configuration, Documentation, Portability and Build Changes:</a>
159 </span>
160 </dt>
161 </dl>
162 </div>
163 <div class="sect2" lang="en" xml:lang="en">
164 <div class="titlepage">
165 <div>
166 <div>
167 <h3 class="title"><a id="idp50449856"></a>4.6.21 Patches:</h3>
168 </div>
169 </div>
170 </div>
171 <div class="orderedlist">
172 <ol type="1">
173 <li>Fix a bug where mutex contention in database environments configured
174 for hybrid mutex support could result in performance degradation.
175 [#15646]</li>
176 <li>Fix a bug where closing a database handle after aborting a
177 transaction which included a failed open of that database handle could
178 result in application failure. [#15650]</li>
179 <li>Fix multiple MVCC bugs including a race which <span class="emphasis"><em>could result in
180 incorrect data being returned</em></span> to the application. [#15653]</li>
181 <li>Fix a bug where a database store into a Hash database could
182 self-deadlock in a database environment configured for the Berkeley DB
183 Concurrent Data Store product and with a free-threaded DB_ENV or DB
184 handle. [#15718]</li>
185 <li>Fix an installation bug where Berkeley DB's PHP header file was not
186 installed in the correct place.</li>
187 </ol>
188 </div>
189 </div>
190 <div class="sect2" lang="en" xml:lang="en">
191 <div class="titlepage">
192 <div>
193 <div>
194 <h3 class="title"><a id="idp50370888"></a>4.6.19 Patches</h3>
195 </div>
196 </div>
197 </div>
198 <div class="orderedlist">
199 <ol type="1">
200 <li>Fix a bug where a client in a two-site replication group could
201 become master, after failure of the existing master, even if the client
202 had priority 0. [#15388]</li>
203 <li>Fix a bug where 32-bit builds on 64-bit machines could immediately
204 core dump because of a misaligned access. [#15643]</li>
205 <li>Fix a bug where attempts to configure a database for MVCC in the
206 Java API were silently ignored. [#15644]</li>
207 <li>Fix a bug where database environments configured for replication and
208 verbose output could drop core. [#15651]</li>
209 </ol>
210 </div>
211 </div>
212 <div class="sect2" lang="en" xml:lang="en">
213 <div class="titlepage">
214 <div>
215 <div>
216 <h3 class="title"><a id="idp50361912"></a>Database or Log File On-Disk Format Changes:</h3>
217 </div>
218 </div>
219 </div>
220 <div class="orderedlist">
221 <ol type="1">
222 <li>The on-disk log format has changed.</li>
223 <li>The format of Hash database pages was changed in the Berkeley DB 4.6
224 release, and items are now stored in sorted order.
225 <span class="emphasis"><em>The format changes are entirely backward-compatible, and no database
226 upgrades are needed.</em></span>
227 However, upgrading existing databases can offer significant performance
228 improvements. Note that databases created using the 4.6 release may not
229 be usable with earlier Berkeley DB releases.</li>
230 </ol>
231 </div>
232 </div>
233 <div class="sect2" lang="en" xml:lang="en">
234 <div class="titlepage">
235 <div>
236 <div>
237 <h3 class="title"><a id="idp50454856"></a>New Features:</h3>
238 </div>
239 </div>
240 </div>
241 <div class="orderedlist">
242 <ol type="1">
243 <li>Add support for a cursor DB_PREV_DUP flag, which moves the cursor
244 to the previous key/data pair if it's a duplicate of the current
245 key/data pair. [#4801]</li>
246 <li>Add the ability to set cache page priority on a database or cursor
247 handle. [#11886]</li>
248 <li>Add verbose output tracing for filesystem operations. [#13760]</li>
249 <li>Port Berkeley DB to Qualcomm's Binary Runtime Environment for
250 Wireless (BREW). [#14562]</li>
251 <li>Port Berkeley DB to WinCE. [#15312]</li>
252 <li>Port Berkeley DB to S60. [#15371]</li>
253 <li>Add a key_exists method to the DB handle. [#15374]</li>
254 <li>Applications may now begin processing new transactions while previously
255 prepared, but unresolved, transactions are still pending. [#14754]</li>
256 <li>Significant performance improvements in the Hash access method. [#15017]</li>
257 </ol>
258 </div>
259 </div>
260 <div class="sect2" lang="en" xml:lang="en">
261 <div class="titlepage">
262 <div>
263 <div>
264 <h3 class="title"><a id="idp50457960"></a>Database Environment Changes:</h3>
265 </div>
266 </div>
267 </div>
268 <div class="orderedlist">
269 <ol type="1">
270 <li>Add support to close open file handles in the case of catastrophic
271 database environment failure so applications that do not exit and
272 restart on failure won't leak file handles. [#6538]</li>
273 <li>Replace the Berkeley DB shared memory allocator with a new
274 implementation, intended to decrease the performance drop-off seen in
275 database environments having working sets that are larger than the
276 cache, especially database environments with multiple cache page sizes.
277 [#13122]</li>
278 <li>Fix a bug that would incorrectly cause a thread to appear to be
279 in the Berkeley DB API after a call to db_create. [#14562]</li>
280 <li>Allow database close prior to resolving all transactions updating
281 the database. [#14785]</li>
282 <li>Fix a bug where the db_stat utility -Z flag and the statistics
283 method's DB_STAT_CLEAR flag could clear mutex statistics too quickly,
284 leading to incorrect values being displayed. [#15032]</li>
285 <li>Fix a bug where removal of a file after and open/close pair spanning
286 the most recent checkpoint log-sequence-numbers made recovery fail.
287 [#15092]</li>
288 <li>Fix a bug that could leave an environment unrecoverable if FTRUNCATE
289 was not set and a roll-forward to a timestamp was interrupted between the
290 truncation of the log and the recording of aborted allocations. [#15108]</li>
291 <li> Fix a bug where recovery of a rename operation could fail if the
292 rename occurred in a directory that no longer existed. [#15119]</li>
293 <li>Fix a bug that could cause recovery to report a "File exists"
294 error if a committed create was partially recovered by a previously
295 failed recovery operation. [#15151]</li>
296 <li>Fix a bug where the DbEnv.get_thread_count method implementation was
297 missing from the Berkeley DB 4.5 release. [#15201]</li>
298 <li>Fix a bug where replication operations were not reported properly
299 when the DbEnv.failchk method was called. [#15094]</li>
300 <li> Fixed a bug that caused SEQ-&gt;remove not to use a transaction
301 if the sequence was opened on a transactional database handle but no
302 transaction was specified on the call. [#15235]</li>
303 <li>Fix a bug where accesses to the database environment reference count
304 could race, causing the DB_ENV-&gt;remove method to incorrectly remove
305 or not remove a database environment. [#15240]</li>
306 <li>Fix a bug that could cause a recovery failure if a partial record
307 was written near the end of a log file before a crash and then never
308 overwritten after recovery runs and before a log file switch occurs.
309 [#15302]</li>
310 <li>Fix a bug that could fire a diagnostic assertion if an error occurred
311 during a database environment open. [#15309]</li>
312 <li> Fix a bug where memp_trickle attempts to flush an infinite number
313 of buffers. [#15342]</li>
314 <li>Cause application updates of the DB_ENV-&gt;set_mp_max_write values
315 to affect already running cache flush operations. [#15342]</li>
316 <li>Fix a bug which could cause system hang if a checkpoint happened at
317 the same time as a database file create or rename. [#15346]</li>
318 <li>Fix a bug which could cause application failure if the open of a
319 subdatabase failed while other database opens were happening. [#15346]</li>
320 <li>Fix a bug that could cause recovery to not process a transaction
321 properly if the transaction was started before the transaction IDs were
322 reset but did not put its first record into the log until after the
323 txn_recycle record. [#15400]</li>
324 <li>Fix a bug that could cause a thread in cache allocation to loop
325 infinitely. [#15406]</li>
326 <li>Fix a bug that could cause recovery to report a Log Sequence Error
327 on systems without the ftruncate system call where a page allocation
328 occurred and the database metadata page was forced out of cache without
329 being marked dirty and then had to be recovered. [#15441]</li>
330 <li>Fix a bug on systems lacking the ftruncate system call, where a page
331 may be improperly linked into the free list if archive recovery was done
332 in multiple steps, that is, applying additional logs to the same
333 databases. [#15557]</li>
334 </ol>
335 </div>
336 </div>
337 <div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="idp50459800"></a>Concurrent Data Store Changes:</h3></div></div></div>
338
339 None.
340 </div>
341 <div class="sect2" lang="en" xml:lang="en">
342 <div class="titlepage">
343 <div>
344 <div>
345 <h3 class="title"><a id="idp50458344"></a>General Access Method Changes:</h3>
346 </div>
347 </div>
348 </div>
349 <div class="orderedlist">
350 <ol type="1">
351 <li>Add a feature where applications can specify a custom comparison
352 function for the Hash access method [#4109]</li>
353 <li>Open, create, close and removal of non-transactional databases is
354 are longer logged in transactional database environments unless debug
355 logging is enabled. [#8037]</li>
356 <li>Add the ability to set cache page priority on a database or cursor
357 handle. [#11886]</li>
358 <li>fix a bug where the DB_ENV-&gt;fileid_reset method failed when
359 called on on encrypted or check-summed databases. [#13990]</li>
360 <li>Fix a bug where the DB-&gt;fd method failed when called on
361 in-memory databases. [#14157]</li>
362 <li>Fix a bug where an attempt to open a Recno database with a backing
363 file that does not exist could report an error because it couldn't
364 remove a temporary file. [#14160]</li>
365 <li>Reverse a change found in previous releases which disallowed setting
366 "partial" flags on key DBTs for DB and DbCursor put method calls. [#14520]</li>
367 <li>Fix a bug where transactional file operations, such as remove or
368 rename, could leak file handles. [#15222]</li>
369 <li>Fix a bug that could cause the in-memory sorted freelist used by the
370 DB-&gt;compact method not to be freed if transaction or lock timeouts
371 were set in the environment. [#15292]</li>
372 <li>Add the DB-&gt;get_multiple method, which returns if the DB handle
373 references a "master" database in the physical file. [#15352]</li>
374 <li>Fix a bug that could cause an DB_INORDER, DB-&gt;get method
375 DB_CONSUME operation to loop if the Queue database was missing a record
376 due to a rollback by a writer or a non-queue insert in the queue.
377 [#15452]</li>
378 <li>Fix a bug preventing database removal after application or system
379 failure in a database environment configured for in-memory logging.
380 [#15459]</li>
381 </ol>
382 </div>
383 </div>
384 <div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="idp50475672"></a>Btree Access Method Changes:</h3></div></div></div>
385
386 None.
387 </div>
388 <div class="sect2" lang="en" xml:lang="en">
389 <div class="titlepage">
390 <div>
391 <div>
392 <h3 class="title"><a id="idp50460536"></a>Hash Access Method Changes:</h3>
393 </div>
394 </div>
395 </div>
396 <div class="orderedlist">
397 <ol type="1">
398 <li>Change the internal format of Hash database pages, storing items in
399 sorted order. There are no externally visible changes, and hash
400 databases using historic on-page formats do not require an explicit
401 upgrade. (However, upgrading existing databases can offer significant
402 performance improvements.) [#15017]</li>
403 <li>Fix a bug preventing LSNs from being reset on hash databases when
404 the databases were configured with a non-standard hash function.
405 [#15567]</li>
406 </ol>
407 </div>
408 </div>
409 <div class="sect2" lang="en" xml:lang="en">
410 <div class="titlepage">
411 <div>
412 <div>
413 <h3 class="title"><a id="idp50444272"></a>Queue Access Method Changes:</h3>
414 </div>
415 </div>
416 </div>
417 <div class="orderedlist">
418 <ol type="1">
419 <li>Fix a bug which could cause a Queue extent file to be incorrectly
420 removed if an empty extent file was being closed by one thread and being
421 updated by another thread (which was using random access operations).
422 [#9101]</li>
423 </ol>
424 </div>
425 </div>
426 <div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="idp50463616"></a>Recno Access Method Changes:</h3></div></div></div>
427
428 None.
429 </div>
430 <div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="idp50463872"></a>C++-specific API Changes:</h3></div></div></div>
431
432 None.
433 </div>
434 <div class="sect2" lang="en" xml:lang="en">
435 <div class="titlepage">
436 <div>
437 <div>
438 <h3 class="title"><a id="idp50481800"></a>Java-specific API Changes:</h3>
439 </div>
440 </div>
441 </div>
442 <div class="orderedlist">
443 <ol type="1">
444 <li>Add a feature where an exception is thrown by the Java API, the
445 Berkeley DB error message is now included in the exception object.
446 [#11870]</li>
447 <li>Fix a bug which can cause a JVM crash when doing a partial get
448 operation. [#15143]</li>
449 <li>Fix a bug which prevented the use of Berkeley DB sequences from
450 Java. [#15220]</li>
451 <li>Fix multiple bugs where DBTs were not being copied correctly in the
452 Java replication APIs. [#15223]</li>
453 <li>Add transaction.commitWriteNoSync to the Java API. [#15376]</li>
454 </ol>
455 </div>
456 </div>
457 <div class="sect2" lang="en" xml:lang="en">
458 <div class="titlepage">
459 <div>
460 <div>
461 <h3 class="title"><a id="idp50464456"></a>Java collections and bind API Changes:</h3>
462 </div>
463 </div>
464 </div>
465 <div class="orderedlist">
466 <ol type="1">
467 <li>Change SerialBinding to use the current thread's context class
468 loader when loading application classes. This allows the JE jar file
469 to be deployed in application servers and other containers as a shared
470 library rather than as an application jar. [#15447]</li>
471 <li>Tuple bindings now support the java.math.BigInteger type. Like other
472 tuple binding values, BigInteger values are sorted in natural integer
473 order by default, without using a custom comparator. For details please
474 see the Javadoc for: com.sleepycat.bind.tuple.TupleInput.readBigInteger
475 com.sleepycat.bind.tuple.TupleOutput.writeBigInteger
476 com.sleepycat.bind.tuple.BigIntegerBinding [#15244]</li>
477 <li>Add tuple binding methods for reading and writing packed int and
478 long values. Packed integer values take less space, but take slightly
479 more processing time to read and write. See: TupleInput.readPackedInt
480 TupleInput.getPackedIntByteLength TupleInput.readPackedLong
481 TupleInput.getPackedLongByteLength TupleOutput.writePackedInt
482 TupleOutput.writePackedLong PackedInteger [#15422]</li>
483 <li>The Collections API has been enhanced so that auto-commit works for
484 the standard Java Iterator.remove(), set() and add() methods. Previously
485 it was necessary to explicitly begin and commit a transaction in order
486 to call these methods, when the underlying Database was transactional.
487 Note that starting a transaction is still necessary when calling these
488 methods if the StoredCollection.storedIterator method is used. [#15401]</li>
489 <li>Fix a bug that causes a memory leak for applications where both of
490 the following are true: many Environment objects are opened and closed,
491 and the CurrentTransaction or TransactionRunner class is used. [#15444]</li>
492 </ol>
493 </div>
494 </div>
495 <div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="idp50464944"></a>Tcl-specific API Changes:</h3></div></div></div>
496
497 None.
498 </div>
499 <div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="idp50465232"></a>RPC-specific Client/Server Changes:</h3></div></div></div>
500
501 None.
502 </div>
503 <div class="sect2" lang="en" xml:lang="en">
504 <div class="titlepage">
505 <div>
506 <div>
507 <h3 class="title"><a id="idp50486584"></a>Replication Changes:</h3>
508 </div>
509 </div>
510 </div>
511 <div class="orderedlist">
512 <ol type="1">
513 <li>Fix a bug where transactions could be rolled-back if an existing
514 replication group master was partitioned and unable to participate in
515 an election. [#14752]</li>
516 <li>Add a new event when a replication manager framework master fails
517 to send and confirm receipt by clients of a "permanent" message.
518 [#14775]</li>
519 <li>Fix a race where multiple threads might attempt to process a
520 LOGREADY condition. [#14902]</li>
521 <li>Change the DB_VERB_REPLICATION flag to no longer require the
522 Berkeley DB library be built with the --enable-diagnostic configuration
523 option to output additional replication logging information. [#14991]</li>
524 <li>Fix a bug with elections occurring during internal init of a
525 replication client site. [#15057]</li>
526 <li>Fix lockout code to lockout message threads and API separately.
527 Send indication that log requests is for internal init. [#15067]</li>
528 <li>Replication manager changed to retry host-name look-up failures,
529 since they could be caused by transient name server outage.
530 [#15081]</li>
531 <li>Fix a bug which led to memory corruption when the sending of a bulk
532 buffer resulted in an error. [#15100]</li>
533 <li>A throttling limit of 10 megabytes is now set by default in a newly
534 created database environment (see the DbEnv.rep_set_limit method).
535 [#15115]</li>
536 <li>Fix a bug in ALL_REQ handling where master could get a DB_NOTFOUND.
537 [#15116]</li>
538 <li>Fix a bug which could lead to client sites repeatedly but unproductively
539 calling for an election, when a master site already exists. [#15128]</li>
540 <li>Modify gap processing algorithms so XXX_MORE messages ask for data
541 beyond what it just processed, not an earlier gap that might exist.
542 [#15136]</li>
543 <li>Fixed a bug in the ex_rep example application which could cause the
544 last few transactions to disappear when shutting down the sites of the
545 replication group gracefully. [#15162]</li>
546 <li>Fix a bug where if a client crashed during internal init, its
547 database environment would be left in a confused state, making it
548 impossible to synchronize again with the master. [#15177]</li>
549 <li>Fix a bug where election flags are not cleared atomically with the
550 setting of the new master ID. [#15186]</li>
551 <li>Fix a bug which would cause Berkeley DB to crash if an internal init
552 happened when there were no database files at the master. [#15227]</li>
553 <li>It is now guaranteed that the DB_EVENT_REP_STARTUPDONE event will
554 be presented to the application after the corresponding
555 DB_EVENT_REP_NEWMASTER event, even in the face of extreme scheduling
556 anomalies. [#15265]</li>
557 <li>Fix minor memory leaks in the replication manager. [#15239] [#15256]</li>
558 <li>Fix a bug which caused the replication manager to lose track of a
559 failed connection, resulting in the inability to accept a replacement
560 connection. [#15311]</li>
561 <li>Fix a bug where a client starting an election when the rest of the
562 replication group already had an established master could confuse
563 replication management at the other client sites, leading to failure to
564 properly acknowledge PERM transactions from the master. [#15428]</li>
565 <li>Add support for reporting Replication Manager statistics. [#15430]</li>
566 <li>Fix a bug where a send failure during processing of a request
567 message from a client could erroneously appear to the application as an
568 EPERM system error. [#15436]</li>
569 <li>Client now sets STARTUPDONE at the end of the synchronization phase
570 when it has caught up to the end of the master's transaction log, without
571 requiring ongoing transactions at the master. [#15542]</li>
572 <li>Fix a bug in sleep-time calculation which could cause a Replication
573 Manager failure. [#15552]</li>
574 </ol>
575 </div>
576 </div>
577 <div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="idp50466136"></a>XA Resource Manager Changes:</h3></div></div></div>
578
579 None.
580 </div>
581 <div class="sect2" lang="en" xml:lang="en">
582 <div class="titlepage">
583 <div>
584 <div>
585 <h3 class="title"><a id="idp50465496"></a>Locking Subsystem Changes:</h3>
586 </div>
587 </div>
588 </div>
589 <div class="orderedlist">
590 <ol type="1">
591 <li>Change the DB_ENV-&gt;lock_detect method to return the number of
592 transactions timed out in addition to those were rejected due to
593 deadlock. [#15281]</li>
594 </ol>
595 </div>
596 </div>
597 <div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="idp50451848"></a>Logging Subsystem Changes:</h3></div></div></div>
598
599 None.
600 </div>
601 <div class="sect2" lang="en" xml:lang="en">
602 <div class="titlepage">
603 <div>
604 <div>
605 <h3 class="title"><a id="idp50452712"></a>Memory Pool Subsystem Changes:</h3>
606 </div>
607 </div>
608 </div>
609 <div class="orderedlist">
610 <ol type="1">
611 <li>Fix a bug that could cause a checkpoint to hang if a database was
612 closed while the checkpoint was forcing that file to disk and all the
613 pages for that database were replaced in the cache. [#15135]</li>
614 <li>Fix a bug where a system error in closing a file could result in a
615 core dump. [#15137]</li>
616 <li>Fix MVCC statistics counts for private database environments. [#15218]</li>
617 </ol>
618 </div>
619 </div>
620 <div class="sect2" lang="en" xml:lang="en">
621 <div class="titlepage">
622 <div>
623 <div>
624 <h3 class="title"><a id="idp50468064"></a>Transaction Subsystem Changes:</h3>
625 </div>
626 </div>
627 </div>
628 <div class="orderedlist">
629 <ol type="1">
630 <li>Fix a bug where creating a database with the DB_TXN_NOTDURABLE flag
631 set would still write a log record. [#15386]</li>
632 <li>Change transaction checkpoint to wait only for pages being updated
633 during the checkpoint. [#14710]</li>
634 </ol>
635 </div>
636 </div>
637 <div class="sect2" lang="en" xml:lang="en">
638 <div class="titlepage">
639 <div>
640 <div>
641 <h3 class="title"><a id="idp50475736"></a>Utility Changes:</h3>
642 </div>
643 </div>
644 </div>
645 <div class="orderedlist">
646 <ol type="1">
647 <li>Fix a bug that prevented db_load from handling subdatabase names
648 that were of zero length. [#8204]</li>
649 <li>Fix a bug where the db_hotbackup utility did not clean out and record
650 the log file numbers in the backup directory when both the -u and -D flags
651 were specified. [#15395]</li>
652 </ol>
653 </div>
654 </div>
655 <div class="sect2" lang="en" xml:lang="en">
656 <div class="titlepage">
657 <div>
658 <div>
659 <h3 class="title"><a id="idp50479800"></a>Configuration, Documentation, Portability and Build Changes:</h3>
660 </div>
661 </div>
662 </div>
663 <div class="orderedlist">
664 <ol type="1">
665 <li>Berkeley DB no longer supports process-shared database environments
666 on Windows 9X platforms; the DB_PRIVATE flag must always be specified
667 to the DB_ENV-&gt;open method. [#13766]</li>
668 <li>Port Berkeley DB to Qualcomm's Binary Runtime Environment for
669 Wireless (BREW). [#14562]</li>
670 <li>Compile SWIG-generated code with the -fno-strict-aliasing flag when
671 using the GNU gcc compiler. [#14953]</li>
672 <li>Changed include files so ENOENT is resolved on Windows. [#15078]</li>
673 <li>Port Berkeley DB to WinCE. [#15312]</li>
674 <li>Port Berkeley DB to S60. [#15371]</li>
675 <li>Add the db_hotbackup executable to the Windows MSI installer. [#15372]</li>
676 <li>Change the db_hotbackup utility to use the Berkeley DB library
677 portability layer. [#15415]</li>
678 <li>Re-write the GNU gcc mutex implementation on the x86 platform to
679 avoid compiler errors. [#15461]</li>
680 <li>Fix a bug with non-HFS filesystems under OS X which could affect
681 data durability. [#15501]</li>
682 </ol>
683 </div>
684 </div>
685 </div>
686 <div class="navfooter">
687 <hr />
688 <table width="100%" summary="Navigation footer">
689 <tr>
690 <td width="40%" align="left"><a accesskey="p" href="upgrade_4_6_disk.html">Prev</a> </td>
691 <td width="20%" align="center">
692 <a accesskey="u" href="upgrade_4_6_toc.html">Up</a>
693 </td>
694 <td width="40%" align="right"> <a accesskey="n" href="upgrade_4_5_toc.html">Next</a></td>
695 </tr>
696 <tr>
697 <td width="40%" align="left" valign="top">Upgrade Requirements </td>
698 <td width="20%" align="center">
699 <a accesskey="h" href="index.html">Home</a>
700 </td>
701 <td width="40%" align="right" valign="top"> Chapter 5. Upgrading Berkeley DB 4.4 applications to Berkeley DB 4.5</td>
702 </tr>
703 </table>
704 </div>
705 </body>
706 </html>