Debian Codegraph @

docs/installation/changelog_4_8.html

raw symbols SCIP
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.8.28 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 Installation and Build Guide" />
10 <link rel="up" href="upgrade_4_8_toc.html" title="Chapter 13. Upgrading Berkeley DB 4.7 applications to Berkeley DB 4.8" />
11 <link rel="prev" href="upgrade_4_8_disk.html" title="Upgrade Requirements" />
12 <link rel="next" href="test.html" title="Chapter 14.  Test Suite" />
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.8.28 Change Log</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="upgrade_4_8_disk.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 13. Upgrading Berkeley DB 4.7 applications to Berkeley DB 4.8</th>
26 <td width="20%" align="right"> <a accesskey="n" href="test.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_8"></a>Berkeley DB 4.8.28 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_8.html#idp1162104">
44 Changes between 4.8.26 and 4.8.28:</a>
45 </span>
46 </dt>
47 <dt>
48 <span class="sect2">
49 <a href="changelog_4_8.html#idp1184264">
50 Known bugs in 4.8 </a>
51 </span>
52 </dt>
53 <dt>
54 <span class="sect2">
55 <a href="changelog_4_8.html#idp1139288">
56 Changes between 4.8.24 and 4.8.26:</a>
57 </span>
58 </dt>
59 <dt>
60 <span class="sect2">
61 <a href="changelog_4_8.html#idp1091200">
62 Changes between 4.8.21 and 4.8.24:</a>
63 </span>
64 </dt>
65 <dt>
66 <span class="sect2">
67 <a href="changelog_4_8.html#idp1199520">
68 Changes between 4.7 and 4.8.21:</a>
69 </span>
70 </dt>
71 <dt>
72 <span class="sect2">
73 <a href="changelog_4_8.html#idp1200208">
74 Database or Log File On-Disk Format Changes:</a>
75 </span>
76 </dt>
77 <dt>
78 <span class="sect2">
79 <a href="changelog_4_8.html#idp981712">
80 New Features:</a>
81 </span>
82 </dt>
83 <dt>
84 <span class="sect2">
85 <a href="changelog_4_8.html#idp1130224">
86 Database Environment Changes:</a>
87 </span>
88 </dt>
89 <dt>
90 <span class="sect2">
91 <a href="changelog_4_8.html#idp1209320">
92 Concurrent Data Store Changes:</a>
93 </span>
94 </dt>
95 <dt>
96 <span class="sect2">
97 <a href="changelog_4_8.html#idp1209720">
98 General Access Method Changes:</a>
99 </span>
100 </dt>
101 <dt>
102 <span class="sect2">
103 <a href="changelog_4_8.html#idp1218064">
104 Btree Access Method Changes:</a>
105 </span>
106 </dt>
107 <dt>
108 <span class="sect2">
109 <a href="changelog_4_8.html#idp1215560">
110 Hash Access Method Changes:</a>
111 </span>
112 </dt>
113 <dt>
114 <span class="sect2">
115 <a href="changelog_4_8.html#idp1226120">
116 Queue Access Method Changes:</a>
117 </span>
118 </dt>
119 <dt>
120 <span class="sect2">
121 <a href="changelog_4_8.html#idp1163928">
122 Recno Access Method Changes:</a>
123 </span>
124 </dt>
125 <dt>
126 <span class="sect2">
127 <a href="changelog_4_8.html#idp1138904">
128 C-specific API Changes:</a>
129 </span>
130 </dt>
131 <dt>
132 <span class="sect2">
133 <a href="changelog_4_8.html#idp1218344">
134 C++-specific API Changes:</a>
135 </span>
136 </dt>
137 <dt>
138 <span class="sect2">
139 <a href="changelog_4_8.html#idp1238856">
140 Java-specific API Changes:</a>
141 </span>
142 </dt>
143 <dt>
144 <span class="sect2">
145 <a href="changelog_4_8.html#idp1232112">
146
147 Direct Persistence Layer (DPL), Bindings and Collections API:</a>
148 </span>
149 </dt>
150 <dt>
151 <span class="sect2">
152 <a href="changelog_4_8.html#idp1232384">
153
154 Tcl-specific API Changes:</a>
155 </span>
156 </dt>
157 <dt>
158 <span class="sect2">
159 <a href="changelog_4_8.html#idp1244368">
160 RPC-specific Client/Server Changes:</a>
161 </span>
162 </dt>
163 <dt>
164 <span class="sect2">
165 <a href="changelog_4_8.html#idp1245896">
166 Replication Changes:</a>
167 </span>
168 </dt>
169 <dt>
170 <span class="sect2">
171 <a href="changelog_4_8.html#idp1242240">
172 XA Resource Manager Changes:</a>
173 </span>
174 </dt>
175 <dt>
176 <span class="sect2">
177 <a href="changelog_4_8.html#idp1247728">
178 Locking Subsystem Changes:</a>
179 </span>
180 </dt>
181 <dt>
182 <span class="sect2">
183 <a href="changelog_4_8.html#idp1241128">
184 Logging Subsystem Changes:</a>
185 </span>
186 </dt>
187 <dt>
188 <span class="sect2">
189 <a href="changelog_4_8.html#idp1258328">
190 Memory Pool Subsystem Changes:</a>
191 </span>
192 </dt>
193 <dt>
194 <span class="sect2">
195 <a href="changelog_4_8.html#idp1258720">
196 Mutex Subsystem Changes:</a>
197 </span>
198 </dt>
199 <dt>
200 <span class="sect2">
201 <a href="changelog_4_8.html#idp1240832">
202 Test Suite Changes</a>
203 </span>
204 </dt>
205 <dt>
206 <span class="sect2">
207 <a href="changelog_4_8.html#idp1249776">
208 Transaction Subsystem Changes:</a>
209 </span>
210 </dt>
211 <dt>
212 <span class="sect2">
213 <a href="changelog_4_8.html#idp1271664">
214 Utility Changes:</a>
215 </span>
216 </dt>
217 <dt>
218 <span class="sect2">
219 <a href="changelog_4_8.html#idp1274104">
220 Configuration, Documentation, Sample Application, Portability and Build Changes:</a>
221 </span>
222 </dt>
223 </dl>
224 </div>
225 <div class="sect2" lang="en" xml:lang="en">
226 <div class="titlepage">
227 <div>
228 <div>
229 <h3 class="title"><a id="idp1162104"></a>
230 Changes between 4.8.26 and 4.8.28:</h3>
231 </div>
232 </div>
233 </div>
234 <div class="orderedlist">
235 <ol type="1">
236 <li>
237 <p>
238 Limit the size of a log record generated by freeing pages from a database so it fits in the log file size. [#17313]
239 </p>
240 </li>
241 <li>
242 <p>
243 Fix a bug that could cause a file to be removed if it was both the source and target of two renames
244 within a transaction. [#18069]
245 </p>
246 </li>
247 <li>
248 <p>
249 Modified how we go about selecting a usable buffer in the cache.
250 Place more emphasis on single version and obsolete buffers. [#18114]
251
252 </p>
253 </li>
254 </ol>
255 </div>
256 </div>
257 <div class="sect2" lang="en" xml:lang="en">
258 <div class="titlepage">
259 <div>
260 <div>
261 <h3 class="title"><a id="idp1184264"></a>
262 Known bugs in 4.8 </h3>
263 </div>
264 </div>
265 </div>
266 <div class="orderedlist">
267 <ol type="1">
268 <li>
269 <p>
270 Sharing logs across mixed-endian systems does not work.[#18032]
271 </p>
272 </li>
273 </ol>
274 </div>
275 </div>
276 <div class="sect2" lang="en" xml:lang="en">
277 <div class="titlepage">
278 <div>
279 <div>
280 <h3 class="title"><a id="idp1139288"></a>
281 Changes between 4.8.24 and 4.8.26:</h3>
282 </div>
283 </div>
284 </div>
285 <div class="orderedlist">
286 <ol type="1">
287 <li>
288 <p>
289 Fixed a bug where the truncate log record could be too large when freeing too many pages during a compact. [#17313]
290 </p>
291 </li>
292 <li>
293 <p>
294 Fixed a bug where the deadlock detector might not run properly. [#17555]
295 </p>
296 </li>
297 <li>
298 <p>
299 Fixed three bugs related to properly detecting thread local storage for DbStl. [#17609] [#18001] [#18038]
300 </p>
301 </li>
302 <li>
303 <p>
304 Fixed a bug that prevented some of our example code from running correctly in a Windows environment. [#17627]
305 </p>
306 </li>
307 <li>
308 <p>
309 Fixed a bug where a "unable to allocate space from buffer cache" error was improperly generated. [#17630]
310 </p>
311 </li>
312 <li>
313 <p>
314 Fixed a bug where DB-&gt;exists() did not accept the DB_AUTO_COMMIT flag. [#17687]
315 </p>
316 </li>
317 <li>
318 <p>
319 Fixed a bug where DB_TXN_SNAPSHOT was not getting ignored when DB_MULTIVERSION not set. [#17706]
320 </p>
321 </li>
322 <li>
323 <p>
324 Fixed a bug that prevented callback based partitioning through the Java API. [#17735]
325 </p>
326 </li>
327 <li>
328 <p>
329 Fixed a replication bug where log files were not automatically removed from the client side. [#17899]
330 </p>
331 </li>
332 <li>
333 <p>
334 Fixed a bug where code generated from db_sql stored the key in both the data and key DBTs. [#17925]
335 </p>
336 </li>
337 <li>
338 <p>
339 Fixed a bug that prevented a sequence from closing properly after the EntityStore closed. [#17951]
340 </p>
341 </li>
342 <li>
343 <p>
344 Fixed a bug where gets fail if the DB_GET_BOTH_FLAG is specified in a hash, sorted duplicates database.[#17997]
345 </p>
346 </li>
347 </ol>
348 </div>
349 </div>
350 <div class="sect2" lang="en" xml:lang="en">
351 <div class="titlepage">
352 <div>
353 <div>
354 <h3 class="title"><a id="idp1091200"></a>
355 Changes between 4.8.21 and 4.8.24:</h3>
356 </div>
357 </div>
358 </div>
359 <div class="orderedlist">
360 <ol type="1">
361 <li>
362 <p>
363 Fixed a bug in the C# API where applications in a 64-bit environment could hang. [#17461]
364 </p>
365 </li>
366 <li>
367 <p>
368 Fixed a bug in MVCC where an exclusive latch was not removed when we couldn't obtain a buffer. [#17479]
369 </p>
370 </li>
371 <li>
372 <p>
373 Fixed a bug where a lock wasn't removed on a non-transactional locker. [#17509]
374 </p>
375 </li>
376 <li>
377 <p>
378 Fixed a bug which could trigger an assertion when performing a
379 B-tree page split and running out of log space or with MVCC enabled.
380 [#17531]
381 </p>
382 </li>
383 <li>
384 <p>
385 Fixed a bug in the repquote example that could cause the application to crash. [#17547]
386 </p>
387 </li>
388 <li>
389 <p>
390 Fixed a couple of bugs when using the GCC 4.4 compiler to build the examples and the dbstl API. [#17504] [#17476]
391 </p>
392 </li>
393 <li>
394 <p>
395 Fixed an incorrect representation of log system configuration info. [#17532]
396 </p>
397 </li>
398 </ol>
399 </div>
400 </div>
401 <div class="sect2" lang="en" xml:lang="en">
402 <div class="titlepage">
403 <div>
404 <div>
405 <h3 class="title"><a id="idp1199520"></a>
406 Changes between 4.7 and 4.8.21:</h3>
407 </div>
408 </div>
409 </div>
410 </div>
411 <div class="sect2" lang="en" xml:lang="en">
412 <div class="titlepage">
413 <div>
414 <div>
415 <h3 class="title"><a id="idp1200208"></a>
416 Database or Log File On-Disk Format Changes:</h3>
417 </div>
418 </div>
419 </div>
420 <div class="orderedlist">
421 <ol type="1">
422 <li>
423 <p>
424 The log file format changed in 4.8.
425 </p>
426 </li>
427 </ol>
428 </div>
429 </div>
430 <div class="sect2" lang="en" xml:lang="en">
431 <div class="titlepage">
432 <div>
433 <div>
434 <h3 class="title"><a id="idp981712"></a>
435 New Features:</h3>
436 </div>
437 </div>
438 </div>
439 <div class="orderedlist">
440 <ol type="1">
441 <li>
442 <p>
443 Improved scalability and throughput when using BTree databases
444 especially when running with multiple threads that equal or exceed the
445 number of available CPUs.
446
447 </p>
448 </li>
449 <li>
450 <p>
451 Berkeley DB has added support for C#. In addition to the new
452 C# api, C# specific tests and sample applications were also added.
453 [#16137]
454 </p>
455 </li>
456 <li>
457 <p>
458 Berkeley DB has added an STL API, which is compatible with and very
459 similar to C++ Standard Template Library (STL). Tests and
460 sample applications and documentation were also added. [#16217]
461
462 </p>
463 </li>
464 <li>
465 <p>
466 Berkeley DB has added database partitioning. BTree or Hash
467 databases may now be partitioned across multiple directories.
468 Partitioned databases can be used to increase concurrency and to
469 improve performance by spreading access across disk subsystems. [#15862]
470 </p>
471 </li>
472 <li>
473 <p>
474 Berkeley DB now supports bulk insertion and deletion of data.
475 Similar to the bulk get interface, the bulk put and bulk delete allow
476 the developer to populate a buffer of key-value pairs and then pass it
477 to the BDB library with a single API call.
478 </p>
479 </li>
480 <li>
481 <p>
482 Berkeley DB now supports compression when using BTree.
483
484 </p>
485 </li>
486 <li>
487 <p>
488 Berkeley DB introduces a new utility named db_sql which replaces
489 db_codegen. Similar to db_codegen, db_sql accepts an input file with
490 DDL statements and generates a Berkeley DB application using the C API
491 that creates and performs CRUD operations on the defined tables. The
492 developer can then use that code as a basis for further application
493 development.
494 </p>
495 </li>
496 <li>
497 <p>
498 The Replication Manager now supports shared access to the Master
499 database environment from multiple processes. In earlier
500 versions, multiple process support on the Master required use of the
501 Base Replication API. [#15982]
502
503 </p>
504 </li>
505 <li>
506 <p>
507 Foreign Key Support has been added to Berkeley DB.
508 </p>
509 </li>
510 <li>
511 <p>
512 Several enhancements were made to DB_REGISTER &amp; DB_ENV-&gt;failchk().
513 </p>
514 </li>
515 <li>
516 <p>
517 Berkeley now supports 100% in-memory replication.
518
519 </p>
520 </li>
521 <li>
522 <p>
523 Berkeley DB now has the ability to compare two cursors for equality. [#16811]
524
525
526 </p>
527 </li>
528 </ol>
529 </div>
530 </div>
531 <div class="sect2" lang="en" xml:lang="en">
532 <div class="titlepage">
533 <div>
534 <div>
535 <h3 class="title"><a id="idp1130224"></a>
536 Database Environment Changes:</h3>
537 </div>
538 </div>
539 </div>
540 <div class="orderedlist">
541 <ol type="1">
542 <li>
543 <p>
544 Fixed a bug that could cause an allocation error while trying
545 to allocate thread tracking information for the DB_ENV-&gt;failcheck
546 system.
547 [#16300]
548 </p>
549 </li>
550 <li>
551 <p>
552 Fixed a bug that could cause a trap if an environment open failed and failchk thread tracking was enabled.[#16770]
553 </p>
554 </li>
555 </ol>
556 </div>
557 </div>
558 <div class="sect2" lang="en" xml:lang="en">
559 <div class="titlepage">
560 <div>
561 <div>
562 <h3 class="title"><a id="idp1209320"></a>
563 Concurrent Data Store Changes:</h3>
564 </div>
565 </div>
566 </div>
567 <p>
568 None.
569 </p>
570 </div>
571 <div class="sect2" lang="en" xml:lang="en">
572 <div class="titlepage">
573 <div>
574 <div>
575 <h3 class="title"><a id="idp1209720"></a>
576 General Access Method Changes:</h3>
577 </div>
578 </div>
579 </div>
580 <div class="orderedlist">
581 <ol type="1">
582 <li>
583 <p>
584 Fixed a bug where doing an insert with secondary indices and the NOOVERWRITE flag could corrupt the secondary index. [#15912]
585 </p>
586 </li>
587 <li>
588 <p>
589 Fixed a possible file handle leak that occurred while aborting the create of a database whose metadata page was not initialized.
590 [#16359]
591 </p>
592 </li>
593 <li>
594 <p>
595 Fixed a bug so that we now realloc the filename buffer only if we need it to grow. [#16385]
596 [#16219]
597
598 </p>
599 </li>
600 <li>
601 <p>
602 Fixed a race freeing a transaction object when using MVCC. [#16381]
603
604
605 </p>
606 </li>
607 <li>
608 <p>
609 Added missing get methods for the DB and DB_ENV classes where there already was a corresponding set method. [#16505]
610
611 </p>
612 </li>
613 <li>
614 <p>
615 Fixed a bug to now ensure that DB_STAT_SUBSYSTEM is distinct from other stat flags. [#16798]
616 </p>
617 </li>
618 <li>
619 <p>
620 Fixed a bug related to updating multiple secondary keys (using DB_MULTIPLE). [#16885]
621
622 </p>
623 </li>
624 <li>
625 <p>
626 Fixed a bug so that verify (db-&gt;verify, db_verify) will now
627 report when it cannot read a page rather than just saying the database
628 is bad. [#16916]
629 </p>
630 </li>
631 <li>
632 <p>
633 Fixed a bug that could cause memory corruption if a transaction
634 allocating a page aborted while DB-&gt;compact was running on that
635 database. [#16862]
636 </p>
637 </li>
638 <li>
639 <p>
640 Fixed a bug where logging was occurring during remove of an in-memory database when
641 the DB_TXN_NOT_DURABLE flag was set. [#16571]
642 </p>
643 </li>
644 <li>
645 <p>
646 Fixed a bug to remove a race condition during database/file create. [#17020]
647 </p>
648 </li>
649 <li>
650 <p>
651 Fixed a bug where a call to DB-&gt;verify and specifying DB_SALVAGE could leak memory when the call returned. [#17161]
652 </p>
653 </li>
654 <li>
655 <p>
656 Fixed a bug to avoid accessing freed memory during puts on primaries with custom comparators. [#17189]
657 </p>
658 </li>
659 <li>
660 <p>
661 Fixed a bug that could cause old versions of pages to be written
662 over new versions if an existing database is opened with the
663 DB_TRUNCATE flag. [#17191]
664 </p>
665 </li>
666 </ol>
667 </div>
668 </div>
669 <div class="sect2" lang="en" xml:lang="en">
670 <div class="titlepage">
671 <div>
672 <div>
673 <h3 class="title"><a id="idp1218064"></a>
674 Btree Access Method Changes:</h3>
675 </div>
676 </div>
677 </div>
678 <div class="orderedlist">
679 <ol type="1">
680 <li>
681 <p>
682
683 Fixed a bug which could cause DB-&gt;compact to fail with DB_NOTFOUND
684 or DB_PAGE_NOTFOUND if the height of the tree was reduced by
685 another thread while compact was active. The bug could also cause
686 a page split to trigger splitting of internal nodes which did not need
687 to be split. [#16192]
688 </p>
689 </li>
690 <li>
691 <p>
692 Fixed a bug that caused Db-&gt;compact to loop if run on an empty
693 RECNO database when there were pages in the free list. [#16778]
694 </p>
695 </li>
696 <li>
697 <p>
698 Added a new flag, DB_OVERWRITE_DUP, to DB-&gt;put and DBC-&gt;put.
699 This flag is equivalent to DB_KEYLAST in almost all cases: the exception is
700 that with sorted duplicates, if a matching key/data pair exists, we overwrite
701 it rather than returning DB_KEYEXIST. [#16803]
702
703 </p>
704 </li>
705 </ol>
706 </div>
707 </div>
708 <div class="sect2" lang="en" xml:lang="en">
709 <div class="titlepage">
710 <div>
711 <div>
712 <h3 class="title"><a id="idp1215560"></a>
713 Hash Access Method Changes:</h3>
714 </div>
715 </div>
716 </div>
717 <div class="orderedlist">
718 <ol type="1">
719 <li>
720 <p>
721 Fixed a bug to now force a group allocation that rolls forward to reinit all the pages.
722
723 Otherwise a previous aborted allocation may change the header.
724 [#15414]
725 </p>
726 </li>
727 <li>
728 <p>
729 Fixed a bug to now return the expected buffer size on a DB_BUFFER_SMALL condition. [#16881]
730
731 </p>
732 </li>
733 </ol>
734 </div>
735 </div>
736 <div class="sect2" lang="en" xml:lang="en">
737 <div class="titlepage">
738 <div>
739 <div>
740 <h3 class="title"><a id="idp1226120"></a>
741 Queue Access Method Changes:</h3>
742 </div>
743 </div>
744 </div>
745 <div class="orderedlist">
746 <ol type="1">
747 <li>
748 <p>
749 Fixed a bug that would cause the LSN reset functionality to not process queue extents.
750 [#16213]
751 </p>
752 </li>
753 <li>
754 <p>
755 Fixed a bug that prevented a partial put on a queue database with secondaries
756 configured. [#16460]
757
758 </p>
759 </li>
760 <li>
761 <p>
762 Fixed a bug to now prevent an unpinned page to be returned if a delete from a HASH database deadlocked.
763 [#16371]
764 </p>
765 </li>
766 <li>
767 <p>
768 Fixed a bug that could cause a queue extent to be recreated if an
769 application deleted a record that was already deleted in that extent.
770 [#17004]
771 </p>
772 </li>
773 <li>
774 <p>
775 Added the DB_CONSUME flag to DB-&gt;del and DBC-&gt;del to force adjustment of the head of the queue. [#17004]
776 </p>
777 </li>
778 </ol>
779 </div>
780 </div>
781 <div class="sect2" lang="en" xml:lang="en">
782 <div class="titlepage">
783 <div>
784 <div>
785 <h3 class="title"><a id="idp1163928"></a>
786 Recno Access Method Changes:</h3>
787 </div>
788 </div>
789 </div>
790 <div class="orderedlist">
791 <ol type="1">
792 <li>
793 <p>
794 Fixed a bug which could cause DB-&gt;compact of a RECNO
795 database to loop if the number of pages on the free list was reduced by
796 another thread while compact was active. [#16199]
797 </p>
798 </li>
799 <li>
800 <p>
801 Fixed a bug that occurs when deleting from a Recno database and
802 using DB_READ_UNCOMMITTED where we could try to downgrade a lock
803 twice. [#16347]
804 </p>
805 </li>
806 <li>
807 <p>
808 Fixed a bug to now disallow passing DB_DUP and DB_RECNUM together to __db_set_flags.
809 [#16585]
810 </p>
811 </li>
812 </ol>
813 </div>
814 </div>
815 <div class="sect2" lang="en" xml:lang="en">
816 <div class="titlepage">
817 <div>
818 <div>
819 <h3 class="title"><a id="idp1138904"></a>
820 C-specific API Changes:</h3>
821 </div>
822 </div>
823 </div>
824 <div class="orderedlist">
825 <ol type="1">
826 <li>
827 <p>
828 Add get functions for each set functions of DB and DB_ENV structures which didn't have one.[#16505]
829 </p>
830 </li>
831 </ol>
832 </div>
833 </div>
834 <div class="sect2" lang="en" xml:lang="en">
835 <div class="titlepage">
836 <div>
837 <div>
838 <h3 class="title"><a id="idp1218344"></a>
839 C++-specific API Changes:</h3>
840 </div>
841 </div>
842 </div>
843 <div class="orderedlist">
844 <ol type="1">
845 <li>
846 <p>
847 The get and set_lk_partitions methods are now available.
848
849 </p>
850 </li>
851 <li>
852 <p>
853
854 Add get functions for each set functions of Db and DbEnv classes which didn't have one.[#16505]
855
856 </p>
857 </li>
858 <li>
859 <p>
860 Fixed a memory leak when using nested transactions.[#16956]
861 </p>
862 </li>
863 </ol>
864 </div>
865 </div>
866 <div class="sect2" lang="en" xml:lang="en">
867 <div class="titlepage">
868 <div>
869 <div>
870 <h3 class="title"><a id="idp1238856"></a>
871 Java-specific API Changes:</h3>
872 </div>
873 </div>
874 </div>
875 <div class="orderedlist">
876 <ol type="1">
877 <li>
878 <p>
879 Fixed a bug where the replication finer-grained verbose
880 flags were not available in the Java API. [#15419]
881 </p>
882 </li>
883 <li>
884 <p>
885 Fixed a bug in the BTree prefix compression API when called from the Java
886
887 API. DBTs were not properly initialized. [#16417]
888
889 </p>
890 </li>
891 <li>
892 <p>
893 Fixed a bug so that LogCursor will work correctly from the Java API.
894 [#16827]
895
896 </p>
897 </li>
898 <li>
899 <p>
900 Fixed a bug so that position(), limit() and capacity() of ByteBuffers are obeyed by DatabaseEntry objects. [#16982]
901
902 </p>
903 </li>
904 </ol>
905 </div>
906 </div>
907 <div class="sect2" lang="en" xml:lang="en">
908 <div class="titlepage">
909 <div>
910 <div>
911 <h3 class="title"><a id="idp1232112"></a>
912
913 Direct Persistence Layer (DPL), Bindings and Collections API:</h3>
914 </div>
915 </div>
916 </div>
917 <div class="orderedlist">
918 <ol type="1">
919 <li>
920 <p>
921 The StoredMap class now implements the standard java.util.concurrent.ConcurrentMap interface. [#15382]
922 </p>
923 </li>
924 <li>
925 <p>
926 Report a meaningful IllegalArgumentException when @Persistent is
927 incorrectly declared on an enum class. Before, the confusing message
928 Persistent class has non-persistent superclass: java.lang.Enum was
929 reported. [#15623]
930 </p>
931 </li>
932 <li>
933 <p>
934 Report a meaningful IllegalArgumentException when @Persistent is
935 incorrectly declared on an interface. Before, a NullPointerException
936 was reported. [#15841]
937 </p>
938 </li>
939 <li>
940 <p>
941 Several validation checks have been added or corrected having to do
942 with entity subclasses, which are @Persistent classes that extend an
943 @Entity class. [#16077]
944 </p>
945 </li>
946 <li>
947 <p>
948 Optimized marshaling for large numbers of embedded objects improving performance. [#16198]
949 </p>
950 </li>
951 <li>
952 <p>
953 The StoredMap class now implements the Java 1.5 ConcurrentMap interface. [#16218]
954 </p>
955 </li>
956 <li>
957 <p>
958 Fix a DPL bug that caused exceptions when using a class Converter for an instance containing non-simple fields. [#16233]
959 </p>
960 </li>
961 <li>
962 <p>
963 Add EntityCursor.setCacheMode and getCacheMode. See the com.sleepycat.je.CacheMode class for more information. [#16239]
964 </p>
965 </li>
966 <li>
967 <p>
968 Fix a bug that prevents evolution of @SecondaryKey information in
969 an entity subclass (a class that extends an @Entity class). [#16253]
970 </p>
971 </li>
972 <li>
973 <p>
974 Report a meaningful IllegalArgumentException when @Persistent or
975 @Entity is incorrectly used on an inner class (a non-static nested
976 class). Before, the confusing message No default constructor was
977 reported. [#16279]
978 </p>
979 </li>
980 <li>
981 <p>
982 Improved the reliability of Entity subclasses that define secondary
983 keys by requiring that they be registered prior to storing an instance
984 of the class. [#16399]
985 </p>
986 </li>
987 <li>
988 <p>
989 Fix a bug that under certain circumstances causes
990 "IllegalArgumentException: Not a key class" when calling
991 EntityStore.getSubclassIndex, EntityStore.getPrimaryConfig,
992 EntityStore.getSecondaryConfig, or PrimaryIndex.put, and a composite
993 key class is used. [#16407]
994 </p>
995 </li>
996 <li>
997 <p>
998 Fixed a bug so that one can now compile DPL in the Java API on Windows.
999 [#16570]
1000 </p>
1001 </li>
1002 <li>
1003 <p>
1004 The com.sleepycat.collections.TransactionRunner.handleException
1005 method has been added to allow overriding the default transaction retry
1006 policy. See the javadoc for this method for more information. [#16574]
1007
1008 </p>
1009 </li>
1010 <li>
1011 <p>
1012 Fix a bug that causes an assertion to fire or a
1013 NullPointerException (when assertions are disabled) from the
1014 EntityStore constructor. The problem occurs only when the previously
1015 created EntityStore contains an entity with a secondary key definition
1016 in which the key name has been overridden and is different than the
1017 field name. [#16819]
1018 </p>
1019 </li>
1020 <li>
1021 <p>
1022 Key cursors have been optimized to significantly reduce I/O when
1023 the READ_UNCOMMITTED isolation mode is used. See EntityIndex.keys for
1024 more information. [#16859]
1025 </p>
1026 </li>
1027 <li>
1028 <p>
1029 Report a meaningful IllegalArgumentException when NULLIFY is used
1030 with a @SecondaryKey and the field is a primitive type. Before, the
1031 confusing message Key field object may not be null was reported.
1032 [#17011]
1033 </p>
1034 </li>
1035 <li>
1036 <p>
1037 Enum fields may now be used as DPL keys, including primary keys,
1038 secondary keys, and fields of composite key classes. Comparators are
1039 supported for composite key classes containing enum fields. [#17140]
1040 </p>
1041 </li>
1042 <li>
1043 <p>
1044 Fix a bug that prevented the use of custom key comparisons
1045 (composite key classes that implement Comparable) for secondary keys
1046 defined as ONE_TO_MANY or MANY_TO_MANY.[#17207]
1047 </p>
1048 </li>
1049 <li>
1050 <p>
1051 The db.jar file now contains a Premain class which enables bytecode
1052 enhancement using the JVM instrumentation commands. The built-in proxy
1053 classes are also now enhanced in the db.jar file, which enables
1054 off-line bytecode enhancement. For more information on DPL bytecode
1055 enhancement and how to use both instrumentation and off-line
1056 enhancement, please see the com.sleepycat.persist.model.ClassEnhancer
1057 javadoc. [#17233]
1058
1059 </p>
1060 </li>
1061 </ol>
1062 </div>
1063 </div>
1064 <div class="sect2" lang="en" xml:lang="en">
1065 <div class="titlepage">
1066 <div>
1067 <div>
1068 <h3 class="title"><a id="idp1232384"></a>
1069
1070 Tcl-specific API Changes:</h3>
1071 </div>
1072 </div>
1073 </div>
1074 <div class="orderedlist">
1075 <ol type="1">
1076 <li>
1077 <p>
1078 The mutex API is now available when using Tcl. [#16342]
1079
1080
1081 </p>
1082 </li>
1083 </ol>
1084 </div>
1085 </div>
1086 <div class="sect2" lang="en" xml:lang="en">
1087 <div class="titlepage">
1088 <div>
1089 <div>
1090 <h3 class="title"><a id="idp1244368"></a>
1091 RPC-specific Client/Server Changes:</h3>
1092 </div>
1093 </div>
1094 </div>
1095 <div class="itemizedlist">
1096 <ul type="disc">
1097 <li>
1098 <p>
1099
1100
1101 RPC support has been removed from Berkeley DB. [#16785]
1102 </p>
1103 </li>
1104 </ul>
1105 </div>
1106 </div>
1107 <div class="sect2" lang="en" xml:lang="en">
1108 <div class="titlepage">
1109 <div>
1110 <div>
1111 <h3 class="title"><a id="idp1245896"></a>
1112 Replication Changes:</h3>
1113 </div>
1114 </div>
1115 </div>
1116 <div class="orderedlist">
1117 <ol type="1">
1118 <li>
1119 <p>
1120 Improved testing of initial conditions for rep and repmgr APIs and added heartbeat timeouts to rep_get_timeout.[#14977]
1121 </p>
1122 </li>
1123 <li>
1124 <p>
1125 Added DB_REP_CONF_INMEM replication configuration flag to store replication information
1126 exclusively in-memory without creating any files on-disk. [#15257]
1127
1128 </p>
1129 </li>
1130 <li>
1131 <p>
1132 Added repmgr support for multi-process shared env [#15982]
1133
1134 </p>
1135 </li>
1136 <li>
1137 <p>
1138 Fixed a bug where opening a cursor from a database handle failed to
1139 check whether the database handle was still fresh. If the database
1140 handle had been invalidated by a replication client synchronizing with
1141 a new master, it could point to invalid information. [#15990]
1142
1143 </p>
1144 </li>
1145 <li>
1146 <p>
1147 Fixed a bug so that if LOG_REQ gets an archived LSN, replication sends VERIFY_FAIL. [#16004]
1148
1149 </p>
1150 </li>
1151 <li>
1152 <p>
1153 Added timestamp and process/thread id to replication verbose messages. [#16098]
1154 </p>
1155 </li>
1156 <li>
1157 <p>
1158 Fixed a bug where, in very rare circumstances, two repmgr sites
1159 could connect to each other at the exact same time, the connection
1160 attempts "collide" and fail, and the same collision repeats in time
1161 synchronization indefinitely. [#16114]
1162
1163 </p>
1164 </li>
1165 <li>
1166 <p>
1167 Fixed a bug where a missing database file (FILE_FAIL error condition) can interrupt a
1168 client synchronization without restarting it. [#16130]
1169
1170
1171 </p>
1172 </li>
1173 <li>
1174 <p>
1175 Fixed a bug by adding REP_F_INREPSTART flag to prevent racing threads in rep_start. [#16247]
1176
1177
1178 </p>
1179 </li>
1180 <li>
1181 <p>
1182 Fixed a bug to not return HOLDELECTION if we are already in the
1183 middle of an election. Updated the egen so the election thread
1184 will notice. [#16270]
1185 </p>
1186 </li>
1187 <li>
1188 <p>
1189 Fixed a bug in buffer space computation, which could have led to
1190 memory corruption in rare circumstances, when using bulk transfer.
1191 [#16357]
1192
1193
1194 </p>
1195 </li>
1196 <li>
1197 <p>
1198 Fixed a bug that prevented replication clients from opening a
1199 sequence. The sequence is opened for read operations only.
1200 [#16406]
1201 </p>
1202 </li>
1203 <li>
1204 <p>
1205 Fixed a bug by removing an assertion about priority in elections. It is not correct
1206 because it could have changed by then. Remove unused recover_gen
1207 field. [#16412]
1208
1209 </p>
1210 </li>
1211 <li>
1212 <p>
1213 Fixed a bug to now ignore a message from client if it is an LSN not recognized in
1214 a LOG_REQ. [#16444]
1215
1216 </p>
1217 </li>
1218 <li>
1219 <p>
1220 Fixed a bug so that on POSIX systems, repmgr no longer restores default
1221 SIGPIPE action upon env close, if it was necessary to change it during
1222 start-up. This allows remaining repmgr environments within the same
1223 process, if any, to continue operating after one of them is closed. [#16454]
1224
1225
1226 </p>
1227 </li>
1228 <li>
1229 <p>
1230 After a replication client restarts with recovery, any named
1231 in-memory databases are now re-materialized from the rest of the
1232 replication group upon synchronization with the master. [#16495]
1233
1234 </p>
1235 </li>
1236 <li>
1237 <p>
1238 Fixed a bug by adding missing rep_get_config flags. [#16527]
1239
1240 </p>
1241 </li>
1242 <li>
1243 <p>
1244 Instead of sleeping if the bulk buffer is in transmission, return so that we can send as a singleton. [#16537]
1245
1246 </p>
1247 </li>
1248 <li>
1249 <p>
1250 Fixed a bug by changing __env_refresh to not hit assert on -private -rep env with an in-memory database. [#16546]
1251
1252
1253 </p>
1254 </li>
1255 <li>
1256 <p>
1257 Fixed a bug in the Windows implementation of repmgr where a large number of commit threads concurrently awaiting
1258 acknowledgments could result in memory corruption, and leaking
1259 Win32 Event Objects.
1260 [#16548]
1261 </p>
1262 </li>
1263 <li>
1264 <p>
1265 Fixed a bug by changing repmgr to count a dropped connection when noticing a lacking
1266 heartbeat; fixed hearbeat test to check for election, rather than connection
1267 drop count, and more reasonable time limit; fixed test to poll until
1268 desired result, rather than always sleeping max possible
1269 time. [#16550]
1270
1271 </p>
1272 </li>
1273 <li>
1274 <p>
1275 Fixed "master changes" stat to count when local site becomes master too. [#16562]
1276
1277 </p>
1278 </li>
1279 <li>
1280 <p>
1281 Fixed a bug where a c2c client would send UPDATE_REQ to another client [#16592]
1282
1283 </p>
1284 </li>
1285 <li>
1286 <p>
1287 Removed code to proactively expire leases when we don't get acks.
1288 Leases maintain their own LSNs to know. [#16494]
1289 </p>
1290 </li>
1291 <li>
1292 <p>
1293 Fixed a bug where a client may not sync pages during internal init. [#16671]
1294
1295 </p>
1296 </li>
1297 <li>
1298 <p>
1299 Fixed a bug where a client that received and skipped a log record
1300 from the master during an election, then won the election, could then
1301 try to request a copy of the skipped log record. The result was
1302 an attempt to send a request to the local site, which is invalid: this
1303 could confuse a replication Base API application, or cause the
1304 Replication Manager to crash. [#16700]
1305 </p>
1306 </li>
1307 <li>
1308 <p>
1309
1310 Fixed a bug which could have caused data loss or corruption (at the
1311 client only) if a replication client rolled back existing transactions
1312 in order to synchronize with a new master, and then crashed/recovered
1313 before a subsequent checkpoint operation had been replicated from the
1314 master. [#16732]
1315
1316 </p>
1317 </li>
1318 <li>
1319 <p>
1320 Fixed a bug so that replication now retries on DB_LOCK_NOTGRANTED. [#16741]
1321 </p>
1322 </li>
1323 <li>
1324 <p>
1325 Fixed a potential deadlock in rep_verify_fail. [#16779]
1326 </p>
1327 </li>
1328 <li>
1329 <p>
1330 Fixed a bug so that an application will no longer segv if nsites
1331 given was smaller than number of sites that actually exists. [#16825]
1332 </p>
1333 </li>
1334 </ol>
1335 </div>
1336 </div>
1337 <div class="sect2" lang="en" xml:lang="en">
1338 <div class="titlepage">
1339 <div>
1340 <div>
1341 <h3 class="title"><a id="idp1242240"></a>
1342 XA Resource Manager Changes:</h3>
1343 </div>
1344 </div>
1345 </div>
1346 <div class="orderedlist">
1347 <ol type="1">
1348 <li>
1349 <p>
1350 The XA Resource Manager has been removed from Berkeley DB. [#6459]
1351
1352 </p>
1353 </li>
1354 </ol>
1355 </div>
1356 </div>
1357 <div class="sect2" lang="en" xml:lang="en">
1358 <div class="titlepage">
1359 <div>
1360 <div>
1361 <h3 class="title"><a id="idp1247728"></a>
1362 Locking Subsystem Changes:</h3>
1363 </div>
1364 </div>
1365 </div>
1366 <div class="orderedlist">
1367 <ol type="1">
1368 <li>
1369 <p>
1370 Fixed a bug to prevent unlocking a mutex twice if we ran out of transactional locks.
1371 [#16285]
1372 </p>
1373 </li>
1374 <li>
1375 <p>
1376 Fixed a bug to prevent a segmentation trap in __lock_open if there were an error during the opening of an environment.
1377 [#16307]
1378 </p>
1379 </li>
1380 <li>
1381 <p>
1382 Fixed a bug to now avoid a deadlock if user defined locks are used only one lock partition is defined.[#16415]
1383 </p>
1384 </li>
1385 <li>
1386 <p>
1387 Fixed concurrency problems in __dd_build, __dd_abort by adding LOCK_SYSTEM_LOCK() calls to
1388 __dd_build and __dd_abort.
1389 [16489]
1390 </p>
1391 </li>
1392 <li>
1393 <p>
1394 Fixed a bug that could cause a panic if a transaction which
1395 updated a database that was supporting
1396 READ_UNCOMMITED readers aborted and it hit a race
1397 with a thread running the deadlock detector. [#16490]
1398 </p>
1399 </li>
1400 <li>
1401 <p>
1402 Fixed a race condition in deadlock detection that could overwrite heap. [#16541]
1403
1404 </p>
1405 </li>
1406 <li>
1407 <p>
1408 Fixed a bug so that DB_STAT_CLEAR now restores the value of st_partitions. [#16701]
1409
1410
1411 </p>
1412 </li>
1413 </ol>
1414 </div>
1415 </div>
1416 <div class="sect2" lang="en" xml:lang="en">
1417 <div class="titlepage">
1418 <div>
1419 <div>
1420 <h3 class="title"><a id="idp1241128"></a>
1421 Logging Subsystem Changes:</h3>
1422 </div>
1423 </div>
1424 </div>
1425 <div class="orderedlist">
1426 <ol type="1">
1427 <li>
1428 <p>
1429 Fixed a bug so that the header checksum is only ignored when the log is from a previous version [#16281]
1430 </p>
1431 </li>
1432 <li>
1433 <p>
1434 Fixed a bug by removing a possible race condition with logc_get(DB_FIRST) and log archiving. [#16387]
1435
1436 </p>
1437 </li>
1438 <li>
1439 <p>
1440 Fixed a bug that could cause a recovery failure of a create of a database that was aborted. [#16824]
1441
1442 </p>
1443 </li>
1444 <li>
1445 <p>
1446 An in-memory database creation has an intermediate phase where we have a semi-open DBP. If
1447 we crash in that state, then recovery was failing because it tried to use a partically open
1448 database handle. This fix checks for that case, and avoids trying to undo page writes for
1449 databases in that interim step. [#17203]
1450
1451 </p>
1452 </li>
1453 </ol>
1454 </div>
1455 </div>
1456 <div class="sect2" lang="en" xml:lang="en">
1457 <div class="titlepage">
1458 <div>
1459 <div>
1460 <h3 class="title"><a id="idp1258328"></a>
1461 Memory Pool Subsystem Changes:</h3>
1462 </div>
1463 </div>
1464 </div>
1465 <div class="orderedlist">
1466 <ol type="1">
1467 <li>
1468 <p>
1469 Fixed a bug that occurred after all open handles on a file are closed. Needed to clear the TXN_NOT_DURABLE
1470 flag (if set) and mark the file as DURABLE_UNKNOWN in the memory pool. [#16091]
1471
1472 </p>
1473 </li>
1474 <li>
1475 <p>
1476 Fixed a possible race condition between dirtying and freeing a buffer that could result in a panic or corruption.
1477 [#16530]
1478 </p>
1479 </li>
1480 <li>
1481 <p>
1482 Fixed a memory leak where allocated space for temporary file names are not released. [#16956]
1483
1484 </p>
1485 </li>
1486 </ol>
1487 </div>
1488 </div>
1489 <div class="sect2" lang="en" xml:lang="en">
1490 <div class="titlepage">
1491 <div>
1492 <div>
1493 <h3 class="title"><a id="idp1258720"></a>
1494 Mutex Subsystem Changes:</h3>
1495 </div>
1496 </div>
1497 </div>
1498 <div class="orderedlist">
1499 <ol type="1">
1500 <li>
1501 <p>
1502 Fixed a bug when using mutexes for SMP MIPS/Linux systems. [#15914]
1503
1504 </p>
1505 </li>
1506 <li>
1507 <p>
1508 POSIX mutexes are now the default on Solaris. [#16066]
1509
1510 </p>
1511 </li>
1512 <li>
1513 <p>
1514 Fixed a bug in mutex allocation with multiple cache regions. [#16178]
1515 </p>
1516 </li>
1517 <li>
1518 <p>
1519 Fixed MIPS/Linux mutexes in 4.7. [#16209]
1520
1521 </p>
1522 </li>
1523 <li>
1524 <p>
1525 Fixed a bug that would cause a mutex to be unlocked a second time if we ran out of space while tracking pinned pages.
1526 [#16228]
1527 </p>
1528 </li>
1529 <li>
1530 <p>
1531 Fixed a bug Sparc/GCC when using test-and-set mutexes. They are now aligned on an 8-byte boundary. [#16243]
1532
1533 </p>
1534 </li>
1535 <li>
1536 <p>
1537 Fixed a bug to now prevent a thread calling DB_ENV-&gt;failcheck
1538 to hang on a mutex held by a dead thread.
1539
1540 [#16446]
1541 </p>
1542 </li>
1543 <li>
1544 <p>
1545 Fixed a bug so that __db_pthread_mutex_unlock() now handles the failchk case
1546 of finding a busy mutex which was owned by a now-dead process. [#16557]
1547 </p>
1548 </li>
1549 <li>
1550 <p>
1551
1552 Removed support for the mutex implementation based on the "fcntl" system
1553 call. Anyone configuring Berkeley DB to use this type of mutex in an
1554 earlier release will need to either switch to a different mutex type
1555 or contact Oracle for support. [#17470]
1556
1557 </p>
1558 </li>
1559 </ol>
1560 </div>
1561 </div>
1562 <div class="sect2" lang="en" xml:lang="en">
1563 <div class="titlepage">
1564 <div>
1565 <div>
1566 <h3 class="title"><a id="idp1240832"></a>
1567 Test Suite Changes</h3>
1568 </div>
1569 </div>
1570 </div>
1571 <div class="orderedlist">
1572 <ol type="1">
1573 <li>
1574 <p>
1575 Fixed a bug when using failchk(), where a mutex was not released. [#15982]
1576
1577 </p>
1578 </li>
1579 <li>
1580 <p>
1581 Added a set of basic repmgr tests to run_std and run_all. [#16092]
1582 </p>
1583 </li>
1584 <li>
1585 <p>
1586 Added control wrapper for db_reptest to test suite. [#16161]
1587
1588 </p>
1589 </li>
1590 <li>
1591 <p>
1592 Fixed a bug to now skip tests if db_reptest is not configured. [#16161]
1593 </p>
1594 </li>
1595 <li>
1596 <p>
1597 Changed name of run_db_in_mem to run_inmem_db, and run_inmem to
1598 run_inmem_log and made the arg orders consistent. [#16358]
1599
1600 </p>
1601 </li>
1602 <li>
1603 <p>
1604 Fixed a bug to now clean up stray handles when rep_verify doesn't work. [#16390]
1605
1606 </p>
1607 </li>
1608 <li>
1609 <p>
1610 Fixed a bug to avoid db_reptest passing the wrong flag to repmgr_start when there is already a master. [#16475]
1611
1612 </p>
1613 </li>
1614 <li>
1615 <p>
1616 Added new tests for abbreviated internal init. Fixed test not to expect in-memory database to survive recovery. [#16495]
1617
1618
1619 </p>
1620 </li>
1621 <li>
1622 <p>
1623 Fix a bug, to add page size for txn014 if the default page size is too small.
1624 Move files instead of renaming directory for env015 on QNX. [#16627]
1625
1626 </p>
1627 </li>
1628 <li>
1629 <p>
1630 Added new rep088 test for log truncation integrity. [#16732]
1631 </p>
1632 </li>
1633 <li>
1634 <p>
1635 Fixed a bug by adding a checkpoint in rep061 to make sure we have
1636 messages to process. Otherwise we could hang with client stuck in
1637 internal init, and no
1638 incoming messages to trigger rerequest.
1639 [#16781]
1640
1641 </p>
1642 </li>
1643 </ol>
1644 </div>
1645 </div>
1646 <div class="sect2" lang="en" xml:lang="en">
1647 <div class="titlepage">
1648 <div>
1649 <div>
1650 <h3 class="title"><a id="idp1249776"></a>
1651 Transaction Subsystem Changes:</h3>
1652 </div>
1653 </div>
1654 </div>
1655 <div class="orderedlist">
1656 <ol type="1">
1657 <li>
1658 <p>
1659 Fixed a bug to no longer generate an error if DB_ENV-&gt;set_flags
1660 (DB_TXN_NOSYNC) was called after the environment was opened. [#16492]
1661 </p>
1662 </li>
1663 <li>
1664 <p>
1665 Fixed a bug to remove a potential hang condition in replication os_yield loops
1666 when DB_REGISTER used with replication by adding PANIC_CHECKS.
1667 [#16502]
1668 </p>
1669 </li>
1670 <li>
1671 <p>
1672 Fix a bug to now release mutex obtained before special condition returns in __db_cursor_int and __txn_record_fname. [#16665]
1673 </p>
1674 </li>
1675 <li>
1676 <p>
1677 Fixed a leak in the transaction region when a snapshot update transaction accesses more than 4 databases.
1678 [#16734]
1679 </p>
1680 </li>
1681 <li>
1682 <p>
1683 Enabled setting of set_thread_count via the DB_CONFIG file. [#16878]
1684 </p>
1685 </li>
1686 <li>
1687 <p>
1688 Fixed a mutex leak in some corner cases. [#16665]
1689 </p>
1690 </li>
1691 </ol>
1692 </div>
1693 </div>
1694 <div class="sect2" lang="en" xml:lang="en">
1695 <div class="titlepage">
1696 <div>
1697 <div>
1698 <h3 class="title"><a id="idp1271664"></a>
1699 Utility Changes:</h3>
1700 </div>
1701 </div>
1702 </div>
1703 <div class="orderedlist">
1704 <ol type="1">
1705 <li>
1706 <p>
1707 The db_stat utility with the -RA flags will now print a list of known remote replication flags when using repmgr. [#15484]
1708
1709 </p>
1710 </li>
1711 <li>
1712 <p>
1713 Restructured DB salvage to walk known leaf pages prior to looping over all db pages. [#16219]
1714
1715
1716 </p>
1717 </li>
1718 <li>
1719 <p>
1720 Fixed a problem with upgrades to 4.7 on big endian machines. [#16411]
1721
1722 </p>
1723 </li>
1724 <li>
1725 <p>
1726 Fixed a bug so that now db_load consistently returns &gt;1 on failure. [#16765]
1727
1728 </p>
1729 </li>
1730 <li>
1731 <p>
1732 The db_dump utility now accepts a "-m" flag to dump information from a named in-memory database. [#16896]
1733
1734 </p>
1735 </li>
1736 <li>
1737 <p>
1738 Fixed a bug that would cause db_hotbackup to fail if a database file was removed while it was running. [#17234]
1739 </p>
1740 </li>
1741 </ol>
1742 </div>
1743 </div>
1744 <div class="sect2" lang="en" xml:lang="en">
1745 <div class="titlepage">
1746 <div>
1747 <div>
1748 <h3 class="title"><a id="idp1274104"></a>
1749 Configuration, Documentation, Sample Application, Portability and Build Changes:</h3>
1750 </div>
1751 </div>
1752 </div>
1753 <div class="orderedlist">
1754 <ol type="1">
1755 <li>
1756 <p>
1757 Fixed a bug to now use the correct Perl include path. [#16058]
1758 </p>
1759 </li>
1760 <li>
1761 <p>
1762 Updated the version of the Microsoft runtime libraries shipped. [#16058]
1763 </p>
1764 </li>
1765 <li>
1766 <p>
1767 Upgraded the Visual Studio build files to be based on Visual Studio 8 (2005+).
1768 The build is now simplified. Users can still upgrade the Visual Studio 6.0 project files, if they want to
1769
1770 use Visual Studio .NET (7.1)
1771 [#16108]
1772 </p>
1773 </li>
1774 <li>
1775 <p>
1776
1777 Expanded the ex_rep example with checkpoint and log archive threads,
1778 deadlock detection, new options for acknowledgment policy and bulk
1779 transfer, and use of additional replication features and events.
1780 [#16109]
1781
1782 </p>
1783 </li>
1784 <li>
1785 <p>
1786 Fixed a bug so that optimizations on AIX are re-enabled, avoiding incorrect code generation. [#16141]
1787
1788 </p>
1789 </li>
1790 <li>
1791 <p>
1792 Removed a few compiler warnings and three type redefinitons when using vxworks and the GNU compiler. [#16341]
1793
1794 </p>
1795 </li>
1796 <li>
1797 <p>
1798 Fixed a bug on Sparc v9 so that MUTEX_MEMBAR() now uses
1799 membar_enter() to get a #storeload barrier rather than just stbar's
1800 #storestor. [#16468]
1801 </p>
1802 </li>
1803 <li>
1804 <p>
1805 Berkeley DB no longer supports Win9X and Windows Me (Millenium edition).
1806 </p>
1807 </li>
1808 <li>
1809 <p>
1810 Fixed lock_get and lock_vec examples from the Java (and C#) API. Updated the Java lock
1811 example. [#16506]
1812 </p>
1813 </li>
1814 <li>
1815 <p>
1816 Fixed a bug to correctly handle the TPC-B history record on 64-bit systems. [#16709]
1817 </p>
1818 </li>
1819 <li>
1820 <p>
1821 Add STL API to Linux build. Can be enabled via the --enable-stl flag. [#16786]
1822
1823 </p>
1824 </li>
1825 <li>
1826 <p>
1827 Add STL API to Windows build, by building the db_stl project in the
1828 solution. There are also stl's test and examples projects in this
1829 solution. [#16786]
1830
1831 </p>
1832 </li>
1833 <li>
1834 <p>
1835 Add support to build dll projects for WinCE, in order to
1836 enable users to build DB into a dll in addition to a static
1837 library.[#16625]
1838
1839 </p>
1840 </li>
1841 <li>
1842 <p>
1843 Fixed a weakness where several malloc/realloc return values are not checked before use.[#16664]
1844 </p>
1845 </li>
1846 <li>
1847 <p>
1848 Enabled DB-&gt;compact for WinCE.[#15897]
1849 </p>
1850 </li>
1851 <li>
1852 <p>
1853 HP-UX 10 is no longer supported.
1854 </p>
1855 </li>
1856 </ol>
1857 </div>
1858 </div>
1859 </div>
1860 <div class="navfooter">
1861 <hr />
1862 <table width="100%" summary="Navigation footer">
1863 <tr>
1864 <td width="40%" align="left"><a accesskey="p" href="upgrade_4_8_disk.html">Prev</a> </td>
1865 <td width="20%" align="center">
1866 <a accesskey="u" href="upgrade_4_8_toc.html">Up</a>
1867 </td>
1868 <td width="40%" align="right"> <a accesskey="n" href="test.html">Next</a></td>
1869 </tr>
1870 <tr>
1871 <td width="40%" align="left" valign="top">Upgrade Requirements </td>
1872 <td width="20%" align="center">
1873 <a accesskey="h" href="index.html">Home</a>
1874 </td>
1875 <td width="40%" align="right" valign="top"> Chapter 14. 
1876 Test Suite
1877 </td>
1878 </tr>
1879 </table>
1880 </div>
1881 </body>
1882 </html>