Debian Codegraph @

docs/installation/changelog_5_1.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 Library Version 11.2.5.1 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_51_toc.html" title="Chapter 11.  Upgrading Berkeley DB 11.2.5.0 applications to Berkeley DB 11.2.5.1" />
11 <link rel="prev" href="upgrade_11gr2_51_mod_db4_unsupp.html" title="Mod_db4 Support Discontinued" />
12 <link rel="next" href="upgrade_11gr2_toc.html" title="Chapter 12.  Upgrading Berkeley DB 4.8 applications to Berkeley DB 11.2.5.0" />
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.1 Change Log</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="upgrade_11gr2_51_mod_db4_unsupp.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 11. 
26 Upgrading Berkeley DB 11.2.5.0 applications to Berkeley DB 11.2.5.1
27 </th>
28 <td width="20%" align="right"> <a accesskey="n" href="upgrade_11gr2_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_1"></a>Berkeley DB Library Version 11.2.5.1 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_1.html#idp1052992">Database or Log File On-Disk Format Changes</a>
46 </span>
47 </dt>
48 <dt>
49 <span class="sect2">
50 <a href="changelog_5_1.html#idp953176">New Features</a>
51 </span>
52 </dt>
53 <dt>
54 <span class="sect2">
55 <a href="changelog_5_1.html#idp1045336">Database Environment Changes</a>
56 </span>
57 </dt>
58 <dt>
59 <span class="sect2">
60 <a href="changelog_5_1.html#idp1059760">Concurrent Data Store Changes</a>
61 </span>
62 </dt>
63 <dt>
64 <span class="sect2">
65 <a href="changelog_5_1.html#idp981016">Access Method Changes</a>
66 </span>
67 </dt>
68 <dt>
69 <span class="sect2">
70 <a href="changelog_5_1.html#idp1049008">API Changes</a>
71 </span>
72 </dt>
73 <dt>
74 <span class="sect2">
75 <a href="changelog_5_1.html#idp1055592">SQL-Specific API Changes</a>
76 </span>
77 </dt>
78 <dt>
79 <span class="sect2">
80 <a href="changelog_5_1.html#idp1056952">Tcl-Specific API Changes</a>
81 </span>
82 </dt>
83 <dt>
84 <span class="sect2">
85 <a href="changelog_5_1.html#idp1052280">Java-Specific API Changes</a>
86 </span>
87 </dt>
88 <dt>
89 <span class="sect2">
90 <a href="changelog_5_1.html#idp987592">C#-Specific API Changes</a>
91 </span>
92 </dt>
93 <dt>
94 <span class="sect2">
95 <a href="changelog_5_1.html#idp1060648">Direct Persistence Layer (DPL), Bindings and Collections API</a>
96 </span>
97 </dt>
98 <dt>
99 <span class="sect2">
100 <a href="changelog_5_1.html#idp1070000">Replication Changes</a>
101 </span>
102 </dt>
103 <dt>
104 <span class="sect2">
105 <a href="changelog_5_1.html#idp1080936">Locking Subsystem Changes</a>
106 </span>
107 </dt>
108 <dt>
109 <span class="sect2">
110 <a href="changelog_5_1.html#idp1092608">Logging Subsystem Changes</a>
111 </span>
112 </dt>
113 <dt>
114 <span class="sect2">
115 <a href="changelog_5_1.html#idp1076376">Memory Pool Subsystem Changes</a>
116 </span>
117 </dt>
118 <dt>
119 <span class="sect2">
120 <a href="changelog_5_1.html#idp1080752">Mutex Subsystem Changes</a>
121 </span>
122 </dt>
123 <dt>
124 <span class="sect2">
125 <a href="changelog_5_1.html#idp1089584">Transaction Subsystem Changes</a>
126 </span>
127 </dt>
128 <dt>
129 <span class="sect2">
130 <a href="changelog_5_1.html#idp1067160">Test Suite Changes</a>
131 </span>
132 </dt>
133 <dt>
134 <span class="sect2">
135 <a href="changelog_5_1.html#idp1088000">Utility Changes</a>
136 </span>
137 </dt>
138 <dt>
139 <span class="sect2">
140 <a href="changelog_5_1.html#idp1091312">Configuration, Documentation, Sample Apps, Portability, and Build Changes</a>
141 </span>
142 </dt>
143 <dt>
144 <span class="sect2">
145 <a href="changelog_5_1.html#idp1081576">Example Changes</a>
146 </span>
147 </dt>
148 <dt>
149 <span class="sect2">
150 <a href="changelog_5_1.html#idp1102152">Miscellaneous Bug Fixes</a>
151 </span>
152 </dt>
153 <dt>
154 <span class="sect2">
155 <a href="changelog_5_1.html#idp1100024">Deprecated Features</a>
156 </span>
157 </dt>
158 <dt>
159 <span class="sect2">
160 <a href="changelog_5_1.html#idp1100672">Known Bugs</a>
161 </span>
162 </dt>
163 </dl>
164 </div>
165 <p>
166 This is the changelog for Berkeley DB
167 11<span class="emphasis"><em>g</em></span> Release 2 (library
168 version 11.2.5.1).
169 </p>
170 <div class="sect2" lang="en" xml:lang="en">
171 <div class="titlepage">
172 <div>
173 <div>
174 <h3 class="title"><a id="idp1052992"></a>Database or Log File On-Disk Format Changes</h3>
175 </div>
176 </div>
177 </div>
178 <div class="orderedlist">
179 <ol type="1">
180 <li>
181 <p>
182 The database file format was unchanged in 11gR2 library version 11.2.5.1.
183 </p>
184 </li>
185 <li>
186 <p>
187 The log file format was unchanged in 11gR2 library version 11.2.5.1.
188 </p>
189 </li>
190 </ol>
191 </div>
192 </div>
193 <div class="sect2" lang="en" xml:lang="en">
194 <div class="titlepage">
195 <div>
196 <div>
197 <h3 class="title"><a id="idp953176"></a>New Features</h3>
198 </div>
199 </div>
200 </div>
201 <div class="orderedlist">
202 <ol type="1">
203 <li>
204 <p>
205 Added Performance event monitoring support for DTrace and SystemTap which can be enabled during configuration. Static probes have been defined where statistics values are updated, where mutex or transactional consistency lock waits occur, and where some other potentially lengthy operations may be initiated. [#15605]
206 </p>
207 </li>
208 <li>
209 <p>
210 Added a new acknowledge policy - DB_REPMGR_ACKS_ALL_AVAILABLE. [#16762]
211 </p>
212 </li>
213 <li>
214 <p>
215 Added transactional bulk loading optimization for non-nested transactions. [#17669]
216 </p>
217 </li>
218 <li>
219 <p>
220 Added exclusive transaction support for the SQL API. [#17822]
221 </p>
222 </li>
223 <li>
224 <p>
225 Added support for bulk update and delete in C# API. [#18011]
226 </p>
227 </li>
228 <li>
229 <p>
230 Added a db_replicate utility. [#18326]
231 </p>
232 </li>
233 <li>
234 <p>
235 Added an implementation of the Online Backup API. [#18500]
236 </p>
237 </li>
238 <li>
239 <p>
240 Added support in Berkeley DB SQL for the vacuum and incremental vacuum pragmas [#18545]
241 </p>
242 </li>
243 <li>
244 <p>
245 Added an option to automatically convert SQLite databases to Berkeley DB on opening. [#18531]
246 </p>
247 </li>
248 <li>
249 <p>
250 Added BDBSQL_SHARE_PRIVATE, an option to enable inter-process sharing of DB_PRIVATE environments using multiple-reader. [#18533]
251 </p>
252 </li>
253 <li>
254 <p>
255 Added database-level locking to optimize single-threaded operations and remove locking limitations for database load operations. [#18549]
256 </p>
257 </li>
258 <li>
259 <p>
260 Added support for DB_INIT_REP, DB_PRIVATE and DB_THREAD in DB_CONFIG file.[#18555]
261 </p>
262 </li>
263 <li>
264 <p>
265 Added support for the BDBSQL_DEFAULT_PAGE_SIZE pragma to override Berkeley DB's choice of page size depending on the filesystem. Use SQLITE_DEFAULT_PAGE_SIZE rather than a hard-coded default. [#18577]
266 </p>
267 </li>
268 <li>
269 <p>
270 Added an extension that allows access to binary files stored outside of the database. What is stored in the database is a pointer to the binary file. [#18635]
271 </p>
272 </li>
273 <li>
274 <p>
275 Added .stat command to dbsql shell to print environment, table, and index statistics. [#18640]
276 </p>
277 </li>
278 <li>
279 <p>
280 Added enhancements to reduce the size of indexes in the SQL API by allowing duplicates in the index database and moving the rowid from the index key into the index data. [#18653]
281 </p>
282 </li>
283 <li>
284 <p>
285 Added a compile time flag BDBSQL_FILE_PER_TABLE that causes each table to be created in a separate file. This flag replaces the BDBSQL_SPLIT_META_TABLE flag. [#18664]
286 </p>
287 </li>
288 <li>
289 <p>
290 Added the handling of read only and read write open of the same database in BDB SQL [#18672]
291 </p>
292 </li>
293 <li>
294 <p>
295 Added an encryption implementation to the SQL API [#18683]
296 </p>
297 </li>
298 </ol>
299 </div>
300 </div>
301 <div class="sect2" lang="en" xml:lang="en">
302 <div class="titlepage">
303 <div>
304 <div>
305 <h3 class="title"><a id="idp1045336"></a>Database Environment Changes</h3>
306 </div>
307 </div>
308 </div>
309 <div class="orderedlist">
310 <ol type="1">
311 <li>
312 <p>
313 Fixed failchk behavior on QNX. [#17403]
314 </p>
315 </li>
316 <li>
317 <p>
318 Fixed a bug that prevented the same process from connecting to the database after recovery is performed. [#18535]
319 </p>
320 </li>
321 <li>
322 <p>
323 Fixed a bug which would occur when recovery checkpoint was not written because the cache ran out of space attempting to flush the memory pool cache. The environment would be recovered and all database where made available, but some databases would incorrectly closed. This would cause a subsequent recovery to fail on its backward pass with the error "PANIC: No such file or directory". [#18590]
324 </p>
325 </li>
326 <li>
327 <p>
328 Fixed a bug that could cause recovery to fail with the error "DB_LOGC-&gt;get: log record LSN %u/%u: checksum mismatch" if the last log file was nearly full and ended with a partially written log record which was smaller than a checkpoint record. It now erases the invalid partial record before switching to the new log file. [#18651]
329 </p>
330 </li>
331 </ol>
332 </div>
333 </div>
334 <div class="sect2" lang="en" xml:lang="en">
335 <div class="titlepage">
336 <div>
337 <div>
338 <h3 class="title"><a id="idp1059760"></a>Concurrent Data Store Changes</h3>
339 </div>
340 </div>
341 </div>
342 <div class="orderedlist">
343 <ol type="1">
344 <li>
345 <p>
346 None
347 </p>
348 </li>
349 </ol>
350 </div>
351 </div>
352 <div class="sect2" lang="en" xml:lang="en">
353 <div class="titlepage">
354 <div>
355 <div>
356 <h3 class="title"><a id="idp981016"></a>Access Method Changes</h3>
357 </div>
358 </div>
359 </div>
360 <div class="orderedlist">
361 <ol type="1">
362 <li>
363 <p>
364 Fixed a bug such that segementation fault does not occur if DB-&gt;set_partition_dirs is called before DB-&gt;set_partition. [#18591]
365 </p>
366 </li>
367 <li>
368 <p>
369 Fixed a bug such that the error "unknown path" does not occur if you put duplicate records into a duplicated sorted HASH database with DB_OVERWRITE_DUP option. [#18607]
370 </p>
371 </li>
372 <li>
373 <p>
374 Added the ability to specify that data should not be logged when removing pages from a database. This can be used if the ability to recover the data is not required after the database has been removed. [#18666]
375 </p>
376 </li>
377 <li>
378 <p>
379 Fixed a bug that caused an aborting transaction to fail if it aborted while a DB-&gt;compact of the same HASH database was compacting the dynamic hash table [#18695]
380 </p>
381 </li>
382 <li>
383 <p>
384 Fixed a bug that could cause DB-&gt;compact to loop on a DB_RECNO database or a database with an multilevel unsorted off page duplicate tree. [#18722]
385 </p>
386 </li>
387 <li>
388 <p>
389 Fixed a bug that could cause an illegal page type error when using a HASH database with MVCC and the HASH table was contracted and then extended. [#18785]
390 </p>
391 </li>
392 <li>
393 <p>
394 Fixed locking bugs: [#18789] The Db-&gt;compact method of BTREE with MVCC would return an unpinned page. The RECNO option would fail to lock the next page when splitting a leaf page.
395 </p>
396 </li>
397 <li>
398 <p>
399 Fixed a bug that could cause data to not be returned in a HASH database that was one of multiple databases in a file and was opened prior to running DB-&gt;compact method on that database in another thread of control [#18824]
400 </p>
401 </li>
402 <li>
403 <p>
404 Fixed a bug where doing a bulk insert with secondaries could return an error incorrectly. [#18878]
405 </p>
406 </li>
407 <li>
408 <p>
409 Fixed a bug that would return DB_NOTFOUND instead of DB_BUFFER_SMALL when the first item in a HASH database is larger than the user supplied buffer. [#18829]
410 </p>
411 </li>
412 </ol>
413 </div>
414 </div>
415 <div class="sect2" lang="en" xml:lang="en">
416 <div class="titlepage">
417 <div>
418 <div>
419 <h3 class="title"><a id="idp1049008"></a>API Changes</h3>
420 </div>
421 </div>
422 </div>
423 <div class="orderedlist">
424 <ol type="1">
425 <li>
426 <p>
427 Fixed various items uncovered by extending DB_CONFIG support: [#18720] - Added missing set_cache_max method, and fixed name of log_set_config (was set_log_config). - Added new DB_ENV-&gt;repmgr_get_local_site method. - Fixed a bug which could fail to allocate enough mutexes when specifying a maximum cache size. - Fixed a bug that could allocate multiple caches when a small cache size was specified.
428 </p>
429 </li>
430 </ol>
431 </div>
432 </div>
433 <div class="sect2" lang="en" xml:lang="en">
434 <div class="titlepage">
435 <div>
436 <div>
437 <h3 class="title"><a id="idp1055592"></a>SQL-Specific API Changes</h3>
438 </div>
439 </div>
440 </div>
441 <div class="orderedlist">
442 <ol type="1">
443 <li>
444 <p>
445 Allowed SQL applications to attach to the same database multiple times unless shared cache mode is explicitly requested. [#18340]
446 </p>
447 </li>
448 <li>
449 <p>
450 Fixed a bug where auto-removal of log files after writing a checkpoint was not functioning correctly. [#18413]
451 </p>
452 </li>
453 <li>
454 <p>
455 Fixed a race between opening and closing SQL databases from multiple threads that could lead to the error "DB_REGISTER limits processes to one open DB_ENV handle per environment". [#18538]
456 </p>
457 </li>
458 <li>
459 <p>
460 Optimized the SQL adapter for joins. Reduce the number of Berkeley DB operations in a join by caching the maximum key in the primary. [#18566]
461 </p>
462 </li>
463 <li>
464 <p>
465 A SQLITE_LOCKED or SQLITE_BUSY error returned by a statement in an explict transaction will no longer invalidate the entire transaction, but just the statement that returned the error. [#18582]
466 </p>
467 </li>
468 <li>
469 <p>
470 Changed how multiple connections to the same database are detected. Used a fileid so that different paths can be used without error. [#18646]
471 </p>
472 </li>
473 <li>
474 <p>
475 Fixed a bug where the journal (environment) directory was being created prior to the actual environment. [#18656]
476 </p>
477 </li>
478 <li>
479 <p>
480 Added a new PRAGMA to allow tuning of when checkpoints are run. [#18657]
481 </p>
482 </li>
483 <li>
484 <p>
485 Fixed spurious "column &lt;x&gt; not unique" error messages.[#18667]
486 </p>
487 </li>
488 <li>
489 <p>
490 Fixed a segmentation fault that could happen when memory could not be allocated for the index key in the SQL API.[#18783]
491 </p>
492 </li>
493 <li>
494 <p>
495 Fixed a bug causing a segfault when releasing a savepoint that was already released. [#18784]
496 </p>
497 </li>
498 </ol>
499 </div>
500 </div>
501 <div class="sect2" lang="en" xml:lang="en">
502 <div class="titlepage">
503 <div>
504 <div>
505 <h3 class="title"><a id="idp1056952"></a>Tcl-Specific API Changes</h3>
506 </div>
507 </div>
508 </div>
509 <div class="orderedlist">
510 <ol type="1">
511 <li>
512 <p>
513 Changed to link tcl8.5 by default on Windows[#18244]
514 </p>
515 </li>
516 </ol>
517 </div>
518 </div>
519 <div class="sect2" lang="en" xml:lang="en">
520 <div class="titlepage">
521 <div>
522 <div>
523 <h3 class="title"><a id="idp1052280"></a>Java-Specific API Changes</h3>
524 </div>
525 </div>
526 </div>
527 <div class="orderedlist">
528 <ol type="1">
529 <li>
530 <p>
531 Fixed a bug where getAllowPopulate and getImmutableSecondaryKey method always returned false for SecondaryConfig objects returned by SecondaryDatabase.getSecondaryConfig method. [#16018]
532 </p>
533 </li>
534 <li>
535 <p>
536 Fixed a bug which made it impossible to (re)set VerboseConfig.REPLICATION_SYSTEM on the Java API. [#17561]
537 </p>
538 </li>
539 <li>
540 <p>
541 Fixed a bug where populating a SecondaryDatabase on open could lead to an OutOfMemoryException. [#18529]
542 </p>
543 </li>
544 <li>
545 <p>
546 Fixed a bug such that segementation fault does not occur when putting records into callback-partitioned database. [#18596]
547 </p>
548 </li>
549 <li>
550 <p>
551 Fixed a bug where DatabaseConfig.getUnsortedDuplicates method returned true when the datbase had been configured for sorted duplicates. [#18612]
552 </p>
553 </li>
554 <li>
555 <p>
556 Initialized DatabaseConfig.pageSize so that it can be queried. [#18691]
557 </p>
558 </li>
559 <li>
560 <p>
561 Fixed a bug by opening a write cursor for Direct Persistent Layer(DPL) entity's put operation in the Concurrent Data Store product. [#18692]
562 </p>
563 </li>
564 <li>
565 <p>
566 Synchronized Java persistence code and tests from Java Edition to Berkeley DB. [#18711]
567 </p>
568 </li>
569 <li>
570 <p>
571 Introduced the EnvironmentConfig.setReplicationInMemory method as a way to configure in-memory internal replication files before opening the Environment handle on the Java API. [#18719]
572 </p>
573 </li>
574 <li>
575 <p>
576 Fixed a bug in the bulk DatabaseEntry class, where it was possible to overflow the buffer. [#18850]
577 </p>
578 </li>
579 <li>
580 <p>
581 Added LEASE_TIMEOUT field to the ReplicationTimeoutType class that enables configuring the amount of time a client grants its Master Lease to a master. [#18867]
582 </p>
583 </li>
584 </ol>
585 </div>
586 </div>
587 <div class="sect2" lang="en" xml:lang="en">
588 <div class="titlepage">
589 <div>
590 <div>
591 <h3 class="title"><a id="idp987592"></a>C#-Specific API Changes</h3>
592 </div>
593 </div>
594 </div>
595 <div class="orderedlist">
596 <ol type="1">
597 <li>
598 <p>
599 Fixed a bug in BTree prefix comparison method such that there is no problem when the application needs to save a number larger than or equal to 2^31. The BTree prefix comparison function now returns an unsigned int instead of a signed int. [#18481]
600 </p>
601 </li>
602 <li>
603 <p>
604 Fixed a bug which caused the HasMultiple method to throw an exception when there were multiple databases in a single database file. [#18483]
605 </p>
606 </li>
607 <li>
608 <p>
609 Fixed a bug to ensure the CachePriority is set for Database and Cursor objects. [#18716]
610 </p>
611 </li>
612 <li>
613 <p>
614 Fixed a bug that use leading to the error: "Transaction that opened the DB handle is still active" when applications used different transactional handles in the associate and open methods in a secondary database. [#18873]
615 </p>
616 </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="idp1060648"></a>Direct Persistence Layer (DPL), Bindings and Collections API</h3>
625 </div>
626 </div>
627 </div>
628 <div class="orderedlist">
629 <ol type="1">
630 <li>
631 <p>
632 All setter methods in the DPL |StoreConfig| and |EvolveConfig| now return |this| rather than having a |void| return type. This change requires that applications using the DPL be recompiled. [#17021]
633 </p>
634 </li>
635 <li>
636 <p>
637 Improve performance of |StoredCollection.removeAll|. This method no longer iterates over all records in the stored collection. [#17727]
638 </p>
639 </li>
640 <li>
641 <p>
642 Several new tuple formats and binding classes have been added in the |com.sleepycat.bind.tuple| package:
643 </p>
644 <div class="itemizedlist">
645 <ul type="disc">
646 <li>
647 Packed integer formats have been added that support default natural sorting. These are intended to replace the old unsorted packed integer formats.
648 </li>
649 <li>
650 Two new |BigDecimal| formats have been added. One format supports default natural sorting. The other format is unsorted, but has other advantages: trailing zeros after the decimal place are preserved, and a more compact, faster serialization format is used. See the |com.sleepycat.bind.tuple| package description for an overview of the new bindings and a comparative description of all tuple bindings. [#18379]
651 </li>
652 </ul>
653 </div>
654 </li>
655 <li>
656 <p>
657 The following classes are now certified to be serializable. [#18738]
658 </p>
659 <div class="itemizedlist">
660 <ul type="disc">
661 <li>
662 com.sleepycat.persist.IndexNotAvailableException
663 </li>
664 <li>
665 com.sleepycat.persist.StoreExistsException
666 </li>
667 <li>
668 com.sleepycat.persist.StoreNotFoundException
669 </li>
670 <li>
671 com.sleepycat.persist.evolve.DeletedClassException
672 </li>
673 <li>
674 com.sleepycat.persist.evolve.IncompatibleClassException
675 </li>
676 </ul>
677 </div>
678 </li>
679 </ol>
680 </div>
681 </div>
682 <div class="sect2" lang="en" xml:lang="en">
683 <div class="titlepage">
684 <div>
685 <div>
686 <h3 class="title"><a id="idp1070000"></a>Replication Changes</h3>
687 </div>
688 </div>
689 </div>
690 <div class="orderedlist">
691 <ol type="1">
692 <li>
693 <p>
694 Replication Manager now uses the standard system implementation of getaddrinfo() when running on Windows, which means that it can support IPv6 addresses if support is present and configured in the operating system. [#18263]
695 </p>
696 </li>
697 <li>
698 <p>
699 Fixed a bug which caused a "full election" to fail if a majority of sites were not ready when the election started. [#18456]
700 </p>
701 </li>
702 <li>
703 <p>
704 Fixed a bug which could occur when using bulk transfer with Replication Manager. When closing a DB_ENV handle, any remaining bulk buffer contents are flushed, and Replication Manager could have tried to send the resulting messages even though its connections had already been closed, leading in rare circumstances to spurious EBADF error reports, or possibly even arbitrary memory corruption. [#18469]
705 </p>
706 </li>
707 <li>
708 <p>
709 Fixed a bug which caused Replication Manager to wait for acknowledgement from client, even if it had failed to send a log record, due to "queue limit exceeded". Replication Manager now returns immediately, with a PERM_FAILED indication, to avoid a pointless delay to the commit() operation. [#18682]
710 </p>
711 </li>
712 <li>
713 <p>
714 Fixed a bug where changes made in one process to Replication Manager configuration values (such as ack policy or ack timeout) were not observed in other processes sharing the same database environment. [#18839]
715 </p>
716 </li>
717 <li>
718 <p>
719 Fixed bugs that could prevent client synchronization from completing due to a failure to request missing log records. [#18849]
720 </p>
721 </li>
722 <li>
723 <p>
724 Fixed a bug where a client that had rolled back transactions to synchronize with a new master, failed to invalidate existing database handles later used for cursor operations based on an explicitly provided transaction. [#18862]
725 </p>
726 </li>
727 <li>
728 <p>
729 Fixed a bug where Replication Manager called for an election after a DUPMASTER event, even when using Master Leases. In such a case it now simply accepts the new (remote) master. [#18864]
730 </p>
731 </li>
732 <li>
733 <p>
734 Fixed a bug which would cause failure if client env attempted to perform sync-up recovery to a point in the log that happened to fall exactly on a log file boundary. [#18907]
735 </p>
736 </li>
737 </ol>
738 </div>
739 </div>
740 <div class="sect2" lang="en" xml:lang="en">
741 <div class="titlepage">
742 <div>
743 <div>
744 <h3 class="title"><a id="idp1080936"></a>Locking Subsystem Changes</h3>
745 </div>
746 </div>
747 </div>
748 <div class="orderedlist">
749 <ol type="1">
750 <li>
751 <p>
752 Moved the wait mutex from the lock structure to the locker structure, reducing the number of mutexes required in the system. [#18685]
753 </p>
754 </li>
755 </ol>
756 </div>
757 </div>
758 <div class="sect2" lang="en" xml:lang="en">
759 <div class="titlepage">
760 <div>
761 <div>
762 <h3 class="title"><a id="idp1092608"></a>Logging Subsystem Changes</h3>
763 </div>
764 </div>
765 </div>
766 <div class="orderedlist">
767 <ol type="1">
768 <li>
769 <p>
770 None.
771 </p>
772 </li>
773 </ol>
774 </div>
775 </div>
776 <div class="sect2" lang="en" xml:lang="en">
777 <div class="titlepage">
778 <div>
779 <div>
780 <h3 class="title"><a id="idp1076376"></a>Memory Pool Subsystem Changes</h3>
781 </div>
782 </div>
783 </div>
784 <div class="orderedlist">
785 <ol type="1">
786 <li>
787 <p>
788 Fixed a race condition that was causing the error: "Unable to allocate space from the buffer cache". The error can only be triggered when multiple memory pool regions are used and there is a periodic gathering and clearing of statistics. This also fixes a second bug where if you compile without statistics and explicitly set the memoru pool default pagesize, other environment handles to that environment would not see the correct memory pool default pagesize. [#18386]
789 </p>
790 </li>
791 <li>
792 <p>
793 Fixed a bug where the get_cachesize method and the mpool_stat method returned the initial cache size, even if the cache size had been changed. [#18706]
794 </p>
795 </li>
796 <li>
797 <p>
798 Changed memory pool allocation so that the EIO error is returned rather than the ENOMEM error when the memory cannot be allocated because dirty pages cannot be written. [#18740]
799 </p>
800 </li>
801 </ol>
802 </div>
803 </div>
804 <div class="sect2" lang="en" xml:lang="en">
805 <div class="titlepage">
806 <div>
807 <div>
808 <h3 class="title"><a id="idp1080752"></a>Mutex Subsystem Changes</h3>
809 </div>
810 </div>
811 </div>
812 <div class="orderedlist">
813 <ol type="1">
814 <li>
815 <p>
816 Fixed problems with the printed statistics for DB_MUTEX_SHARED latches. The DB_STAT_CLEAR flag (as specified by db_stat -Z) did not clear the counts of the number of times a shared latch either had to wait to get access or was able to get the latch without waiting. Also, the ownership state of a test-and-set latch (not a hybrid one) was always displayed as not owned, even when it was held. [#17585] [#18743]
817 </p>
818 </li>
819 </ol>
820 </div>
821 </div>
822 <div class="sect2" lang="en" xml:lang="en">
823 <div class="titlepage">
824 <div>
825 <div>
826 <h3 class="title"><a id="idp1089584"></a>Transaction Subsystem Changes</h3>
827 </div>
828 </div>
829 </div>
830 <div class="orderedlist">
831 <ol type="1">
832 <li>
833 <p>
834 Fixed bugs that could caused PANIC or DB_RUNRECOVERY errors when the synchronization of the transaction log failed. [#18588]
835 </p>
836 </li>
837 <li>
838 <p>
839 Fix javadoc to note the exception to the rule that a transaction handle may not be accessed after commit() operaton (getCommitToken() is allowed). [#18730]
840 </p>
841 </li>
842 </ol>
843 </div>
844 </div>
845 <div class="sect2" lang="en" xml:lang="en">
846 <div class="titlepage">
847 <div>
848 <div>
849 <h3 class="title"><a id="idp1067160"></a>Test Suite Changes</h3>
850 </div>
851 </div>
852 </div>
853 <div class="orderedlist">
854 <ol type="1">
855 <li>
856 <p>
857 None. [#18831]
858 </p>
859 </li>
860 </ol>
861 </div>
862 </div>
863 <div class="sect2" lang="en" xml:lang="en">
864 <div class="titlepage">
865 <div>
866 <div>
867 <h3 class="title"><a id="idp1088000"></a>Utility Changes</h3>
868 </div>
869 </div>
870 </div>
871 <div class="orderedlist">
872 <ol type="1">
873 <li>
874 <p>
875 Modified the db_printlog and db_dump -da so that they use the same formatting. The db_logprint utility now uses the message stream. Both db_dump -da and db_printlog accept a -D flag to indicate the numer of bytes of data items to display. You can set this value when calling the DB_ENV-&gt;set_data_len method or in the DB_CONFIG. [#18365]
876 </p>
877 </li>
878 <li>
879 <p>
880 Fixed a bug that caused a segmentation violation when using the db_printlog utility. [#18694]
881 </p>
882 </li>
883 <li>
884 <p>
885 Fixed a bug in db_hotbackup that would cause a trap if the -D flag is used and the DB_CONFIG file does not specify a log directory. [#18841]
886 </p>
887 </li>
888 </ol>
889 </div>
890 </div>
891 <div class="sect2" lang="en" xml:lang="en">
892 <div class="titlepage">
893 <div>
894 <div>
895 <h3 class="title"><a id="idp1091312"></a>Configuration, Documentation, Sample Apps, Portability, and Build Changes</h3>
896 </div>
897 </div>
898 </div>
899 <div class="orderedlist">
900 <ol type="1">
901 <li>
902 <p>
903 Added support and documentation for iPhone OS. [#18223]
904 </p>
905 </li>
906 <li>
907 <p>
908 Fix a bug to make the configuration option --enable-debug work when CFLAGS is set. [#18432]
909 </p>
910 </li>
911 <li>
912 <p>
913 Updated Visual Studio project files to enable ADO.NET support. [#18448]
914 </p>
915 </li>
916 <li>
917 <p>
918 Enhanced the source tree layout making it easier to navigate. [#18492]
919 </p>
920 </li>
921 <li>
922 <p>
923 Fixed the --enable-dbm argument to configure. [#18497]
924 </p>
925 </li>
926 <li>
927 <p>
928 Fixed Visual Studio project files so that they can load into Visual Studio 2010. [#18505]
929 </p>
930 </li>
931 <li>
932 <p>
933 Updated Windows CE build files to be consistent with desktop Windows build files. Added Windows Mobile 6.5.3 Professional as a target platform. [#18516]
934 </p>
935 </li>
936 <li>
937 <p>
938 Added a fix so that an error message is displayed when the 'ar' utility is missing when configured. [#18619]
939 </p>
940 </li>
941 <li>
942 <p>
943 Added tighter integration of JDBC on POSIX/autoconf by including an argument --enable-jdbc to configure. [#18621]
944 </p>
945 </li>
946 <li>
947 <p>
948 Fix build conflicts in log verify with other configurations. [#18658]
949 </p>
950 </li>
951 <li>
952 <p>
953 Upgraded Berkeley DB SQL to SQLite version 3.7.0 [#18857]
954 </p>
955 </li>
956 </ol>
957 </div>
958 </div>
959 <div class="sect2" lang="en" xml:lang="en">
960 <div class="titlepage">
961 <div>
962 <div>
963 <h3 class="title"><a id="idp1081576"></a>Example Changes</h3>
964 </div>
965 </div>
966 </div>
967 <div class="orderedlist">
968 <ol type="1">
969 <li>
970 <p>
971 Renamed examples/c/bench_001 to examples/c/ex_bulk. [#18537]
972 </p>
973 </li>
974 </ol>
975 </div>
976 </div>
977 <div class="sect2" lang="en" xml:lang="en">
978 <div class="titlepage">
979 <div>
980 <div>
981 <h3 class="title"><a id="idp1102152"></a>Miscellaneous Bug Fixes</h3>
982 </div>
983 </div>
984 </div>
985 <div class="orderedlist">
986 <ol type="1">
987 <li>
988 <p>
989 Provided a functionality on the Windows platform to choose a default page size based on the underlying file system sector size. [#16538]
990 </p>
991 </li>
992 <li>
993 <p>
994 Changed DB_NOSYNC from an "operation" constant to a flag value. [#17775]
995 </p>
996 </li>
997 <li>
998 <p>
999 Changed the default permissions for files in the release tree to allow write access. [#17974]
1000 </p>
1001 </li>
1002 <li>
1003 <p>
1004 Fixed a bug which caused database verification to hang when verifying a database in a Concurrent Data Store environment that performs locking on an environment-wide basis (DB_CDB_ALLDB.) [#18571]
1005 </p>
1006 </li>
1007 </ol>
1008 </div>
1009 </div>
1010 <div class="sect2" lang="en" xml:lang="en">
1011 <div class="titlepage">
1012 <div>
1013 <div>
1014 <h3 class="title"><a id="idp1100024"></a>Deprecated Features</h3>
1015 </div>
1016 </div>
1017 </div>
1018 <div class="orderedlist">
1019 <ol type="1">
1020 <li>
1021 <p>
1022 [#18871] Removed the mod_db4 PHP/Apache wrapper. It only supported Apache 1.3 and has not been actively supported. Use php_db4 instead.
1023 </p>
1024 </li>
1025 </ol>
1026 </div>
1027 </div>
1028 <div class="sect2" lang="en" xml:lang="en">
1029 <div class="titlepage">
1030 <div>
1031 <div>
1032 <h3 class="title"><a id="idp1100672"></a>Known Bugs</h3>
1033 </div>
1034 </div>
1035 </div>
1036 <div class="orderedlist">
1037 <ol type="1">
1038 <li>
1039 <p>
1040 None
1041 </p>
1042 </li>
1043 </ol>
1044 </div>
1045 </div>
1046 </div>
1047 <div class="navfooter">
1048 <hr />
1049 <table width="100%" summary="Navigation footer">
1050 <tr>
1051 <td width="40%" align="left"><a accesskey="p" href="upgrade_11gr2_51_mod_db4_unsupp.html">Prev</a> </td>
1052 <td width="20%" align="center">
1053 <a accesskey="u" href="upgrade_51_toc.html">Up</a>
1054 </td>
1055 <td width="40%" align="right"> <a accesskey="n" href="upgrade_11gr2_toc.html">Next</a></td>
1056 </tr>
1057 <tr>
1058 <td width="40%" align="left" valign="top">Mod_db4 Support Discontinued </td>
1059 <td width="20%" align="center">
1060 <a accesskey="h" href="index.html">Home</a>
1061 </td>
1062 <td width="40%" align="right" valign="top"> Chapter 12. 
1063 Upgrading Berkeley DB 4.8 applications to Berkeley DB 11.2.5.0
1064 </td>
1065 </tr>
1066 </table>
1067 </div>
1068 </body>
1069 </html>