2011-09-13 17:44:24 +00:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
|
<head>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
|
|
|
<title>Berkeley DB 4.5.20 Change Log</title>
|
|
|
|
|
<link rel="stylesheet" href="gettingStarted.css" type="text/css" />
|
|
|
|
|
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
|
|
|
|
|
<link rel="start" href="index.html" title="Berkeley DB Upgrade Guide" />
|
|
|
|
|
<link rel="up" href="upgrade_4_5_toc.html" title="Chapter 5. Upgrading Berkeley DB 4.4 applications to Berkeley DB 4.5" />
|
|
|
|
|
<link rel="prev" href="upgrade_4_5_disk.html" title="Upgrade Requirements" />
|
|
|
|
|
<link rel="next" href="upgrade_4_4_toc.html" title="Chapter 6. Upgrading Berkeley DB 4.3 applications to Berkeley DB 4.4" />
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div xmlns="" class="navheader">
|
|
|
|
|
<div class="libver">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<p>Library Version 11.2.5.3</p>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
<table width="100%" summary="Navigation header">
|
|
|
|
|
<tr>
|
|
|
|
|
<th colspan="3" align="center">Berkeley DB 4.5.20 Change Log</th>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="20%" align="left"><a accesskey="p" href="upgrade_4_5_disk.html">Prev</a> </td>
|
|
|
|
|
<th width="60%" align="center">Chapter 5. Upgrading Berkeley DB 4.4 applications to Berkeley DB 4.5</th>
|
|
|
|
|
<td width="20%" align="right"> <a accesskey="n" href="upgrade_4_4_toc.html">Next</a></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
<hr />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect1" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
|
|
|
|
<h2 class="title" style="clear: both"><a id="changelog_4_5_20"></a>Berkeley DB 4.5.20 Change Log</h2>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="toc">
|
|
|
|
|
<dl>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp532416">Database or Log File On-Disk Format Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp511360">New Features:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp513984">Database Environment Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp516952">Concurrent Data Store Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp520856">General Access Method Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp520704">Btree Access Method Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp536568">Hash Access Method Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp533544">Queue Access Method Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp538416">Recno Access Method Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp538672">C++-specific API Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp517336">Java-specific API Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp541328">Java collections and bind API Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp544872">Tcl-specific API Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp547384">RPC-specific Client/Server Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp546520">Replication Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp555720">XA Resource Manager Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp534840">Locking Subsystem Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp532616">Logging Subsystem Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp553288">Memory Pool Subsystem Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp541712">Transaction Subsystem Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp554512">Utility Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="sect2">
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<a href="changelog_4_5_20.html#idp555784">Configuration, Documentation, Portability and Build Changes:</a>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</span>
|
|
|
|
|
</dt>
|
|
|
|
|
</dl>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect2" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<h3 class="title"><a id="idp532416"></a>Database or Log File On-Disk Format Changes:</h3>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<ol type="1">
|
|
|
|
|
<li>The on-disk log format has changed.</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect2" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<h3 class="title"><a id="idp511360"></a>New Features:</h3>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<ol type="1">
|
|
|
|
|
<li>Multi-Version Concurrency Control for the Btree/Recno access
|
|
|
|
|
methods.</li>
|
|
|
|
|
<li>A new replication framework with a default TCP/IP setup.</li>
|
|
|
|
|
<li>Online replication upgrades for high availability replicated 24/7
|
|
|
|
|
systems.</li>
|
|
|
|
|
<li>A new event-style notification.</li>
|
|
|
|
|
<li>Several enhancements to the Java Collections API including the
|
|
|
|
|
implementation of the size() method.</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect2" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<h3 class="title"><a id="idp513984"></a>Database Environment Changes:</h3>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<ol type="1">
|
|
|
|
|
<li>Update the DB_ENV->failchk method to garbage collect per-process
|
|
|
|
|
mutexes stranded after unexpected process failure. [#13964]</li>
|
|
|
|
|
<li>Fix a bug that could cause memory used to track threads for
|
|
|
|
|
DB_ENV->failchk to not be reused when a thread no longer exists.
|
|
|
|
|
[#14425]</li>
|
|
|
|
|
<li>Add set_event_notify behavior as part of new event notification in
|
|
|
|
|
Berkeley DB. [#14534]</li>
|
|
|
|
|
<li>Fix a bug so that we no longer panic on DB_ENV->close() if a
|
|
|
|
|
previous environment close failed to log. This condition will now return
|
|
|
|
|
an error. [#14693]</li>
|
|
|
|
|
<li>Created os_getenv, removed clib/getenv, implemented Windows specific
|
|
|
|
|
behavior. [#14942]</li>
|
|
|
|
|
<li>Fix a bug where it was possible to corrupt the DB_REGISTER
|
|
|
|
|
information file, making it impossible for Berkeley DB applications to
|
|
|
|
|
join database environments. [#14998]</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect2" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<h3 class="title"><a id="idp516952"></a>Concurrent Data Store Changes:</h3>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<ol type="1">
|
|
|
|
|
<li>Fix a bug where renaming a subdatabase in a Concurrent Data Store
|
|
|
|
|
environment could fail. [#14185]</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect2" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<h3 class="title"><a id="idp520856"></a>General Access Method Changes:</h3>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<ol type="1">
|
|
|
|
|
<li>Fix a bug that could leave extra unallocated pages at the end of a
|
|
|
|
|
database file. [#14031]</li>
|
|
|
|
|
<li>Optimize secondary updates when overwriting primary records.
|
|
|
|
|
[#14075]</li>
|
|
|
|
|
<li>Fix a bug to prevent a trap when creating a named in-memory database
|
|
|
|
|
and there are already temporary files open. [#14133]</li>
|
|
|
|
|
<li>Fix a bug which caused a trap if the key parameter to DBC->c_get was
|
|
|
|
|
omitted with DB_CURRENT. [#14143]</li>
|
|
|
|
|
<li>Fix a bug with secondary cursors when the secondary has off-page
|
|
|
|
|
duplicates. This bug resulted in incorrect primary data being returned.
|
|
|
|
|
[#14240]</li>
|
|
|
|
|
<li>Improve performance when removing a subdatabase by not locking every
|
|
|
|
|
page. [#14366]</li>
|
|
|
|
|
<li>Fix a bug that would not properly upgrade database files from
|
|
|
|
|
releases 3.2.9 (and earlier) to releases 4.0 (and greater). [#14461]</li>
|
|
|
|
|
<li>Fix a bug that could cause a DB_READ_UNCOMMITTED get through a
|
|
|
|
|
secondary index to return DB_SECONDARY_CORRUPT. [#14487]</li>
|
|
|
|
|
<li>Fix a bug so that non-transactional cursor updates of a
|
|
|
|
|
transactional database will generate an error. [#14519]</li>
|
|
|
|
|
<li>Add a message when the system panics due to a page in the wrong
|
|
|
|
|
state at its time of allocation. [#14527]</li>
|
|
|
|
|
<li>Fix a remove failure when attempting to remove a file that is open
|
|
|
|
|
in another thread of control. [#14780]</li>
|
|
|
|
|
<li>Fix a bug where the key was not ignored when doing a cursor put with
|
|
|
|
|
the DB_CURRENT flag. [#14988]</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect2" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<h3 class="title"><a id="idp520704"></a>Btree Access Method Changes:</h3>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<ol type="a">
|
|
|
|
|
<li>When deleting a page don't check the next key in the parent if we
|
|
|
|
|
are going to delete the parent too.</li>
|
|
|
|
|
<li>Need to check that the tree has not collapsed between dropping a
|
|
|
|
|
read lock and getting the write lock. If it has collapsed we will fetch
|
|
|
|
|
the root of the tree.</li>
|
|
|
|
|
<li>Fix a case where we fail to lock the next page before reading it.</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
<ol type="1">
|
|
|
|
|
<li>Changed the implementation of internal nodes in btrees so that they
|
|
|
|
|
no longer share references to overflow pages with leaf nodes. [#10717]</li>
|
|
|
|
|
<li>Fix a bug that could cause a diagnostic assertion by setting the
|
|
|
|
|
deleted bit on a record in an internal node. [#13944]</li>
|
|
|
|
|
<li>Fix three problems in BTREE compaction: [#14238]</li>
|
|
|
|
|
<li>Fix a bug that could cause the compaction of a Btree with sorted
|
|
|
|
|
duplicates to fail when attempting to compact an off page duplicate tree
|
|
|
|
|
if a key could not fit in an internal node. [#14771]</li>
|
|
|
|
|
<li>Fix a bug that causes a loop if an empty Btree was compacted.
|
|
|
|
|
[#14493]</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect2" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<h3 class="title"><a id="idp536568"></a>Hash Access Method Changes:</h3>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<ol type="1">
|
|
|
|
|
<li>Fix a bug to allow creation of hash pages during truncate recovery.
|
|
|
|
|
[#14247]</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect2" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<h3 class="title"><a id="idp533544"></a>Queue Access Method Changes:</h3>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<ol type="1">
|
|
|
|
|
<li>Fix a bug where reads of data items outside the range of the queue
|
|
|
|
|
were not kept locked to the end of the transaction, breaking
|
|
|
|
|
serializability. [#13719]</li>
|
|
|
|
|
<li>Fix a bug that could cause corruption in queue extent files if
|
|
|
|
|
multiple processes tried to open the same extent at the same time.
|
|
|
|
|
[#14438]</li>
|
|
|
|
|
<li>Improve concurrency for in-place updates in queue databases.
|
|
|
|
|
[#14918]</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="idp538416"></a>Recno Access Method Changes:</h3></div></div></div>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
|
|
|
|
|
None.
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect2" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<h3 class="title"><a id="idp538672"></a>C++-specific API Changes:</h3>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<ol type="1">
|
|
|
|
|
<li>C++ applications that check the error code in exceptions should note
|
|
|
|
|
that DbMemoryException has been changed to have the error code
|
|
|
|
|
DB_BUFFER_SMALL rather than ENOMEM, to match the error returned by the
|
|
|
|
|
C API. DbMemoryException will be thrown when a Dbt is too small to
|
|
|
|
|
contain data returned by Berkeley DB. When a call to malloc fails, or
|
|
|
|
|
some other resource is exhausted, a plain DbException will be thrown
|
|
|
|
|
with error code set to ENOMEM. [#13939]</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect2" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<h3 class="title"><a id="idp517336"></a>Java-specific API Changes:</h3>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<ol type="1">
|
|
|
|
|
<li>Database.verify may now be called. This method is now static and
|
|
|
|
|
takes a DatabaseConfig parameter. [#13971]</li>
|
|
|
|
|
<li>Add DB_ENV->{fileid_reset, lsn_reset} to the public API. [#14076]</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect2" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<h3 class="title"><a id="idp541328"></a>Java collections and bind API Changes:</h3>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<ol type="1">
|
|
|
|
|
<li>The com.sleepycat.collections package is now fully compatible with
|
|
|
|
|
the Java Collections framework. [#14732]</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect2" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<h3 class="title"><a id="idp544872"></a>Tcl-specific API Changes:</h3>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<ol type="1">
|
|
|
|
|
<li>Fix a conflicting variable, sysscript.tcl. [#15051]</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="idp547384"></a>RPC-specific Client/Server Changes:</h3></div></div></div>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
|
|
|
|
|
None.
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect2" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<h3 class="title"><a id="idp546520"></a>Replication Changes:</h3>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<ol type="1">
|
|
|
|
|
<li>Fix a bug when running with DEBUG_ROP or DEBUG_WOP. [#13394]</li>
|
|
|
|
|
<li>Add live replication upgrade support [#13670]</li>
|
|
|
|
|
<li>Fix a bug so that client databases are removed at the start of
|
|
|
|
|
internal initialization. [#14147]</li>
|
|
|
|
|
<li>Fix a bug in replication internal initialization so that data_dir
|
|
|
|
|
will be handled correctly. Make internal initialization resilient to
|
|
|
|
|
multiple data_dir calls with the same directory. [#14489]</li>
|
|
|
|
|
<li>Fix a bug in the 4.2 sync-up algorithm that could result in no open
|
|
|
|
|
files. [#14552]</li>
|
|
|
|
|
<li>Fix a bug when clients decide to re-request. [#14642]</li>
|
|
|
|
|
<li>Fix a bug where a PERM bulk buffer could have a zero LSN passed to
|
|
|
|
|
the application callback. [#14675]</li>
|
|
|
|
|
<li>Change names of some existing replication API methods as described
|
|
|
|
|
in <a class="xref" href="upgrade_4_5_rep_set.html" title="Replication method naming">Replication method naming</a>.
|
|
|
|
|
[#14723]</li>
|
|
|
|
|
<li>Fix a bug which could cause an election to succeed only after
|
|
|
|
|
waiting for the timeout to expire, even when all sites responded in a
|
|
|
|
|
timely manner. The bug was most easily visible in an election between 2
|
|
|
|
|
sites. [#14752]</li>
|
|
|
|
|
<li>Fix a bug where a process could have an old file handle to a log
|
|
|
|
|
file. [#14797]</li>
|
|
|
|
|
<li>Fix a bug where a "log_more" message could be on a log file
|
|
|
|
|
boundary. [#15034]</li>
|
|
|
|
|
<li>Fix a bug that could cause log corruption if a database open
|
|
|
|
|
operation were attempted during a call to rep_start in another thread.
|
|
|
|
|
[#15035]</li>
|
|
|
|
|
<li>Fix a bug during elections where a vote2 arrives before its vote1.
|
|
|
|
|
[#15055]</li>
|
|
|
|
|
<li>Fix a bug to make sure we are a client if sending a REP_REREQUEST.
|
|
|
|
|
[#15066]</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="idp555720"></a>XA Resource Manager Changes:</h3></div></div></div>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
|
|
|
|
|
None.
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect2" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<h3 class="title"><a id="idp534840"></a>Locking Subsystem Changes:</h3>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<ol type="1">
|
|
|
|
|
<li>Fix a bug that could cause a write to hang if DB_READ_UNCOMMITTED
|
|
|
|
|
is enabled and it tries to reacquire a write lock. [#14919]</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect2" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<h3 class="title"><a id="idp532616"></a>Logging Subsystem Changes:</h3>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<ol type="1">
|
|
|
|
|
<li>Fix a bug so that log headers are now included in the checksum. This
|
|
|
|
|
avoids a possible race in doing hot backups. [#11636].</li>
|
|
|
|
|
<li>Add a check so that some log sequence errors are diagnosed at run
|
|
|
|
|
time rather than during recovery. [#13231]</li>
|
|
|
|
|
<li>Fix a bug where recovery fails if there is no disk space for the
|
|
|
|
|
forced checkpoint that occurs at the end of processing the log. [#13986]</li>
|
|
|
|
|
<li>Fix a bug which could cause a page to be missing from the end of a
|
|
|
|
|
database file if the page at the end of the file was freed while it
|
|
|
|
|
contained data and the system was restarted before the log record for
|
|
|
|
|
that free was flushed to disk. [#14090]</li>
|
|
|
|
|
<li>Fix a bug that could cause log files to be incorrectly removed by
|
|
|
|
|
log_archive if it was run immediately after recovery. [#14874]</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect2" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<h3 class="title"><a id="idp553288"></a>Memory Pool Subsystem Changes:</h3>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<ol type="1">
|
|
|
|
|
<li>Fix a bug that could cause corruption to the buffer pool cache if a
|
|
|
|
|
race condition was hit while using DB->compact. [#14360]</li>
|
|
|
|
|
<li>Fix a bug where cache pages could be leaked in applications creating
|
|
|
|
|
temporary files for which the DB_MPOOL_NOFILE flag was set. [#14544]</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect2" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<h3 class="title"><a id="idp541712"></a>Transaction Subsystem Changes:</h3>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<ol type="1">
|
|
|
|
|
<li>Fix a bug that could cause extra empty pages to appear in a database
|
|
|
|
|
file after recovery. [#11118]</li>
|
|
|
|
|
<li>Fix a bug triggered when running recovery with a feedback function
|
|
|
|
|
that could cause a NULL pointer dereference. [#13834]</li>
|
|
|
|
|
<li>Fix a bug where running recovery could create duplicate entries in
|
|
|
|
|
the data directory list. [#13884]</li>
|
|
|
|
|
<li>Fix a bug to not trade locks if a write lock is already owned.
|
|
|
|
|
[#13917]</li>
|
|
|
|
|
<li>Fix a bug that could cause traps or hangs if the DB_TXN->set_name
|
|
|
|
|
function is used in a multithreaded application. [#14033]</li>
|
|
|
|
|
<li>Fix a bug so that a transaction can no longer be committed after it
|
|
|
|
|
had deadlocked. [#14037]</li>
|
|
|
|
|
<li>Fix a bug that could cause a trap during recovery if multiple
|
|
|
|
|
operations that could remove the same extent are recovered. [#14061]</li>
|
|
|
|
|
<li>Fix a bug that could cause an extent file to be deleted after the
|
|
|
|
|
last record in the extent was consumed but the consuming transaction was
|
|
|
|
|
aborted. [#14179]</li>
|
|
|
|
|
<li>Fix a bug where the parent database would not use
|
|
|
|
|
DB_READ_UNCOMMITTED in certain cases when calling DBC->c_pget. [#14361]</li>
|
|
|
|
|
<li>Fix a bug so that it is no longer possible to do a non-transactional
|
|
|
|
|
cursor update on a database that is opened transactionally. [#14519]</li>
|
|
|
|
|
<li>Fix a bug that causes a sequence to ignore the DB_AUTO_COMMIT
|
|
|
|
|
settings. [#14582]</li>
|
|
|
|
|
<li>Fix a bug, change txn_recover so that multiple processes will
|
|
|
|
|
recover prepared transactions without requiring that the first process
|
|
|
|
|
stay active. [#14707]</li>
|
|
|
|
|
<li>Fix a bug that could cause the wrong record to be deleted if a
|
|
|
|
|
transaction had a cursor on a record with a pending delete and then
|
|
|
|
|
replaced a record that contained overflow data or replaced a record with
|
|
|
|
|
overflow data and that replace failed. [#14834]</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect2" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<h3 class="title"><a id="idp554512"></a>Utility Changes:</h3>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<ol type="1">
|
|
|
|
|
<li>Fix a bug that caused db_verify to not check the order on leaf pages
|
|
|
|
|
which were the leftmost children of an internal node. [#13004]</li>
|
|
|
|
|
<li>Fix a bug that caused db_hotbackup to not backup queue extent files.
|
|
|
|
|
[#13848]</li>
|
|
|
|
|
<li>Fix a bug so that db_verify no longer reports that an unused hash
|
|
|
|
|
page is not fully zeroed. [#14030]</li>
|
|
|
|
|
<li>Fix a bug where db_stat ignored the -f option to return "fast
|
|
|
|
|
statistics". [#14283]</li>
|
|
|
|
|
<li>Fix a bug that prevented the db_stat utility from opening database
|
|
|
|
|
files with write permission so that meta data statistics would be
|
|
|
|
|
updated. [#14755]</li>
|
|
|
|
|
<li>Fix a bug in db_hotbackup related to windows. Sub-directories are
|
|
|
|
|
now ignored. [#14757]</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sect2" lang="en" xml:lang="en">
|
|
|
|
|
<div class="titlepage">
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
2012-11-14 21:35:20 +00:00
|
|
|
|
<h3 class="title"><a id="idp555784"></a>Configuration, Documentation, Portability and Build Changes:</h3>
|
2011-09-13 17:44:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="orderedlist">
|
|
|
|
|
<ol type="1">
|
|
|
|
|
<li>The Berkeley DB 4.3 and 4.4 releases disallowed using the
|
|
|
|
|
--with-uniquename configuration option with the C++, Java, or RPC
|
|
|
|
|
--enable-XXX options. The 4.5 release returns to the 4.2 release
|
|
|
|
|
behavior, allowing those combinations of configuration options. [#14067]</li>
|
|
|
|
|
<li>Fix build issues when CONFIG_TEST is not enabled for Tcl. [#14507]</li>
|
|
|
|
|
<li>There are updated build instructions for Berkeley DB PHP module on
|
|
|
|
|
Linux. [#14249]</li>
|
|
|
|
|
<li>Use libtool's "standard" environment variable names so that you can
|
|
|
|
|
set "AR" to "ar -X64" for example, and modify both libtool and the
|
|
|
|
|
Makefile commands. Remove the install-strip target from the Makefile,
|
|
|
|
|
it is no longer used. [#14726]</li>
|
|
|
|
|
<li>Fix a bug where, when a database is opened with the DB_THREAD flag
|
|
|
|
|
(the default in Java), and an operation in one thread causes the
|
|
|
|
|
database to be truncated (typically when the last page in the database
|
|
|
|
|
is freed) concurrently with a read or write in another thread, there can
|
|
|
|
|
be arbitrary data loss, as Windows zeros out pages from the read/write
|
|
|
|
|
location to the end of the file. [#15063]</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="navfooter">
|
|
|
|
|
<hr />
|
|
|
|
|
<table width="100%" summary="Navigation footer">
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="40%" align="left"><a accesskey="p" href="upgrade_4_5_disk.html">Prev</a> </td>
|
|
|
|
|
<td width="20%" align="center">
|
|
|
|
|
<a accesskey="u" href="upgrade_4_5_toc.html">Up</a>
|
|
|
|
|
</td>
|
|
|
|
|
<td width="40%" align="right"> <a accesskey="n" href="upgrade_4_4_toc.html">Next</a></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="40%" align="left" valign="top">Upgrade Requirements </td>
|
|
|
|
|
<td width="20%" align="center">
|
|
|
|
|
<a accesskey="h" href="index.html">Home</a>
|
|
|
|
|
</td>
|
|
|
|
|
<td width="40%" align="right" valign="top"> Chapter 6. Upgrading Berkeley DB 4.3 applications to Berkeley DB 4.4</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|