Debian Codegraph @

docs/installation/changelog_5_2.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 Library Version 11.2.5.2 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_52_toc.html" title="Chapter 10.  Upgrading Berkeley DB 11.2.5.1 applications to Berkeley DB 11.2.5.2" />
11 <link rel="prev" href="upgrade_11gr2_52_hot_backup.html" title="Hot Backup Changes" />
12 <link rel="next" href="upgrade_51_toc.html" title="Chapter 11.  Upgrading Berkeley DB 11.2.5.0 applications to Berkeley DB 11.2.5.1" />
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 Library Version 11.2.5.2 Change Log</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="upgrade_11gr2_52_hot_backup.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 10. 
26 Upgrading Berkeley DB 11.2.5.1 applications to Berkeley DB 11.2.5.2
27 </th>
28 <td width="20%" align="right"> <a accesskey="n" href="upgrade_51_toc.html">Next</a></td>
29 </tr>
30 </table>
31 <hr />
32 </div>
33 <div class="sect1" lang="en" xml:lang="en">
34 <div class="titlepage">
35 <div>
36 <div>
37 <h2 class="title" style="clear: both"><a id="changelog_5_2"></a>Berkeley DB Library Version 11.2.5.2 Change Log</h2>
38 </div>
39 </div>
40 </div>
41 <div class="toc">
42 <dl>
43 <dt>
44 <span class="sect2">
45 <a href="changelog_5_2.html#idp972456">Database or Log File On-Disk Format Changes</a>
46 </span>
47 </dt>
48 <dt>
49 <span class="sect2">
50 <a href="changelog_5_2.html#idp978720">New Features</a>
51 </span>
52 </dt>
53 <dt>
54 <span class="sect2">
55 <a href="changelog_5_2.html#idp984720">Database Environment Changes</a>
56 </span>
57 </dt>
58 <dt>
59 <span class="sect2">
60 <a href="changelog_5_2.html#idp995752">Concurrent Data Store Changes</a>
61 </span>
62 </dt>
63 <dt>
64 <span class="sect2">
65 <a href="changelog_5_2.html#idp989160">Access Method Changes</a>
66 </span>
67 </dt>
68 <dt>
69 <span class="sect2">
70 <a href="changelog_5_2.html#idp989544">SQL API Changes</a>
71 </span>
72 </dt>
73 <dt>
74 <span class="sect2">
75 <a href="changelog_5_2.html#idp971912">C API Changes</a>
76 </span>
77 </dt>
78 <dt>
79 <span class="sect2">
80 <a href="changelog_5_2.html#idp996528">Tcl-specific API Changes</a>
81 </span>
82 </dt>
83 <dt>
84 <span class="sect2">
85 <a href="changelog_5_2.html#idp972000">C#-specific API Changes</a>
86 </span>
87 </dt>
88 <dt>
89 <span class="sect2">
90 <a href="changelog_5_2.html#idp994456">Replication Changes</a>
91 </span>
92 </dt>
93 <dt>
94 <span class="sect2">
95 <a href="changelog_5_2.html#idp996912">Locking Subsystem Changes</a>
96 </span>
97 </dt>
98 <dt>
99 <span class="sect2">
100 <a href="changelog_5_2.html#idp1010640">Logging Subsystem Changes</a>
101 </span>
102 </dt>
103 <dt>
104 <span class="sect2">
105 <a href="changelog_5_2.html#idp992728">Memory Pool Subsystem Changes</a>
106 </span>
107 </dt>
108 <dt>
109 <span class="sect2">
110 <a href="changelog_5_2.html#idp1018872">Mutex Subsystem Changes</a>
111 </span>
112 </dt>
113 <dt>
114 <span class="sect2">
115 <a href="changelog_5_2.html#idp1011056">Transaction Subsystem Changes</a>
116 </span>
117 </dt>
118 <dt>
119 <span class="sect2">
120 <a href="changelog_5_2.html#idp1003424">Test Suite Changes</a>
121 </span>
122 </dt>
123 <dt>
124 <span class="sect2">
125 <a href="changelog_5_2.html#idp1029752">Utility Changes</a>
126 </span>
127 </dt>
128 <dt>
129 <span class="sect2">
130 <a href="changelog_5_2.html#idp1031368">Configuration, Documentation, Sample Apps, Portability and Build Changes</a>
131 </span>
132 </dt>
133 <dt>
134 <span class="sect2">
135 <a href="changelog_5_2.html#idp1003200">Example Changes</a>
136 </span>
137 </dt>
138 <dt>
139 <span class="sect2">
140 <a href="changelog_5_2.html#idp1034280">Miscellaneous Bug Fixes</a>
141 </span>
142 </dt>
143 <dt>
144 <span class="sect2">
145 <a href="changelog_5_2.html#idp1035816">Deprecated Features</a>
146 </span>
147 </dt>
148 <dt>
149 <span class="sect2">
150 <a href="changelog_5_2.html#idp1037736">Known Bugs</a>
151 </span>
152 </dt>
153 </dl>
154 </div>
155 <p>
156 This is the changelog for Berkeley DB
157 11<span class="emphasis"><em>g</em></span> Release 2 (library
158 version 11.2.5.2).
159 </p>
160 <div class="sect2" lang="en" xml:lang="en">
161 <div class="titlepage">
162 <div>
163 <div>
164 <h3 class="title"><a id="idp972456"></a>Database or Log File On-Disk Format Changes</h3>
165 </div>
166 </div>
167 </div>
168 <div class="orderedlist">
169 <ol type="1">
170 <li>
171 <p>
172 Existing database file formats were unchanged in library version 11.2.5.2. However, a new database file format, "heap", was introduced.
173 </p>
174 </li>
175 <li>
176 <p>
177 The log file format changed in library version 11.2.5.2.
178 </p>
179 </li>
180 </ol>
181 </div>
182 </div>
183 <div class="sect2" lang="en" xml:lang="en">
184 <div class="titlepage">
185 <div>
186 <div>
187 <h3 class="title"><a id="idp978720"></a>New Features</h3>
188 </div>
189 </div>
190 </div>
191 <div class="orderedlist">
192 <ol type="1">
193 <li>
194 <p>
195 Replication Manager now manages Group Membership. This allows sites to be added to and removed from the replication group dynamically. Replication Manager also now automatically keeps track of the group size (nsites). [#14778]
196 </p>
197 </li>
198 <li>
199 <p>
200 Initial allocations for various non-pagebuffer (mpool) system resources may now be specified, as well as a total maximum of memory to use, rather than specifying a maximum value for each resource. [#16334]
201 </p>
202 </li>
203 <li>
204 <p>
205 Implemented Berkeley DB globalization support architecture to enable localized and stripped error and output messages. [#16863]
206 </p>
207 </li>
208 <li>
209 <p>
210 Added a new access method, DB_HEAP. Heap aims for efficient use (and re-use) of disk space. Keys in a heap database are automatically generated by BDB, it is recommended that one or more secondary indexes be used with a heap database. For full details on DB_HEAP, see the Programmer's Reference Guide. [#17627]
211 </p>
212 </li>
213 <li>
214 <p>
215 Added a compatible mode for 32bit and 64bit Windows environment. [#18225]
216 </p>
217 </li>
218 <li>
219 <p>
220 For the SQL API, concurrency between read and write transactions can now be enabled using "PRAGMA multiversion". Added several pragmas that can be used to configure the Berkeley DB datastore. [#18521]
221 </p>
222 </li>
223 <li>
224 <p>
225 Add several new pragmas to provide in-process support for replication in the SQL API. [#18528]
226 </p>
227 </li>
228 <li>
229 <p>
230 The Berkeley DB X/open compliant XA resource manager has been restored, including support for multi-threaded servers. [#18701]
231 </p>
232 </li>
233 <li>
234 <p>
235 Improved the ability to recover from an application crash on connections through the SQL API. Berkeley DB will try to automatically clean up locks, mutexes and transactions from the failed process. [#18713]
236 </p>
237 </li>
238 <li>
239 <p>
240 Add support for sequence usage in the SQL API using SQLite custom functions. [#19007]
241 </p>
242 </li>
243 <li>
244 <p>
245 Add a pragma in the SQL API to allow execution of a cache trickle command. [#19202]
246 </p>
247 </li>
248 <li>
249 <p>
250 Add a pragma in the SQL API to allow configuration of DB_SYSTEM_MEM environments. [#19249]
251 </p>
252 </li>
253 <li>
254 <p>
255 The new db_env_set_win_security(SECURITY_ATTRIBUTES *) function allows an application to specify the particular Microsoft Windows security attributes to be used by Berkeley DB. This helps support applications which reduce their privileges after opening the environment. [#19529]
256 </p>
257 </li>
258 </ol>
259 </div>
260 </div>
261 <div class="sect2" lang="en" xml:lang="en">
262 <div class="titlepage">
263 <div>
264 <div>
265 <h3 class="title"><a id="idp984720"></a>Database Environment Changes</h3>
266 </div>
267 </div>
268 </div>
269 <div class="orderedlist">
270 <ol type="1">
271 <li>
272 <p>
273 None
274 </p>
275 </li>
276 </ol>
277 </div>
278 </div>
279 <div class="sect2" lang="en" xml:lang="en">
280 <div class="titlepage">
281 <div>
282 <div>
283 <h3 class="title"><a id="idp995752"></a>Concurrent Data Store Changes</h3>
284 </div>
285 </div>
286 </div>
287 <div class="orderedlist">
288 <ol type="1">
289 <li>
290 <p>
291 None
292 </p>
293 </li>
294 </ol>
295 </div>
296 </div>
297 <div class="sect2" lang="en" xml:lang="en">
298 <div class="titlepage">
299 <div>
300 <div>
301 <h3 class="title"><a id="idp989160"></a>Access Method Changes</h3>
302 </div>
303 </div>
304 </div>
305 <div class="orderedlist">
306 <ol type="1">
307 <li>
308 <p>
309 Modified the queue access method so that it only uses latches on the metadata page rather than a latch and a lock. This was done to improve performance. [#18749]
310 </p>
311 </li>
312 <li>
313 <p>
314 Fixed several bugs that could cause an update running with MVCC to get the wrong version of a page or improperly update the metadata last page number. [#19063]
315 </p>
316 </li>
317 <li>
318 <p>
319 The database open code will no longer log the open and close of the master database in a file when opening a sub database in that file. [#19071]
320 </p>
321 </li>
322 <li>
323 <p>
324 Fixed a bug where an error during an update to a hash database with DB_NOOVERWRITE set could return DB_KEYEXIST rather than the correct error. [#19077]
325 </p>
326 </li>
327 <li>
328 <p>
329 Fixed a bug that could cause the wrong page number to be on a root or metadata page if DB-&gt;compact moved the page and the operation was later rolled forward. [#19167]
330 </p>
331 </li>
332 <li>
333 <p>
334 Fixed a bug that could cause the close of a secondary index database to fail if the transaction doing the open aborted. [#19169]
335 </p>
336 </li>
337 <li>
338 <p>
339 Fixed a bug that could prevent an update to a primary recno or queue database with DB_NOOVERWITE set. [#19230]
340 </p>
341 </li>
342 <li>
343 <p>
344 Fixed a bug when an update to a database with DB_NOOVERWRITE set could incorrectly return DB_KEYEXIST rather than the correct error (e.g., DB_LOCK_DEADLOCK). [#19345]
345 </p>
346 </li>
347 <li>
348 <p>
349 Fixed a bug preventing the use of the set_re_len and set_re_pad methods with a RECNO database when configuring with --disable-queue. [#19367]
350 </p>
351 </li>
352 <li>
353 <p>
354 Fixed a bug in DB-&gt;compact on BTREE databases that did not check if the last page in the database could be moved to a lower numbered page. [#19394]
355 </p>
356 </li>
357 <li>
358 <p>
359 Fixed a bug that could cause a Log Sequence Error when recovering the deallocation of a multiple page overflow chain. [#19474]
360 </p>
361 </li>
362 <li>
363 <p>
364 Fixed a bug that could cause a diagnostic assertion if MVCC was in use and multiple levels of a btree needed to be split. [#19481]
365 </p>
366 </li>
367 <li>
368 <p>
369 Fixed a few error paths that could cause a Panic with an "unpinned page returned" error. [#19493]
370 </p>
371 </li>
372 <li>
373 <p>
374 Fixed a bug that closed a race condition that under heavy mult-threaded appending to a queue database could cause some records to be lost. [#19498]
375 </p>
376 </li>
377 <li>
378 <p>
379 Fixed a bug that might cause DB-&gt;compact to mis-estimate the size of an overflow record when merging two pages. This may cause the page to have more data than desired. [#19562]
380 </p>
381 </li>
382 <li>
383 <p>
384 Fixed a bug in DB_ENV-&gt;fileid_reset that did not update the fileid's on the metadata pages of subdatabases if the database file was not in native byte order. [#19608]
385 </p>
386 </li>
387 <li>
388 <p>
389 Fixed a bug that caused the first directory specified in the create of a partitioned database to get too many partitions. [#20041]
390 </p>
391 </li>
392 </ol>
393 </div>
394 </div>
395 <div class="sect2" lang="en" xml:lang="en">
396 <div class="titlepage">
397 <div>
398 <div>
399 <h3 class="title"><a id="idp989544"></a>SQL API Changes</h3>
400 </div>
401 </div>
402 </div>
403 <div class="orderedlist">
404 <ol type="1">
405 <li>
406 <p>
407 Fixed a race condition that would cause a corruption error in one process when two processes created the same SQL database. [#18929]
408 </p>
409 </li>
410 <li>
411 <p>
412 Fixed a bug that would cause a constraint violation when updating the primary key with the same value. [#18976]
413 </p>
414 </li>
415 <li>
416 <p>
417 Overwriting an old backup with a new backup using the SQL online backup API will no longer double the size of the database. [#19021]
418 </p>
419 </li>
420 <li>
421 <p>
422 Implemented index optimizations for indexes on large values. [#19094]
423 </p>
424 </li>
425 <li>
426 <p>
427 Fixed a bug that could cause an undetected deadlock between a thread which moved a metadata or root page via a DB-&gt;compact operation and another thread trying to open the database if the old page was being removed from the file. [#19186]
428 </p>
429 </li>
430 <li>
431 <p>
432 Fix a bug in the BDBSQL_FILE_PER_TABLE option, to allow absolute path names. [#19190]
433 </p>
434 </li>
435 <li>
436 <p>
437 Add a pragma to allow configuration of DB_SYSTEM_MEM environments. [#19249]
438 </p>
439 </li>
440 <li>
441 <p>
442 Exclusive transactions will now block new transactions and will prevent existing transactions from making forward progress. [#19256]
443 </p>
444 </li>
445 <li>
446 <p>
447 Fixed a bug that would cause assert error when opening an in-memory hash database with thread count configured when compiled with --enable-diagnostic. [#19357]
448 </p>
449 </li>
450 <li>
451 <p>
452 Upgrade the bundled version of SQLite to 3.7.6.2 [#19376]
453 </p>
454 </li>
455 <li>
456 <p>
457 Fixed a performance bug with the cache victim selection algorithm when there were multiple cache regions. [#19385]
458 </p>
459 </li>
460 <li>
461 <p>
462 Fixed a bug which could cause two SQL threads to have an undetected deadlock when opening or closing tables. [#19386]
463 </p>
464 </li>
465 <li>
466 <p>
467 Fix a bug that could cause a hang when deleting a table if there are multiple connections to a database from different processes. [#19419]
468 </p>
469 </li>
470 <li>
471 <p>
472 Fixed a bug which could cause multiple threads performing DB-&gt;compact on the same database file to overrun the in-memory freelist, which could potentially lead to memory corruption. [#19571]
473 </p>
474 </li>
475 <li>
476 <p>
477 Fixed a bug in DB-&gt;compact that could cause a loop if an attempt to move a sub-database meta data page deadlocked. [#20028]
478 </p>
479 </li>
480 </ol>
481 </div>
482 </div>
483 <div class="sect2" lang="en" xml:lang="en">
484 <div class="titlepage">
485 <div>
486 <div>
487 <h3 class="title"><a id="idp971912"></a>C API Changes</h3>
488 </div>
489 </div>
490 </div>
491 <div class="orderedlist">
492 <ol type="1">
493 <li>
494 <p>
495 Fixed a bug where encryption could not be enabled for individual databases in an encrypted environment. [#18891]
496 </p>
497 </li>
498 <li>
499 <p>
500 Removed two unused error codes, DB_NOSERVER_HOME and DB_NOSERVER_ID. [#18978]
501 </p>
502 </li>
503 <li>
504 <p>
505 Added a DB_DBT_READONLY flag so that users can pass in a non-usermem key (DB_DBT_USERMEM) for get operations. [#19360]
506 </p>
507 </li>
508 <li>
509 <p>
510 Fixed a bug in DB/DBC-&gt;get/pget that the partial flags are silently ignored with positional flags and return inconsistent DBT. [#19540]
511 </p>
512 </li>
513 <li>
514 <p>
515 Fixed a bug which prevented items from being deleted on a secondary database. [#19573]
516 </p>
517 </li>
518 <li>
519 <p>
520 Fixed a bug to correctly handle the DB_BUFFER_SMALL case on delete operations when compression is enabled. [#19660]
521 </p>
522 </li>
523 </ol>
524 </div>
525 </div>
526 <div class="sect2" lang="en" xml:lang="en">
527 <div class="titlepage">
528 <div>
529 <div>
530 <h3 class="title"><a id="idp996528"></a>Tcl-specific API Changes</h3>
531 </div>
532 </div>
533 </div>
534 <div class="orderedlist">
535 <ol type="1">
536 <li>
537 <p>
538 None.
539 </p>
540 </li>
541 </ol>
542 </div>
543 </div>
544 <div class="sect2" lang="en" xml:lang="en">
545 <div class="titlepage">
546 <div>
547 <div>
548 <h3 class="title"><a id="idp972000"></a>C#-specific API Changes</h3>
549 </div>
550 </div>
551 </div>
552 <div class="orderedlist">
553 <ol type="1">
554 <li>
555 <p>
556 Added support for partial put/get in the C# API. [#18795]
557 </p>
558 </li>
559 <li>
560 <p>
561 Fixed a bug in compare delegate for secondary db. [#18935]
562 </p>
563 </li>
564 </ol>
565 </div>
566 </div>
567 <div class="sect2" lang="en" xml:lang="en">
568 <div class="titlepage">
569 <div>
570 <div>
571 <h3 class="title"><a id="idp994456"></a>Replication Changes</h3>
572 </div>
573 </div>
574 </div>
575 <div class="orderedlist">
576 <ol type="1">
577 <li>
578 <p>
579 Replication Manager now allows differing ack policies at different sites throughout the group, and supports dynamic changes to the ack policy. (The ack policy in force is determined by the current master.) [#14993]
580 </p>
581 </li>
582 <li>
583 <p>
584 Replication Manager "channels" feature allows applications to share repmgr's communication facilities. [#17228]
585 </p>
586 </li>
587 <li>
588 <p>
589 Add example program for RepMgr "channels" feature: ex_rep_chan. [#17387]
590 </p>
591 </li>
592 <li>
593 <p>
594 Replication Manager now allows dynamic changes to a site's "electability" (changes between zero and non-zero priority). This feature should be used with care, because electability changes can in boundary cases invalidate durability guarantees granted for previous transactions. [#17497]
595 </p>
596 </li>
597 <li>
598 <p>
599 Changed election criteria so that later group transactions won't get overwritten by earlier generations with more log. [#17815]
600 </p>
601 </li>
602 <li>
603 <p>
604 Added changes to master lease checks that result in improved performance when using master leases. [#18960]
605 </p>
606 </li>
607 <li>
608 <p>
609 A log write failure on a replication master will now cause a panic since the transaction may be committed on some clients. [#19054]
610 </p>
611 </li>
612 <li>
613 <p>
614 Fixed a few memory leak conditions on error paths. [#19131]
615 </p>
616 </li>
617 <li>
618 <p>
619 Change lease code so that zero priority sites do not count in lease guarantees since they cannot be elected. [#19154]
620 </p>
621 </li>
622 <li>
623 <p>
624 Repmgr rerequest processing is moved from a dedicated thread to heartbeat messages. Repmgr clients using heartbeats can now detect and rerequest missing final master log records without master activity. [#19197]
625 </p>
626 </li>
627 <li>
628 <p>
629 Repmgr statistics are now included in full statistics output for an environment. [#19198]
630 </p>
631 </li>
632 <li>
633 <p>
634 Fix an inefficiency in mixed version elections. We now check if an election is won via the EID instead of priority. [#19254]
635 </p>
636 </li>
637 <li>
638 <p>
639 Changed election LSNs to use the last txn commit LSN instead of the end of the log. [#19278]
640 </p>
641 </li>
642 <li>
643 <p>
644 Create replication internal database files in the environment home directory rather than the data directory so that they are in the same location as the other internal replication files. [#19403]
645 </p>
646 </li>
647 <li>
648 <p>
649 Fix a bug that was preventing repmgr from calling an election when starting a site with the DB_REP_ELECTION flag. [#19546]
650 </p>
651 </li>
652 <li>
653 <p>
654 Fixed a bug which could cause a segfault at a replication master if a named in-memory database was being created around the same time as a client site were synchronizing (in "internal init") with the master. [#19583]
655 </p>
656 </li>
657 <li>
658 <p>
659 Adjust lease code to consider timeout length when retrying. [#19705]
660 </p>
661 </li>
662 <li>
663 <p>
664 Fixed a bug that could cause a crash in replication groups of more than 10 sites, with multiple processes sharing each DB environment concurrently. [#19818]
665 </p>
666 </li>
667 <li>
668 <p>
669 Fix a bug where an assertion failure could happen if pages in a database were deallocated during a client internal initialization.[#19851]
670 </p>
671 </li>
672 <li>
673 <p>
674 Fix a bug where an internal initialization of a queue database with non-contiguous extent files could return an error. [#19925]
675 </p>
676 </li>
677 <li>
678 <p>
679 The 2SITE_STRICT replication configuration parameter is now turned on by default. It can be turned off via a call to DB_ENV-&gt;rep_set_config(). [#19937]
680 </p>
681 </li>
682 <li>
683 <p>
684 Repmgr heartbeats can now help detect a duplicate master without the need for application activity. [#19950]
685 </p>
686 </li>
687 </ol>
688 </div>
689 </div>
690 <div class="sect2" lang="en" xml:lang="en">
691 <div class="titlepage">
692 <div>
693 <div>
694 <h3 class="title"><a id="idp996912"></a>Locking Subsystem Changes</h3>
695 </div>
696 </div>
697 </div>
698 <div class="orderedlist">
699 <ol type="1">
700 <li>
701 <p>
702 Fixed a bug where an updater supporting DB_READ_UNCOMMITED might downgrade its lock too soon if there was an error during the update. [#19155]
703 </p>
704 </li>
705 <li>
706 <p>
707 Fixed a bug where transaction timeouts could have been specified in a database environment where the locking subsystem was disabled. [#19582]
708 </p>
709 </li>
710 <li>
711 <p>
712 Fixed a bug in a diagnostic assertion that was improperly triggered by the removal of a sub-database. [#19683]
713 </p>
714 </li>
715 <li>
716 <p>
717 Fixed a bug that would cause DB_ENV-&gt;failcheck to free locks for a locker associated with a database handle after the thread that opened the handle exited. [#19881]
718 </p>
719 </li>
720 </ol>
721 </div>
722 </div>
723 <div class="sect2" lang="en" xml:lang="en">
724 <div class="titlepage">
725 <div>
726 <div>
727 <h3 class="title"><a id="idp1010640"></a>Logging Subsystem Changes</h3>
728 </div>
729 </div>
730 </div>
731 <div class="orderedlist">
732 <ol type="1">
733 <li>
734 <p>
735 Enhanced recovery so that it will not output extra checkpoint or transaction id recycle log records if there was no activity since the last checkpoint. [#15330]
736 </p>
737 </li>
738 <li>
739 <p>
740 Log checksums can now be disabled using the compile argument --disable-log-checksum. This will give a performance increase at the risk of undetectable corruption in the log records, which would make recovery impossible. [#19143]
741 </p>
742 </li>
743 <li>
744 <p>
745 Fixed a bug that could cause a page that should have been removed from the end of a file still be in the copy of the file in a hot backup. [#19996]
746 </p>
747 </li>
748 </ol>
749 </div>
750 </div>
751 <div class="sect2" lang="en" xml:lang="en">
752 <div class="titlepage">
753 <div>
754 <div>
755 <h3 class="title"><a id="idp992728"></a>Memory Pool Subsystem Changes</h3>
756 </div>
757 </div>
758 </div>
759 <div class="orderedlist">
760 <ol type="1">
761 <li>
762 <p>
763 Fixed a bug in MPOOLFILE-&gt;get that did not permit the DB_MPOOL_DIRTY flag to be used with other flags. [#19421]
764 </p>
765 </li>
766 </ol>
767 </div>
768 </div>
769 <div class="sect2" lang="en" xml:lang="en">
770 <div class="titlepage">
771 <div>
772 <div>
773 <h3 class="title"><a id="idp1018872"></a>Mutex Subsystem Changes</h3>
774 </div>
775 </div>
776 </div>
777 <div class="orderedlist">
778 <ol type="1">
779 <li>
780 <p>
781 Fixed a bug when the mutex region needs to be larger than 4GB, the region size was incorrectly adjusted to be slightly too small to fit the mutexes. [#18968]
782 </p>
783 </li>
784 <li>
785 <p>
786 Fixed a performance problem with hybrid shared latches in which a request for exclusive access would busy-wait (rather than put itself to sleep) if the latch were held by a shared reader. This also fixed the timeout handling of hybrid mutexes. In some cases the timeout would not be honored, resulting in delays for the replication "read your writes" feature which were longer than requested. [#18982]
787 </p>
788 </li>
789 <li>
790 <p>
791 Fixed the timeout handling of the pthreads mutexes used by the replication "read your writes" feature. When a timeout occurred there was a race condition which might result in a hang. [#19047]
792 </p>
793 </li>
794 </ol>
795 </div>
796 </div>
797 <div class="sect2" lang="en" xml:lang="en">
798 <div class="titlepage">
799 <div>
800 <div>
801 <h3 class="title"><a id="idp1011056"></a>Transaction Subsystem Changes</h3>
802 </div>
803 </div>
804 </div>
805 <div class="orderedlist">
806 <ol type="1">
807 <li>
808 <p>
809 Fixed a leak of log file ids when a database is closed before the end of a transaction that references it. [#15957]
810 </p>
811 </li>
812 <li>
813 <p>
814 Fixed a bug that would cause a panic if a child transaction performed a database rename, then aborted, and then the parent transaction committed. [#18069]
815 </p>
816 </li>
817 <li>
818 <p>
819 Fixed a bug where we released the metadata page lock too early if a non-transactional update was being done. [#19036]
820 </p>
821 </li>
822 <li>
823 <p>
824 Removed the possibility that checkpoints will overlap in the log, decreasing the time to recover. [#19062]
825 </p>
826 </li>
827 </ol>
828 </div>
829 </div>
830 <div class="sect2" lang="en" xml:lang="en">
831 <div class="titlepage">
832 <div>
833 <div>
834 <h3 class="title"><a id="idp1003424"></a>Test Suite Changes</h3>
835 </div>
836 </div>
837 </div>
838 <div class="orderedlist">
839 <ol type="1">
840 <li>
841 <p>
842 Require Tcl 8.5 or greater.
843 </p>
844 </li>
845 </ol>
846 </div>
847 </div>
848 <div class="sect2" lang="en" xml:lang="en">
849 <div class="titlepage">
850 <div>
851 <div>
852 <h3 class="title"><a id="idp1029752"></a>Utility Changes</h3>
853 </div>
854 </div>
855 </div>
856 <div class="orderedlist">
857 <ol type="1">
858 <li>
859 <p>
860 Added a new utility, db_tuner, which analyzes the data in a btree database, and suggests a reasonable pagesize. [#18910]
861 </p>
862 </li>
863 <li>
864 <p>
865 Fixed some bugs in log_verify when there are in-memory database logs and subdb logs. [#19157]
866 </p>
867 </li>
868 <li>
869 <p>
870 Modified db_hotbackup to not read from the file system as required on non-UNIX systems. Also provided the db_copy function for this purpose. [#19863]
871 </p>
872 </li>
873 <li>
874 <p>
875 Fixed db_hotbackup so that when -d/-l or -D is not specified, DB_CONFIG is used to determine the locations of the databases and logs in the source environment. [#19994]
876 </p>
877 </li>
878 </ol>
879 </div>
880 </div>
881 <div class="sect2" lang="en" xml:lang="en">
882 <div class="titlepage">
883 <div>
884 <div>
885 <h3 class="title"><a id="idp1031368"></a>Configuration, Documentation, Sample Apps, Portability and Build Changes</h3>
886 </div>
887 </div>
888 </div>
889 <div class="orderedlist">
890 <ol type="1">
891 <li>
892 <p>
893 Changed SQL API library built on *nix to link with libpthreads when necessary. [#19098]
894 </p>
895 </li>
896 <li>
897 <p>
898 Added CPPFLAGS into our --enable-jdbc configuration. [#19234]
899 </p>
900 </li>
901 <li>
902 <p>
903 Added encryption support into the Windows CE build project for SQL API. [#19632]
904 </p>
905 </li>
906 <li>
907 <p>
908 Fixed a bug in the STAT_INC_VERB() dtrace probe that was causing compiler warnings. [#19707]
909 </p>
910 </li>
911 <li>
912 <p>
913 Fixed a bug that could cause a trap in db_dump using salvage mode if a page was found that was not associated with any database in the file. [#19974]
914 </p>
915 </li>
916 <li>
917 <p>
918 On Cygwin, circumvented a bug in libtool that is exposed when building the BDB SQL API in a directory path containing whitespace characters. [#19812]
919 </p>
920 </li>
921 </ol>
922 </div>
923 </div>
924 <div class="sect2" lang="en" xml:lang="en">
925 <div class="titlepage">
926 <div>
927 <div>
928 <h3 class="title"><a id="idp1003200"></a>Example Changes</h3>
929 </div>
930 </div>
931 </div>
932 <div class="orderedlist">
933 <ol type="1">
934 <li>
935 <p>
936 Update repmgr C, C#, C++, Java examples(ex_rep_mgr, ex_rep_gsg_repmgr, ex_rep_chan, excs_repquote, excxx_repquote, excxx_epquote_gsg, repquote, repquote_gsg) with their related API changes for group membership. [#19586][#19622]
937 </p>
938 </li>
939 <li>
940 <p>
941 Port ex_rep_chan, ex_rep_gsg_repmgr,ex_rep_gsg_simple, excxx_repquote_gsg_repmgr, excxx_repquote_gsg_simple to Window.[#19890]
942 </p>
943 </li>
944 </ol>
945 </div>
946 </div>
947 <div class="sect2" lang="en" xml:lang="en">
948 <div class="titlepage">
949 <div>
950 <div>
951 <h3 class="title"><a id="idp1034280"></a>Miscellaneous Bug Fixes</h3>
952 </div>
953 </div>
954 </div>
955 <div class="orderedlist">
956 <ol type="1">
957 <li>
958 <p>
959 Fixed a bug where memory copied from the Java API could leak if flags were not correctly configured. [#19152]
960 </p>
961 </li>
962 </ol>
963 </div>
964 </div>
965 <div class="sect2" lang="en" xml:lang="en">
966 <div class="titlepage">
967 <div>
968 <div>
969 <h3 class="title"><a id="idp1035816"></a>Deprecated Features</h3>
970 </div>
971 </div>
972 </div>
973 <div class="orderedlist">
974 <ol type="1">
975 <li>
976 <p>
977 None
978 </p>
979 </li>
980 </ol>
981 </div>
982 </div>
983 <div class="sect2" lang="en" xml:lang="en">
984 <div class="titlepage">
985 <div>
986 <div>
987 <h3 class="title"><a id="idp1037736"></a>Known Bugs</h3>
988 </div>
989 </div>
990 </div>
991 <div class="orderedlist">
992 <ol type="1">
993 <li>
994 <p>
995 The SQL API has a known issue when using a blob field with a lot of content and multiple concurrent connections to the database. [#19945]
996 </p>
997 </li>
998 <li>
999 <p>
1000 Rollback of a dropped table in the SQL layer contains a mutex leak, which can consume all mutex resources if enough rollbacks of table drops are performed. [#20077]
1001 </p>
1002 </li>
1003 <li>
1004 <p>
1005 The DB_CONFIG configuration parameters which specify path names currently do not support names containing any whitespace characters. [#20158]
1006 </p>
1007 </li>
1008 <li>
1009 <p>
1010 The BFile module has a known crash issue when using BFile handle for SQL expressions interface on 64bit platforms. [#20193]
1011 </p>
1012 </li>
1013 <li>
1014 <p>
1015 On systems without FTRUNCATE, db_verify will return an error for truncated heap databases. This is a bug in db_verify, the database has been truncated correctly and can be used in the future. [#20195]
1016 </p>
1017 </li>
1018 <li>
1019 <p>
1020 An application using queue extents which is append mostly could see a decrease in the buffer pool hit rate due to the failure to remove pages from closed extents from the buffer pool. [#20217]
1021 </p>
1022 </li>
1023 </ol>
1024 </div>
1025 </div>
1026 </div>
1027 <div class="navfooter">
1028 <hr />
1029 <table width="100%" summary="Navigation footer">
1030 <tr>
1031 <td width="40%" align="left"><a accesskey="p" href="upgrade_11gr2_52_hot_backup.html">Prev</a> </td>
1032 <td width="20%" align="center">
1033 <a accesskey="u" href="upgrade_52_toc.html">Up</a>
1034 </td>
1035 <td width="40%" align="right"> <a accesskey="n" href="upgrade_51_toc.html">Next</a></td>
1036 </tr>
1037 <tr>
1038 <td width="40%" align="left" valign="top">Hot Backup Changes  </td>
1039 <td width="20%" align="center">
1040 <a accesskey="h" href="index.html">Home</a>
1041 </td>
1042 <td width="40%" align="right" valign="top"> Chapter 11. 
1043 Upgrading Berkeley DB 11.2.5.0 applications to Berkeley DB 11.2.5.1
1044 </td>
1045 </tr>
1046 </table>
1047 </div>
1048 </body>
1049 </html>