Debian Codegraph @

docs/upgrading/upgrade_3_3_memp_fget.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>memp_fget, EIO</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 Upgrade Guide" />
10 <link rel="up" href="upgrade_3_3_toc.html" title="Chapter 11. Upgrading Berkeley DB 3.2 applications to Berkeley DB 3.3" />
11 <link rel="prev" href="upgrade_3_3_conflict.html" title="DB_LOCK_CONFLICT" />
12 <link rel="next" href="upgrade_3_3_txn_prepare.html" title="txn_prepare" />
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">memp_fget, EIO</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="upgrade_3_3_conflict.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 11. Upgrading Berkeley DB 3.2 applications to Berkeley DB 3.3</th>
26 <td width="20%" align="right"> <a accesskey="n" href="upgrade_3_3_txn_prepare.html">Next</a></td>
27 </tr>
28 </table>
29 <hr />
30 </div>
31 <div class="sect1" lang="en" xml:lang="en">
32 <div class="titlepage">
33 <div>
34 <div>
35 <h2 class="title" style="clear: both"><a id="upgrade_3_3_memp_fget"></a>memp_fget, EIO</h2>
36 </div>
37 </div>
38 </div>
39 <p>Previous releases of Berkeley DB returned the system error EIO when the
40 memp_fget function was called to retrieve a page, the page did not
41 exist, and the <code class="literal">DB_MPOOL_CREATE</code> flag was not set. In the 3.3
42 release, the error <code class="literal">DB_PAGE_NOTFOUND</code> is returned instead, to
43 allow applications to distinguish between recoverable and
44 non-recoverable errors. Applications calling the memp_fget function
45 and checking for a return of EIO should check for
46 <code class="literal">DB_PAGE_NOTFOUND</code> instead.</p>
47 <p>Previous releases of Berkeley DB treated filesystem I/O failure (the most
48 common of which the filesystem running out of space), as a fatal error,
49 returning <a href="../programmer_reference/program_errorret.html#program_errorret.DB_RUNRECOVERY" class="olink">DB_RUNRECOVERY</a>. When a filesystem failure happens in
50 the 3.3 release Berkeley DB returns the underlying system error (usually EIO),
51 but can continue to run. Applications should abort any enclosing
52 transaction when a recoverable system error occurs in order to recover
53 from the error.</p>
54 </div>
55 <div class="navfooter">
56 <hr />
57 <table width="100%" summary="Navigation footer">
58 <tr>
59 <td width="40%" align="left"><a accesskey="p" href="upgrade_3_3_conflict.html">Prev</a> </td>
60 <td width="20%" align="center">
61 <a accesskey="u" href="upgrade_3_3_toc.html">Up</a>
62 </td>
63 <td width="40%" align="right"> <a accesskey="n" href="upgrade_3_3_txn_prepare.html">Next</a></td>
64 </tr>
65 <tr>
66 <td width="40%" align="left" valign="top">DB_LOCK_CONFLICT </td>
67 <td width="20%" align="center">
68 <a accesskey="h" href="index.html">Home</a>
69 </td>
70 <td width="40%" align="right" valign="top"> txn_prepare</td>
71 </tr>
72 </table>
73 </div>
74 </body>
75 </html>