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.4.16 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 Programmer's Reference Guide" /> 10 <link rel="up" href="upgrade_4_4_toc.html" title="Chapter��41.��Upgrading Berkeley DB 4.3 applications to Berkeley DB 4.4" /> 11 <link rel="prev" href="upgrade_4_4_disk.html" title="Release 4.4: Upgrade Requirements" /> 12 <link rel="next" href="changelog_4_4_20.html" title="Berkeley DB 4.4.20 Change Log" /> 13 </head> 14 <body> 15 <div class="navheader"> 16 <table width="100%" summary="Navigation header"> 17 <tr> 18 <th colspan="3" align="center">Berkeley DB 4.4.16 Change Log</th> 19 </tr> 20 <tr> 21 <td width="20%" align="left"><a accesskey="p" href="upgrade_4_4_disk.html">Prev</a>��</td> 22 <th width="60%" align="center">Chapter��41.��Upgrading Berkeley DB 4.3 applications to Berkeley DB 4.4</th> 23 <td width="20%" align="right">��<a accesskey="n" href="changelog_4_4_20.html">Next</a></td> 24 </tr> 25 </table> 26 <hr /> 27 </div> 28 <div class="sect1" lang="en" xml:lang="en"> 29 <div class="titlepage"> 30 <div> 31 <div> 32 <h2 class="title" style="clear: both"><a id="changelog_4_4_16"></a>Berkeley DB 4.4.16 Change Log</h2> 33 </div> 34 </div> 35 </div> 36 <div class="toc"> 37 <dl> 38 <dt> 39 <span class="sect2"> 40 <a href="changelog_4_4_16.html#id1650396">Database or Log File On-Disk Format Changes:</a> 41 </span> 42 </dt> 43 <dt> 44 <span class="sect2"> 45 <a href="changelog_4_4_16.html#id1650528">New Features:</a> 46 </span> 47 </dt> 48 <dt> 49 <span class="sect2"> 50 <a href="changelog_4_4_16.html#id1650638">Database Environment Changes:</a> 51 </span> 52 </dt> 53 <dt> 54 <span class="sect2"> 55 <a href="changelog_4_4_16.html#id1650616">Concurrent Data Store Changes:</a> 56 </span> 57 </dt> 58 <dt> 59 <span class="sect2"> 60 <a href="changelog_4_4_16.html#id1650624">General Access Method Changes:</a> 61 </span> 62 </dt> 63 <dt> 64 <span class="sect2"> 65 <a href="changelog_4_4_16.html#id1650693">Btree Access Method Changes:</a> 66 </span> 67 </dt> 68 <dt> 69 <span class="sect2"> 70 <a href="changelog_4_4_16.html#id1650780">Hash Access Method Changes:</a> 71 </span> 72 </dt> 73 <dt> 74 <span class="sect2"> 75 <a href="changelog_4_4_16.html#id1650612">Queue Access Method Changes:</a> 76 </span> 77 </dt> 78 <dt> 79 <span class="sect2"> 80 <a href="changelog_4_4_16.html#id1650596">Recno Access Method Changes</a> 81 </span> 82 </dt> 83 <dt> 84 <span class="sect2"> 85 <a href="changelog_4_4_16.html#id1650652">C++-specific API Changes:</a> 86 </span> 87 </dt> 88 <dt> 89 <span class="sect2"> 90 <a href="changelog_4_4_16.html#id1650960">Java-specific API Changes:</a> 91 </span> 92 </dt> 93 <dt> 94 <span class="sect2"> 95 <a href="changelog_4_4_16.html#id1650905">Java collections and bind API Changes:</a> 96 </span> 97 </dt> 98 <dt> 99 <span class="sect2"> 100 <a href="changelog_4_4_16.html#id1650685">Tcl-specific API Changes:</a> 101 </span> 102 </dt> 103 <dt> 104 <span class="sect2"> 105 <a href="changelog_4_4_16.html#id1650853">RPC-specific Client/Server Changes:</a> 106 </span> 107 </dt> 108 <dt> 109 <span class="sect2"> 110 <a href="changelog_4_4_16.html#id1650937">Replication Changes:</a> 111 </span> 112 </dt> 113 <dt> 114 <span class="sect2"> 115 <a href="changelog_4_4_16.html#id1650554">XA Resource Manager Changes:</a> 116 </span> 117 </dt> 118 <dt> 119 <span class="sect2"> 120 <a href="changelog_4_4_16.html#id1651171">Locking Subsystem Changes:</a> 121 </span> 122 </dt> 123 <dt> 124 <span class="sect2"> 125 <a href="changelog_4_4_16.html#id1650862">Logging Subsystem Changes:</a> 126 </span> 127 </dt> 128 <dt> 129 <span class="sect2"> 130 <a href="changelog_4_4_16.html#id1651219">Memory Pool Subsystem Changes:</a> 131 </span> 132 </dt> 133 <dt> 134 <span class="sect2"> 135 <a href="changelog_4_4_16.html#id1651279">Transaction Subsystem Changes:</a> 136 </span> 137 </dt> 138 <dt> 139 <span class="sect2"> 140 <a href="changelog_4_4_16.html#id1651296">Utility Changes:</a> 141 </span> 142 </dt> 143 <dt> 144 <span class="sect2"> 145 <a href="changelog_4_4_16.html#id1651393">Configuration, Documentation, Portability and Build Changes:</a> 146 </span> 147 </dt> 148 </dl> 149 </div> 150 <div class="sect2" lang="en" xml:lang="en"> 151 <div class="titlepage"> 152 <div> 153 <div> 154 <h3 class="title"><a id="id1650396"></a>Database or Log File On-Disk Format Changes:</h3> 155 </div> 156 </div> 157 </div> 158 <div class="orderedlist"> 159 <ol type="1"> 160 <li>The on-disk log format has changed.</li> 161 </ol> 162 </div> 163 </div> 164 <div class="sect2" lang="en" xml:lang="en"> 165 <div class="titlepage"> 166 <div> 167 <div> 168 <h3 class="title"><a id="id1650528"></a>New Features:</h3> 169 </div> 170 </div> 171 </div> 172 <div class="orderedlist"> 173 <ol type="1"> 174 <li>Add support to compact an existing Btree database. [#6750]</li> 175 <li>Add support for named in-memory databases. [#9927]</li> 176 <li>Add support for database environment recovery serialization. This 177simplifies multiprocess application architectures. Add DB_REGISTER flag 178to DB_ENV->open(). [#11511]</li> 179 <li>Add utility for performing hot backups of a database environment. 180 [#11536]</li> 181 <li>Add replication configuration API. [#12110]</li> 182 <li>Add replication support to return error instead of waiting for 183 client sync to complete. [#12110]</li> 184 <li>Add replication support for delayed client synchronization. [#12110]</li> 185 <li>Add replication support for client-to-client synchronization. 186 [#12110]</li> 187 <li>Add replication support for bulk transfer. [#12110]</li> 188 <li>Add new flags DB_DSYNC_DB and DB_DSYNC_LOG [12941]</li> 189 <li>Add DbEnv.log_printf, a new DbEnv method which logs printf style 190formatted strings into the Berkeley DB database environment log. 191[#13241]</li> 192 </ol> 193 </div> 194 </div> 195 <div class="sect2" lang="en" xml:lang="en"> 196 <div class="titlepage"> 197 <div> 198 <div> 199 <h3 class="title"><a id="id1650638"></a>Database Environment Changes:</h3> 200 </div> 201 </div> 202 </div> 203 <div class="orderedlist"> 204 <ol type="1"> 205 <li>Add a feature to support arbitrary alignment of mutexes in order to 206 minimize cache line collisions. [#9580]</li> 207 <li>Change cache regions on 64-bit machines to allow regions larger than 208 4GB. [#10668]</li> 209 <li>Fix a bug where a loop could occur if the application or system 210failed during modification of the linked list of shared regions. 211[#11532]</li> 212 <li>Fix mutex alignment on Linux/PA-RISC, add test-and-set mutexes for 213 MIPS and x86_64. [#11575]</li> 214 <li>Fix a bug where private database environments (DB_PRIVATE) on 64-bit 215 machines would core dump because of 64-bit address truncation. [#11983]</li> 216 <li>Fix a bug where freed memory is accessed when DB_PRIVATE 217environments are closed. This can happen on systems where the operating 218system holds mutex resources that must be freed when the mutex is 219destroyed. [#12591]</li> 220 <li>Fix a bug where the DbEnv.stat_print method could self-deadlock and 221hang. The DbEnv.stat_print method no longer displays statistics for any 222of the database environments databases. [#12039]</li> 223 <li>Fix a bug where Berkeley DB could create fragmented 224 filesystem-backed shared region files. [#12125]</li> 225 <li>Fix a bug where Berkeley DB stat calls could report a cache size of 226 0 after the statistics were cleared. [#12307]</li> 227 <li>Threads of control joining database environments are now configured 228for all of the subsystems (lock, log, cache, or transaction) for which 229the environment was originally configured, it is now an error to attempt 230configuration of additional subsystems after an environment is created. 231[#12422]</li> 232 <li>Fix a bug where negative percentages could be displayed in 233 statistics output. [#12673]</li> 234 <li>Fix a bug that could cause a panic if the cache is filled with 235 non-logging updated pages. [#12763]</li> 236 <li>Fix a bug that could cause an unreported deadlock if the application 237was using the DB_DIRTY_READ flag and the record was an off page 238duplicate record. [#12893]</li> 239 <li>Fix a bug where a handle lock could be incorrectly retained during 240 a delete or rename operation. [#12906]</li> 241 </ol> 242 </div> 243 </div> 244 <div class="sect2" lang="en" xml:lang="en"> 245 <div class="titlepage"> 246 <div> 247 <div> 248 <h3 class="title"><a id="id1650616"></a>Concurrent Data Store Changes:</h3> 249 </div> 250 </div> 251 </div> 252 <div class="orderedlist"> 253 <ol type="1"> 254 <li>Lock upgrades and downgrades are now accounted for separately from 255 lock requests and releases. [#11155]</li> 256 <li>Fix a bug where a second process joining a Concurrent Data Store 257environment, with the DB_CDB_ALLDB flag set, would fail. This would 258happen if the first thread were not entirely finished with 259initialization. [#12277]</li> 260 </ol> 261 </div> 262 </div> 263 <div class="sect2" lang="en" xml:lang="en"> 264 <div class="titlepage"> 265 <div> 266 <div> 267 <h3 class="title"><a id="id1650624"></a>General Access Method Changes:</h3> 268 </div> 269 </div> 270 </div> 271 <div class="orderedlist"> 272 <ol type="1"> 273 <li>Fix a bug where filesystem operations are improperly synchronized. 274 [#10564]</li> 275 <li>Add support for database files larger than 2GB on Windows. [#11839]</li> 276 <li>Rename DB_DEGREE_2 (and all related flags) to DB_READ_COMMITTED. 277 Rename DB_DIRTY (and all related flags) to DB_READ_UNCOMMITTED. [#11776]</li> 278 <li>Fix a bug where wrapping of sequences was incorrect when the cache 279size is smaller than the range of the maximum value minus the minimum 280value. [#11997]</li> 281 <li>Fix a bug that could result in a hot backup having a page missing 282from a database file if a file truncation was in progress during the 283backup but was then aborted. [#12017]</li> 284 <li>Fix a bug where a long filename could cause one too few bytes to 285 be allocated when opening a file. [#12085]</li> 286 <li>Fix a bug in secondary cursor code if a write lock is not granted. 287 [#12109]</li> 288 <li>Fix a bug in secondary cursors where the current record would change 289 on error. [#12141]</li> 290 <li>Fix a bug in Db->truncate where the method was not checking to see 291 if the handle was opened read-only. [#12179]</li> 292 <li>Fix a bug in sequences so that they are now platform independent, 293taking into account little-endian and big-endian architectures. They 294will be automatically upgraded in 4.4. [#12202]</li> 295 <li>Fix a bug with non-wrapping sequences when initial value was 296 INT64_MIN. [#12390]</li> 297 <li>Add a retry for operating system operations that return EIO (IO 298 Error) to better support NFS mounted filesystems. [#12426]</li> 299 <li>Fix sequence wrapping at INT64 limits. [#12520]</li> 300 <li>Fix a bug where errors during DB->associate could leave secondaries 301 half associated. [#13173]</li> 302 <li>Fix a bug so that we no longer will update in CDS and DS if the file 303 size limit will be exceeded. [#13222]</li> 304 </ol> 305 </div> 306 </div> 307 <div class="sect2" lang="en" xml:lang="en"> 308 <div class="titlepage"> 309 <div> 310 <div> 311 <h3 class="title"><a id="id1650693"></a>Btree Access Method Changes:</h3> 312 </div> 313 </div> 314 </div> 315 <div class="orderedlist"> 316 <ol type="1"> 317 <li>Remove maxkey configuration. [#8904]</li> 318 <li>Fix a memory leak in operations on large Btrees. [#12000]</li> 319 </ol> 320 </div> 321 </div> 322 <div class="sect2" lang="en" xml:lang="en"> 323 <div class="titlepage"> 324 <div> 325 <div> 326 <h3 class="title"><a id="id1650780"></a>Hash Access Method Changes:</h3> 327 </div> 328 </div> 329 </div> 330 <div class="orderedlist"> 331 <ol type="1"> 332 <li>Fix a bug where access to HASH or encrypted database pages might be 333 blocked during a checkpoint. [#11031]</li> 334 <li>Fix a bug where recovery would fail when a database has a hash page 335on the free list and that hash page was freed without using transactions 336and later allocated and aborted within a transaction. [#11214]</li> 337 <li>Fix a bug in hash duplicates where if the caller left garbage in the 338partial length field, we were using it. Fix a bug where a replacement 339of a hash item that should have gone on an overflow page, did not. 340[#11966]</li> 341 <li>Fix a bug where free space was miscalculated when adding the first 342duplicate to an existing item and the existing item plus the new item 343does not fit on a page. [#12270]</li> 344 <li>Fix a bug where allocations of hash buckets are not recovered 345 correctly. [#12846]</li> 346 </ol> 347 </div> 348 </div> 349 <div class="sect2" lang="en" xml:lang="en"> 350 <div class="titlepage"> 351 <div> 352 <div> 353 <h3 class="title"><a id="id1650612"></a>Queue Access Method Changes:</h3> 354 </div> 355 </div> 356 </div> 357 <div class="orderedlist"> 358 <ol type="1"> 359 <li>Improve performance of deletes from a QUEUE database that does not 360 have a secondary index. [#11538]</li> 361 <li>Fix a bug where updates that do not use transactions, but do enable 362 locking, failed to release locks. [#11669]</li> 363 <li>Fix a bug where a transaction might not be rolled forward if the 364site was performing hot backups and an application aborted a prepared 365but not committed transaction. [#12181]</li> 366 <li>Fix a bug with queue extents not being reclaimed. [#12249]</li> 367 <li>Fix a bug where a record being inserted before the head of the queue 368 could appear missing if DB_CONSUME is not specified. [#12919]</li> 369 <li>Fix a bug that might cause recovery to move the head or tail of the 370queue to exclude a record that was deleted but whose transaction did not 371commit. [#13256]</li> 372 <li>Fix a bug that could cause recovery to move the head or tail pointer 373beyond a record that was aborted but was rolled backward by recovery. 374[#13318]</li> 375 </ol> 376 </div> 377 </div> 378 <div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="id1650596"></a>Recno Access Method Changes</h3></div></div></div> 379 380None. 381</div> 382 <div class="sect2" lang="en" xml:lang="en"> 383 <div class="titlepage"> 384 <div> 385 <div> 386 <h3 class="title"><a id="id1650652"></a>C++-specific API Changes:</h3> 387 </div> 388 </div> 389 </div> 390 <div class="orderedlist"> 391 <ol type="1"> 392 <li>Fix a bug so that a DbMemoryException will be raised during a 393 DB_BUFFER_SMALL error. [#13273]</li> 394 </ol> 395 </div> 396 </div> 397 <div class="sect2" lang="en" xml:lang="en"> 398 <div class="titlepage"> 399 <div> 400 <div> 401 <h3 class="title"><a id="id1650960"></a>Java-specific API Changes:</h3> 402 </div> 403 </div> 404 </div> 405 <div class="orderedlist"> 406 <ol type="1"> 407 <li>Add VersionMismatchException to map the DB_VERSION_MISMATCH error. 408 [#11429]</li> 409 <li>Fix a bug in Environment.getConfiguration() method in non-crypto 410 builds. [#11752]</li> 411 <li>Fix a bug that caused a NullPointerException when using the 412 MultipleDataEntry default constructor. [#11753]</li> 413 <li>Fix handling of replication errors. [#11822]</li> 414 <li>Remove EnvironmentConfig.setReadOnly() method. [#11882]</li> 415 <li>Fix a bug where prefix strings in the error handler may be 416 corrupted. [#11967]</li> 417 <li>Fix a bug so that nested exceptions will appear in stack traces. 418 [#11992]</li> 419 <li>Fix a bug on LogSequenceNumber objects in the Java API. [#12223]</li> 420 <li>Fix a bug when no files are returned from a call to 421 DB_ENV->log_archive. [#12383]</li> 422 <li>Fix a bug when multiple verbose flags are set. [#12383]</li> 423 <li>Fix a bug so that an OutOfMemoryError is thrown when allocation 424 fails in the JNI layer. [#13434]</li> 425 </ol> 426 </div> 427 </div> 428 <div class="sect2" lang="en" xml:lang="en"> 429 <div class="titlepage"> 430 <div> 431 <div> 432 <h3 class="title"><a id="id1650905"></a>Java collections and bind API Changes:</h3> 433 </div> 434 </div> 435 </div> 436 <div class="orderedlist"> 437 <ol type="1"> 438 <li>Binding performance has been improved by using System.arraycopy in 439 the FastOutputStream and FastInputStream utility classes. [#12002]</li> 440 <li>The objectToEntry method is now implemented in all TupleBinding 441subclasses (IntegerBinding, etc) so that tuple bindings are fully 442nestable. An example of this usage is a custom binding that dynamically 443discovers the data types of each of the properties of a Java bean class. 444For each property, it calls TupleBinding.getPrimitiveBinding using the 445property's type (class). When the custom binding's objectToEntry method 446is called, it in turn calls the objectToEntry method of the nested 447bindings for each property. [#12124]</li> 448 <li>The getCause method for IOExceptionWrapper and 449RuntimeExceptionWrapper is now defined so that nested exceptions appear 450in stack traces for exceptions thrown by the collections API. [#11992]</li> 451 <li>TupleBinding.getPrimitiveBinding can now be passed a primitive type 452class as well as a primitive wrapper class. The return value for 453Integer.TYPE and Integer.class, for example, will be the same binding. 454[#12035]</li> 455 <li>Improvements have been made to prevent the buffer used in serial and 456tuple bindings from growing inefficiently, and to provide more 457alternatives for the application to specify the desired size. For 458details see com.sleepycat.bind.serial.SerialBase and 459com.sleepycat.bind.tuple.TupleBase. [#12398]</li> 460 <li>Add StoredContainer.getCursorConfig, deprecate isDirtyRead. 461Deprecate StoredCollections.dirtyReadMap (dirtyReadSet, etc) which is 462replaced by configuredMap (configuredSet, etc). Deprecated 463StoredContainer.isDirtyReadAllowed with no replacement (please use 464DatabaseConfig.getDirtyRead). Also note that 465StoredCollections.configuredMap (configuredSet, etc) can be used to 466configure read committed and write lock containers, as well as read 467uncommitted containers, since all CursorConfig properties are supported. 468[#11776]</li> 469 <li>Add the protected method SerialBinding.getClassLoader so that 470subclasses may return a specific or dynamically determined class loader. 471Useful for applications which use multiple class loaders, including 472applications that serialize Groovy-defined classes. [#12764] [#12749]</li> 473 </ol> 474 </div> 475 </div> 476 <div class="sect2" lang="en" xml:lang="en"> 477 <div class="titlepage"> 478 <div> 479 <div> 480 <h3 class="title"><a id="id1650685"></a>Tcl-specific API Changes:</h3> 481 </div> 482 </div> 483 </div> 484 <div class="orderedlist"> 485 <ol type="1"> 486 <li>Fix a bug that could cause a memory leak in the replication test 487 code. [#13436]</li> 488 </ol> 489 </div> 490 </div> 491 <div class="sect2" lang="en" xml:lang="en"> 492 <div class="titlepage"> 493 <div> 494 <div> 495 <h3 class="title"><a id="id1650853"></a>RPC-specific Client/Server Changes:</h3> 496 </div> 497 </div> 498 </div> 499 <div class="orderedlist"> 500 <ol type="1"> 501 <li>Fix double-free in RPC server when handling an out-of-memory error. 502 [#11852]</li> 503 </ol> 504 </div> 505 </div> 506 <div class="sect2" lang="en" xml:lang="en"> 507 <div class="titlepage"> 508 <div> 509 <div> 510 <h3 class="title"><a id="id1650937"></a>Replication Changes:</h3> 511 </div> 512 </div> 513 </div> 514 <div class="orderedlist"> 515 <ol type="1"> 516 <li>Fix race condition (introduced in 4.3) in rep_start function. 517 [#11030]</li> 518 <li>Changed internal initialization to no longer store records. [#11090]</li> 519 <li>Add support for replication bulk transfer. [#11099]</li> 520 <li>Berkeley DB now calls check_doreq function for MASTER_REQ messages. 521 [#11207]</li> 522 <li>Fix a bug where transactions could be counted incorrectly during 523 txn_recover. [#11257]</li> 524 <li>Add DB_REP_IGNORE flag so that old messages (especially PERM 525 messages) can be ignored by applications. [#11585]</li> 526 <li>Fix a bug where op_timestamp was not initialized. [#11795]</li> 527 <li>Fix a bug in db_refresh where a client would write a log record on 528 closing a file. [#11892]</li> 529 <li>Fix backward arguments in C++ rep_elect API. [#11906]</li> 530 <li>Fix a bug where a race condition could happen between downgrading a 531 master and a database update operation. [#11955]</li> 532 <li>Fix a bug on VERIFY_REQ. We now honor wait recs/rcvd. [#12097]</li> 533 <li>Fix a bug in rebroadcast of verify_req by initializing lp->wait_recs 534 when finding a new master. [#12097]</li> 535 <li>Fix a bug by adding lockout checking to __env_rep_enter since 536 rename/remove now call it. [#12192]</li> 537 <li>Fix a bug so that we now skip __db_chk_meta if we are a rep client. 538 [#12316]</li> 539 <li>Fix a replication failure on Windows. [#12331]</li> 540 <li>Remove master discovery phase from rep_elect as a performance 541 improvement to speed up elections. [#12551]</li> 542 <li>Fix a bug to avoid multiple data streams when issuing al ALL_REQ. 543 [#12595]</li> 544 <li>Fix a bug to request the remaining gap again if the gap record is 545 dropped after we receive the singleton. [#12974]</li> 546 <li>Fix a bug in internal initialization when master changes in the 547 middle of initializing. [#13074]</li> 548 <li>Fix a bug in replication/archiving with internal init. [#13110]</li> 549 <li>Fix pp handling of db_truncate. [#13115]</li> 550 <li>Fix a bug where rep_timestamp could be updated when it should not 551 be updated. [#13331]</li> 552 <li>Fix a bug with bulk transfer when toggling during updates. [#13339]</li> 553 <li>Change EINVAL error return to DB_REP_JOIN_FAILURE. [#12110]</li> 554 <li>Add C++ exception for DB_REP_HANDLE_DEAD. [#13361]</li> 555 <li>Fix a bug where starting an election concurrently with processing a 556NEWMASTER message could cause the send function to be called with an 557invalid eid. [#13403]</li> 558 </ol> 559 </div> 560 </div> 561 <div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="id1650554"></a>XA Resource Manager Changes:</h3></div></div></div> 562 563None. 564</div> 565 <div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="id1651171"></a>Locking Subsystem Changes:</h3></div></div></div> 566 567None. 568</div> 569 <div class="sect2" lang="en" xml:lang="en"> 570 <div class="titlepage"> 571 <div> 572 <div> 573 <h3 class="title"><a id="id1650862"></a>Logging Subsystem Changes:</h3> 574 </div> 575 </div> 576 </div> 577 <div class="orderedlist"> 578 <ol type="1"> 579 <li>Add set_log_filemode for applications that need to set an absolute 580 file mode on log files. [#8747]</li> 581 <li>Fix a bug that caused Not Found to be returned if a log file exists 582 but is not readable. [#11185]</li> 583 <li>Removed checksum of records with an in-memory log buffer. [#11280]</li> 584 <li>Fix a bug so that the DB_LOG_INMEMORY flag can no longer be set 585 after calling DB_ENV->open. [#11436]</li> 586 <li>Fix a bug introduced after release 4.0 where two simultaneous 587 checkpoints could cause ckp_lsn values to be out of order. [#12094]</li> 588 <li>Fix a bug when in debug mode and using the DEBUG_ROP which will now 589 log read operations in __dbc_logging. [#12303]</li> 590 <li>Fix a bug where failing to write a log record on a file close would 591 result in a core dump later. [#12460]</li> 592 <li>Fix a bug where automatic log file removal, or the return of log 593files using an absolute path, could fail silently if the applications 594current working directory could not be reached using the systems getcwd 595library call. [#12505]</li> 596 <li>Avoid locking the log region if we are not going to flush the log. 597This can improve performance for some write-intensive application 598workloads. [#13090]</li> 599 <li>Fix a bug with a possible segment fault when memp_stat_print is 600 called on a temporary database. [#13315]</li> 601 <li>Fix a bug where log_stat_print could deadlock with threads during a 602 checkpoint. [#13315]</li> 603 </ol> 604 </div> 605 </div> 606 <div class="sect2" lang="en" xml:lang="en"> 607 <div class="titlepage"> 608 <div> 609 <div> 610 <h3 class="title"><a id="id1651219"></a>Memory Pool Subsystem Changes:</h3> 611 </div> 612 </div> 613 </div> 614 <div class="orderedlist"> 615 <ol type="1"> 616 <li>Fix a bug where modified database pages might not be flushed if 617recovery were run and all pages from a database were found in the system 618cache and up to date, followed by a system crash. [#11654]</li> 619 </ol> 620 </div> 621 </div> 622 <div class="sect2" lang="en" xml:lang="en"> 623 <div class="titlepage"> 624 <div> 625 <div> 626 <h3 class="title"><a id="id1651279"></a>Transaction Subsystem Changes:</h3> 627 </div> 628 </div> 629 </div> 630 <div class="orderedlist"> 631 <ol type="1"> 632 <li>Add new DbTxn class methods allowing applications to set/get a 633descriptive name associated with a transaction. The descriptive name 634is also displayed by the db_stat utility. [#0382]</li> 635 <li>Fix a bug where aborting a transaction with a large number of nested 636 transactions could take a long time. [#10972]</li> 637 <li>Add support to allow the TXN_WRITE_NOSYNC flag to be specified on 638 the transaction handle. [#11151]</li> 639 <li>Fix a bug that could cause a page to be on the free list twice if 640it was originally put on the free list by a non-transactional update and 641then reallocated in a transaction that aborts. [#11159]</li> 642 <li>Remove the requirement for the DB_AUTO_COMMIT flag to make database 643operations transactional. Specifying the database environment as 644transactional or opening the database handle transactionally is 645sufficient. [#11302]</li> 646 <li>Fix a bug so that environments created from errant programs that 647called dbp->close while transactions were still active can now be 648recovered. [#11384]</li> 649 <li>Fix a bug that caused free pages at the end of a file to be 650truncated during recovery rather than placed on the free page list. 651[#11643]</li> 652 <li>Fix a bug that caused a page to have the wrong type if the truncate 653 of a BREE or RECNO database needed to be rolled forward. [#11670]</li> 654 <li>Fix a bug when manually undoing a subdb create, dont try to free a 655 root page that has not been allocated. [#11925]</li> 656 <li>Add a check on database open to see if log files were incorrectly 657 removed by system administration mistakes. [#12178]</li> 658 <li>Fix a bug when calling DB->pget and then specifying the 659DB_READ_COMMITTED (DB_DEGREE_2) on a cursor. If followed by a 660DBC->c_pget, the primary database would incorrectly remain locked. 661[#12410]</li> 662 <li>Fix a bug where the abort of a transaction in which a sub database 663 was opened with the DB_TXN_NOT_DURABLE flag could fail. [#12420]</li> 664 <li>Fix a bug that could cause an abort transaction that allocated new 665pages to a file that were not flushed to disk prior to the abort 666transaction to report out of disk space. [#12743]</li> 667 <li>Fix a bug that could prevent multiple creates and destroys of the 668 same file to be recovered correctly. [#13026]</li> 669 <li>Fix a bug when recovery previously handled a section of the log that 670 did not contain any transactions. [#13139]</li> 671 <li>Fix a bug that could result in the loss of durability in 672 Transactional Environments on Mac OS X. [#13149]</li> 673 <li>Fix a bug that could cause the improper reuse of a transaction id 674 when recovery restores prepared transactions. [#13256]</li> 675 </ol> 676 </div> 677 </div> 678 <div class="sect2" lang="en" xml:lang="en"> 679 <div class="titlepage"> 680 <div> 681 <div> 682 <h3 class="title"><a id="id1651296"></a>Utility Changes:</h3> 683 </div> 684 </div> 685 </div> 686 <div class="orderedlist"> 687 <ol type="1"> 688 <li>Add utility for performing hot backups of a database environment. 689 [#11536]</li> 690 <li>Change the Verify utility to now identify any nodes that have 691 incorrect record counts. [#11934]</li> 692 <li>Fix a bug in the 1.85 compatibility code supporting per-application 693Btree comparison and prefix compression functions. The functions would 694not work on big-endian 64-bit hardware. [#13316]</li> 695 </ol> 696 </div> 697 </div> 698 <div class="sect2" lang="en" xml:lang="en"> 699 <div class="titlepage"> 700 <div> 701 <div> 702 <h3 class="title"><a id="id1651393"></a>Configuration, Documentation, Portability and Build Changes:</h3> 703 </div> 704 </div> 705 </div> 706 <div class="orderedlist"> 707 <ol type="1"> 708 <li>Change the ex_tpcb sample application to no longer displays 709intermediate results. It displays results at the end of the run. 710[#11259]</li> 711 <li>Change the Visual Studio projects on Windows so that each is in an 712 intermediate directory. [#11441]</li> 713 <li>Fix errors in test subdb011. [#11799]</li> 714 <li>Fix a bug that could cause applications using gcc on Power PC 715 platforms to hang. [#12233]</li> 716 <li>Fix a bug where installation will fail if a true program cannot be 717 found. [#12278]</li> 718 <li>Fix a bug that prevented C++ applications from configuring XA 719 [#12300].</li> 720 <li>Fix a race condition in the Windows mutex implementation found on 721 8-way Itanium systems. [#12417]</li> 722 <li>Add pthread mutex support for IBM OS/390 platform (z/OS or MVS). 723 [#12639]</li> 724 <li>Fix a bug where the Tcl API did not configure on OS X 10.4. [#12699]</li> 725 <li>Fix portability issues with queue or recno primary databases. 726 [#12872]</li> 727 <li>Fix a bug where utility attempted to send replication message. 728 [#13446]</li> 729 </ol> 730 </div> 731 </div> 732 </div> 733 <div class="navfooter"> 734 <hr /> 735 <table width="100%" summary="Navigation footer"> 736 <tr> 737 <td width="40%" align="left"><a accesskey="p" href="upgrade_4_4_disk.html">Prev</a>��</td> 738 <td width="20%" align="center"> 739 <a accesskey="u" href="upgrade_4_4_toc.html">Up</a> 740 </td> 741 <td width="40%" align="right">��<a accesskey="n" href="changelog_4_4_20.html">Next</a></td> 742 </tr> 743 <tr> 744 <td width="40%" align="left" valign="top">Release 4.4: Upgrade Requirements��</td> 745 <td width="20%" align="center"> 746 <a accesskey="h" href="index.html">Home</a> 747 </td> 748 <td width="40%" align="right" valign="top">��Berkeley DB 4.4.20 Change Log</td> 749 </tr> 750 </table> 751 </div> 752 </body> 753</html> 754