File: changelog_4_3_29.html

package info (click to toggle)
db4.8 4.8.30-12
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 112,656 kB
  • sloc: ansic: 177,324; java: 66,060; tcl: 61,539; cs: 27,778; cpp: 24,761; sh: 15,646; perl: 14,013; xml: 8,309; makefile: 2,199; awk: 1,749; sql: 390; python: 26; php: 22; asm: 14
file content (830 lines) | stat: -rw-r--r-- 39,727 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
<?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.3.29 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 Programmer's Reference Guide" />
    <link rel="up" href="upgrade_4_3_toc.html" title="Chapter 40. Upgrading Berkeley DB 4.2 applications to Berkeley DB 4.3" />
    <link rel="prev" href="upgrade_4_3_disk.html" title="Release 4.3: Upgrade Requirements" />
    <link rel="next" href="upgrade_4_4_toc.html" title="Chapter 41. Upgrading Berkeley DB 4.3 applications to Berkeley DB 4.4" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">Berkeley DB 4.3.29 Change Log</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="upgrade_4_3_disk.html">Prev</a> </td>
          <th width="60%" align="center">Chapter 40. Upgrading Berkeley DB 4.2 applications to Berkeley DB 4.3</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_3_29"></a>Berkeley DB 4.3.29 Change Log</h2>
          </div>
        </div>
      </div>
      <div class="toc">
        <dl>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1648954">Database or Log File On-Disk Format Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1649001">New Features:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1649096">Database Environment Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1649087">Concurrent Data Store Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1649052">General Access Method Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1649244">Btree Access Method Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1648961">Hash Access Method Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1649057">Queue Access Method Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1648990">Recno Access Method Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1648762">C++-specific API Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1649308">Java-specific API Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1649537">Tcl-specific API Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1649560">RPC-specific Client/Server Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1649614">Replication Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1649598">XA Resource Manager Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1649020">Locking Subsystem Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1649766">Logging Subsystem Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1649841">Memory Pool Subsystem Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1649888">Transaction Subsystem Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1649904">Utility Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_3_29.html#id1649954">Configuration, Documentation, Portability and Build Changes:</a>
            </span>
          </dt>
        </dl>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1648954"></a>Database or Log File On-Disk Format Changes:</h3>
            </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>
              <h3 class="title"><a id="id1649001"></a>New Features:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Add support for light weight, transactionally protected Sequence
	Number generation.  [#5739]</li>
            <li>Add support for Degree 2 isolation. [#8689]</li>
            <li>Add election generation information to replication to support Paxos
	compliance. [#9068]</li>
            <li>Add support for 64-bit and ANSI C implementations of the RPCGEN
	utility.  [#9548]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1649096"></a>Database Environment Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Fix a bug where the permissions on system shared memory segments did
	not match the mode specified in the DB_ENV-&gt;open() method.  [#8921]</li>
            <li>Add a new return error from the DB_ENV-&gt;open() method call,
DB_VERSION_MISMATCH, which is returned in the case of an application
compiled under one version of Berkeley DB attempting to open an
environment created under a different version.  [#9077]</li>
            <li>Add support for importing databases from a transactional database
	environment into a different environment. [#9324]</li>
            <li>Fix a bug where a core dump could occur if a zero-length database
	environment name was specified. [#9233]</li>
            <li>Increase the number of environment regions to 100. [#9297]</li>
            <li>Remove the DB_ENV-&gt;set_verbose() method flag DB_VERB_CHKPOINT.
	[#9405]</li>
            <li>Fix bugs where database environment getters could return incorrect
information after the database environment was opened, if a different
thread of control changed the database environment values.  Fix bugs
where database environment getter/setter functions could race with other
threads of control. [#9724]</li>
            <li>Change the DbEnv.set_lk_detect method to match the DbEnv.open
semantics. That is, DbEnv.set_lk_detect may be called after the database
environment is opened, allowing applications to configure automatic
deadlock detection if it has not yet been configured. [#9724]</li>
            <li>Fix cursor locks for environments opened without DB_THREAD so that
they use the same locker ID. This eliminates many common cases of
application self-deadlock, particularly in CDS.  [#9742]</li>
            <li>Fix a bug in DB-&gt;get_env() in the C API where it could return an
error when it should only return the DB_ENV handle.  C++ and Java are
unchanged. [#9828]</li>
            <li>Fix a bug where we only need to initialize the cryptographic memory
	region when MPOOL, Log or Transactions have been configured.  [#9872]</li>
            <li>Change private database environments at process startup to only
allocate the heap memory required at any particular time, rather than
always allocating the maximum amount of heap memory configured for the
environment.  [#9889]</li>
            <li>Add a method to create nonexistent intermediate directories when
	opening database files. [#9898]</li>
            <li>Add support for in-memory logging within database environments.
	[#9927]</li>
            <li>Change Berkeley DB so configuring a database environment for
automatic log file removal affects all threads in the environment, not
just the DbEnv handle in which the configuration call is made.  [#9947]</li>
            <li>Change the signature of the error callback passed to the
DB_ENV-&gt;set_errcall and DB-&gt;set_errcall methods to add a DB_ENV handle,
to provide database environment context for the callback function.
[#10025]</li>
            <li>Fix a race condition between DB-&gt;close and DB-&gt;{remove,rename} on
filesystems that don't allow file operations on open files (such as
Windows).  [#10180]</li>
            <li>Add a DB_DSYNC_LOG flag to the DbEnv::set_flags method, which
configures O_DSYNC on POSIX systems and FILE_FLAG_WRITE_THROUGH on Win32
systems.  This offers significantly better performance for some
applications on certain Solaris/filesystem combinations.  [#10205]</li>
            <li>Fix a bug where calling the DB or DBEnv database remove or rename
methods could cause a transaction checkpoint or cache flush to fail.
[#10286]</li>
            <li>Change file operations not to flush a file if it hasn't been written.
	[#10537]</li>
            <li>Remove 4GB restriction on region sizes on 64 bit machines. [#10668]</li>
            <li>Simplify the signature of substitute system calls for ftruncate and
	seek. [#10668]</li>
            <li>Change Berkeley DB so that opening an environment without specifying
a home directory will cause the DB_CONFIG file in the current directory
to be read, if it exists. [#11424]</li>
            <li>Fix a bug that caused a core dump if DB handles without associated
	database environments were used for database verification. [#11649]</li>
            <li>Fix Windows mutexes shared between processes run as different users.
	[#11985]</li>
            <li>Fix Windows mutexes for some SMP machines. [#12417]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1649087"></a>Concurrent Data Store Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Fix cursor locks for environments opened without DB_THREAD so that
they use the same locker ID. This eliminates many common cases of
application self-deadlock, particularly in CDS.  [#9742]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1649052"></a>General Access Method Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Fix a bug where Berkeley DB log cursors would close and reopen the
	underlying log file each time the log file was read. [#8934]</li>
            <li>Improve performance of DB-&gt;open() for existing subdatabases
	maintained within the same database file.  [#9156]</li>
            <li>Add a new error, DB_BUFFER_SMALL, to differentiate from ENOMEM. The
new error indicates that the supplied DBT is too small. ENOMEM is now
always fatal.  [#9314]</li>
            <li>Fix a bug when an update through a secondary index is deadlocked it
is possible for the deadlock to be ignored, resulting in a partial
update to the data. [#9492]</li>
            <li>Fix a bug where a record could get inserted into the wrong database
when a page was deallocated from one subdatabase and reallocated to
another subdatabase maintained within the same database file.  [#9510]</li>
            <li>Enhance file allocation so that if the operating system supports
decreasing the size of a file and the last page of the file is freed,
it will be returned to the operating system.  [#9620]</li>
            <li>Fix a bug where DB_RUNRECOVERY could be returned if there was no
more disk space while aborting the allocation of a new page in a
database.  [#9643]</li>
            <li>Fix a bug where the cryptographic code could memcpy too many bytes.
	[#9648]</li>
            <li>Fix a bug with DB-&gt;join() cursors that resulted in a memory leak and
	incomplete results.  [#9763]</li>
            <li>Disallow cursor delete, followed a cursor put of the current item
	across all access methods.  [#9900]</li>
            <li>Fix a bug where recovery of operations on unnamed databases that
	were never closed, could fail.  [#10118]</li>
            <li>Fix a bug where DB-&gt;truncate of a database with overflow records
	that spanned more than one page would loop.  [#10151]</li>
            <li>Improve performance in the database open/close path.  [#10266]</li>
            <li>Fix a bug that restricted the number of temporary files that could
	be created to 127.  [#10415]</li>
            <li>Fix a bug which could cause a Too many files error when trying to
create temporary files. Limit the number of temporary file creation
retries. [#10760] [#10773]</li>
            <li>Fix a memory leak bug with Sequence Numbers. [#11589]</li>
            <li>Fix a bug on Windows platforms that prevents database files from
	growing to over 2GB. [#11839]</li>
            <li>Fix a platform independence bug with sequence numbers. Existing
sequence numbers will be automatically upgraded upon next access.
[#12202]</li>
            <li>Fix a race between truncate and read/write operations on Windows
	platforms that could cause corrupt database files. [#12598]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1649244"></a>Btree Access Method Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Fix a bug where a record could get placed on the wrong page when two
threads are simultaneously trying to split a four level (or greater)
Btree.  [#9542]</li>
            <li>Fix a bug where calling DB-&gt;truncate() on a Btree which has
duplicate keys that overflow the leaf page would not properly free the
overflow pages and possibly loop.  [#10666]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1648961"></a>Hash Access Method Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Fix a bug where a delete to a HASH database with off page duplicates
could fail to have the proper lock when deleting an off page duplicate
tree. [#9585]</li>
            <li>Fix a bug where a dirty reader using a HASH database would leave a
	lock on the meta page.  [#10105]</li>
            <li>Fix a bug where a DB-&gt;del() on a HASH database supporting dirty
reads could fail to upgrade a WWRITE lock to a WRITE lock when deleting
an off page duplicate.  [#10649]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1649057"></a>Queue Access Method Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Fix a bug where DB_CONSUME_WAIT may loop rather than wait for a new
record to enter the queue, if the queue gets into a state where there
are only deleted records between the head and the end of queue. [#9215]</li>
            <li>Fix a bug where a Queue extent file could be closed when it was
empty, even if a thread was still accessing a page from that file.
[#9291]</li>
            <li>Fix a bug where DBC-&gt;c_put(key, data, DB_CURRENT) where inserting a
new record after the current record had been deleted was returning
DB_KEYEMPTY.  [#9314]</li>
            <li>Fix a bug where a Queue extent file could be reported as not found
if a race condition was encountered between removing the file and
writing out a stale buffer.  [#9462]</li>
            <li>Fix a bug where the Queue access method might fail to release a
	record lock when running without transactions.  [#9487]</li>
            <li>Add DB_INORDER flag for Queue databases to guarantee FIFO (First In,
	First Out) ordering when using DB_CONSUME or DB_CONSUME_WAIT.  [#9689]</li>
            <li>Fix a bug where remove and rename calls could fail with a
	"Permission denied" error.  [#9775]</li>
            <li>Fix a bug where aborting a transaction that opened and renamed a
queue database using extents could leave some of the extent files with
the wrong name on Windows.  [#9781]</li>
            <li>Fix a bug where a db_dump of a queue database could return an error
at the end of the queue if the head or tail of the queue is the first
record on a page.  [#10215]</li>
            <li>Fix a race condition which would leave a Queue extent file open
until the database handle was closed, preventing it from being removed.
[#10591]</li>
            <li>Fix a bug where a deadlock of a put on a database handle with dirty
	readers could generate a lock downgrade error.  [#10678]</li>
            <li>Fix a bug which caused DB_SET_RANGE and DB_GET_BOTH_RANGE to not
	return the next record when an exact match was not found. [#10860]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1648990"></a>Recno Access Method Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Fix a bug where the key/data counts returned by the Db-&gt;stat method
	for Recno databases did not match the documentation.            [#8639]</li>
            <li>Fix a bug where DBC-&gt;c_put(key, data, DB_CURRENT) where inserting a
new record after the current record had been deleted was returning
DB_KEYEMPTY.  [#9314].</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1648762"></a>C++-specific API Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Change DbException to extend std::exception, making it possible for
	applications to catch all exceptions in one place.  [#10022]</li>
            <li>Fix a bug where errors during transaction destructors (commit,
	abort) could cause an invalid memory access.  [#10302]</li>
            <li>Fix a bug that could lead to a read through an uninitialized pointer
	when a DbLockNotGrantedException is thrown.  [#10470]</li>
            <li>Fix a bug in the C++ DbEnv::rep_elect method API where the arguments
were swapped, leading to an "Invalid Argument" return when that method
is called. [#11906]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1649308"></a>Java-specific API Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Fix a bug where the Java API did not respect non-zero return values
	from secondaryKeyCreate, including DB_DONOTINDEX. [#9474]</li>
            <li>Fix a bug where a self-deadlock occurred with a non-transactional
class catalog database used in a transactional environment.  The bug
only occurred when the collections API was not used for starting
transactions. [#9521]</li>
            <li>Improve Javadoc for the Java API.  [#9614]</li>
            <li>Improve memory management and performance when large byte arrays are
	being passed to DB methods.  [#9801]</li>
            <li>Improve performance of accessing statistics information from the
	Java API.  [#9835]</li>
            <li>Allow Java application to run without DB_THREAD so they can be used
	as RPC clients.  [#10097]</li>
            <li>Fix a bug where an uninitialized pointer is dereferenced for
	logArchive(Db.DB_ARCH_REMOVE). [#10225]</li>
            <li>Fix a bug in the Collections API where a deadlock exception could
	leave a cursor open.  [#10516]</li>
            <li>Fix the replication callback in the Java API so that the parameter
	names match the C API.  [#10550]</li>
            <li>Add get methods to the Java statistics classes.  [#10807]</li>
            <li>Fix bugs in the Java API handling of null home directories and
	environments opened without a memory pool. [#11424]</li>
            <li>Fix the Java API in the non-crypto package. [#11752]</li>
            <li>Fix a bug that would cause corruption of error prefix strings.
	[#11967]</li>
            <li>Fix handling of LSNs in the Java API. [#12223]</li>
            <li>Dont throw a NullPointerException if the list of files returned by
	log_archive is empty. [#12383]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="id1649537"></a>Tcl-specific API Changes:</h3></div></div></div>

None.
</div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1649560"></a>RPC-specific Client/Server Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Add support for 64-bit and ANSI C implementations of the RPCGEN
	utility.  [#9548]</li>
            <li>Fix a small memory leak in RPC clients.  [#9595]</li>
            <li>Fix a bug in the RPC server to avoid self-deadlock by always setting
	DB_TXN_NOWAIT. [#10181]</li>
            <li>Fix a bug in the RPC server so that if it times out an environment,
it first closes all the Berkeley DB handles in that environment.
[#10623]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1649614"></a>Replication Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Add an Environment ID to distinguish between clients from different
	replication groups.  [#7786]</li>
            <li>Add number of votes required and flags parameters to
	DB_ENV-&gt;rep_elect() method. [#7812]</li>
            <li>Fix a bug where a client's env_openfiles pass could start with the
wrong LSN. This could result in very long initial sync-up times for
clients joining a replication group. [#8635]</li>
            <li>Add election generation information to replication to support Paxos
	compliance. [#9068]</li>
            <li>Add rep019 to test running normal recovery on clients to make sure
	we synch to the correct LSNs. [#9151]</li>
            <li>Remove support for logs-only replication clients.  Use of the
DB_REP_LOGSONLY flag to the DB_ENV-&gt;rep_start() method should be
replaced with the DB_REP_CLIENT flag. [#9331]</li>
            <li>Fix a bug where replication clients fail to lock all the necessary
pages when applying updates when there are more than one database in the
transaction.  [#9569]</li>
            <li>Fix a bug in replication elections where when elections are called
	by multiple threads the wrong master could get elected.  [#9770]</li>
            <li>Fix a bug where the master could get a DB_REP_OUTDATED error.
	Instead send an OUTDATED message to the client.  [#9881]</li>
            <li>Add support for automatic initialization of replication clients.
	[#9927]</li>
            <li>Modify replication timestamp so that non-replication client
	applications can get a DB_REP_HANDLE_DEAD. [#9986]</li>
            <li>Add a new DB_REP_STARTUPDONE return value for rep_process_message()
and st_startup_done to rep_stat() to indicate when a client has finished
syncing up to a master and is processing live messages.  [#10310]</li>
            <li>Add _pp to secondary handles, add RPRINT, fix a deadlock. [#10429]</li>
            <li>Fix a bug where an old client (and no master) that dropped the ALIVE
	message would never update to the current generation.  [#10469]</li>
            <li>Fix a bug where a message could get sent to a new client before
NEWSITE has been returned to the application. Broadcast instead.
[#10508]</li>
            <li>Fix a crash when verbose replication messages are configured and a
	NULL DB_LSN pointer is passed to rep_process_message. [#10508]</li>
            <li>Add code to respect set_rep_limit in LOG_REQ processing. [#10716]</li>
            <li>Fix a synchronization problem between replication recovery and
	database open. [#10731]</li>
            <li>Change elections to adjust timeout if egen changes while we are
	waiting. [#10686]</li>
            <li>Client perm messages now return ISPERM/NOTPERM instead of 0.
	[#10855] [#10905]</li>
            <li>Fix a race condition during rep_start when a role change occurs. Fix
	memory leaks. [#11030]</li>
            <li>Fix problems with duplicate records.  A failure will no longer occur
	if the records are old records (LOG_MORE) and archived. [#11090]</li>
            <li>Fix a bug where the replication temporary database would grow during
	automatic client initialization. [#11090]</li>
            <li>Add throttling to PAGE_REQ. [#11130]</li>
            <li>Remove optimization-causing problems with racing threads in
	rep_verify_match. [#11208]</li>
            <li>Fix memory leaks. [#11239]</li>
            <li>Fix an initialization bug when High Availability configurations are
combined with private database environments, which can cause
intermittent failures. [#11795]</li>
            <li>Fix a bug in the C++ DbEnv::rep_elect method API where the arguments
were swapped, leading to an "Invalid Argument" return when that method
is called. [#11906]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="id1649598"></a>XA Resource Manager Changes:</h3></div></div></div>

None.
</div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1649020"></a>Locking Subsystem Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Fix a bug where a deadlock of an upgrade from a dirty read to a
	write lock during an aborted transaction, may not be detected.  [#7143]</li>
            <li>Add support for Degree 2 isolation. [#8689]</li>
            <li>Change the system to return DB_LOCK_DEADLOCK if a transaction
attempts to get new locks after it has been selected as the deadlock
victim. [#9111]</li>
            <li>Fix a bug where when configured to support dirty reads, a writer may
not downgrade a write lock as soon as possible, potentially blocking
dirty readers. [#9197]</li>
            <li>Change the test-and-set mutex implementation to avoid interlocked
instructions when we know the instruction is unlikely to succeed.
[#9204]</li>
            <li>Fix a bug where a thread supporting dirty readers can get blocked
while trying to get a write lock. It will allocate a new lock rather
than using an existing WAS_WRITE lock when it becomes unblocked, causing
the application to hang.  [#10093]</li>
            <li>The deadlock detector will now note that a parent transaction should
	be considered in abort if one of its children is. [#10394]</li>
            <li>Remove a deadlock where database closes could deadlock with page
	acquisition. [#10726]</li>
            <li>Fix a bug where a dirty reader could read an overflow page that was
	about to be deleted. [#10979]</li>
            <li>Fix a bug that failed to downgrade existing write locks during a
	btree page split when supporting dirty reads. [#10983]</li>
            <li>Fix a bug that would fail to upgrade a write lock when moving a
	cursor off a previously deleted record. [#11042]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1649766"></a>Logging Subsystem Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Fix a bug where recovery could leave too many files open.  [#9452]</li>
            <li>Fix a bug where aborting a transaction with a file open in it could
	result in an unrecoverable log file. [#9636]</li>
            <li>Fix a bug where recovery would not return a fatal error if the
	transaction log was corrupted.  [#9841]</li>
            <li>Fix a bug in recovery so that the final checkpoint no longer tries
to flush the log. This will permit recovery to complete even if there
is no disk space to grow the log file.  [#10204]</li>
            <li>Improve performance of log flushes by pre-allocating log files and
	using fdatasync() in preference to fsync(). [#10228]</li>
            <li>Fix a bug where recovery of a page split after a non-transactional
	update to the next page would fail to update the back pointer.  [#10421]</li>
            <li>Fix a bug in log_archive() where __env_rep_enter() was called twice.
	[#10577]</li>
            <li>Fix a bug with in-memory logs that could cause a memory leak in the
	log region. [#11505]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1649841"></a>Memory Pool Subsystem Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Fix a bug in the MPOOLFILE file_written flag value so that
checkpoint doesn't repeatedly open, flush and sync files in the cache
for which there are no active application handles. [#9529]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1649888"></a>Transaction Subsystem Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Fix a bug where the same transaction ID could get allocated twice
if you wrapped the transaction ID space twice and then had a very old
transaction. [#9036]</li>
            <li>Fix a bug where a transaction abort that contained a page allocation
	could loop if the filesystem was full.  [#9461]</li>
            <li>Fix implementation of DB-&gt;get_transactional() to match
documentation: there is no possibility of error return, only 0 or 1.
[#9526]</li>
            <li>Fix a bug where re-setting any of the DB_TXN_NOSYNC,
DB_TXN_NOT_DURABLE and DB_TXN_WRITE_NOSYNC flags could fail to clear
previous state, potentially leading to incorrect transactional behavior
in the application. [#9947]</li>
            <li>Add a feature to configure the maximum number of files that a
	checkpoint will hold open.  [#10026]</li>
            <li>An aborting transaction will no longer generate an undetected
	deadlock. [#10394]</li>
            <li>Fix a bug that prevented a child transaction from accessing a
	database handle that was opened by its parent transaction.  [#10783]</li>
            <li>Fix a bug where a checkpoint or a delayed write in another process
could raise an EINVAL error if the database had been opened with the
DB_TXN_NOT_DURABLE flag.  [#10824]</li>
            <li>Fix private transactional environments on 64-bit systems. [#11983]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1649904"></a>Utility Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Add debugging and performance tuning information to db_stat.  Add
new Berkeley DB handle methods to output debugging and performance
tuning information to a C library FILE handle (C and C++ APIs only).
[#9204]</li>
            <li>Fix a bug where db_stat could drop core if DB-&gt;open fails and no
	subdatabase was specified.  [#9273]</li>
            <li>Add command-line arguments to the db_printlog utility to restrict
	the range of log file records that are displayed. [#9307]</li>
            <li>Fix a bug in the locking statistics where current locks included
	failed lock requests.  [#9314]</li>
            <li>Fix a bug where db_archive would remove all log files when
	--enable-diagnostic and DB_NOTDURABLE were both specified.  [#9459]</li>
            <li>Fix a bug where db_dump with the -r flag would output extra copies
	of the subdatabase information.  [#9808]</li>
            <li>Fix a bug in db_archive that would cause log file corruption if the
	application had configured the environment with DB_PRIVATE.  [#9841]</li>
            <li>Add support in db_load for resetting database LSNs and file IDs
	without having to reload the database.  [#9916]</li>
            <li>Change the DB-&gt;stat() method to take a transaction handle as an
argument, allowing DB-&gt;stat() to be called from within a transaction.
[#9920]</li>
            <li>Fix a bug in db_printlog where only the first filewould be displayed
	for in-memory logs. [#11505]</li>
            <li>Fix a bug that prevented database salvage from working in Berkeley
	DB 4.3.21. [#11649]</li>
            <li>Fix a bug in db_load which made it impossible to specify more than
	a single option on the command line. [#11676]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1649954"></a>Configuration, Documentation, Portability and Build Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Add pread and pwrite to the list of system calls applications can
	replace at run-time.  [#8954]</li>
            <li>Add support for UTF-8 encoding of filenames on Windows. [#9122]</li>
            <li>Remove C++ dependency on snprintf.  Compilers on HPUX 10.20 are
	missing header file support for snprintf().  [#9284]</li>
            <li>Change Berkeley DB to not use the open system call flag O_DIRECT,
	unless DB configured using --enable-o_direct.  [#9298]</li>
            <li>Fix several problems with mutex alignment on HP/UX  10.20.  [#9404]</li>
            <li>Fix a memory leak when HAVE_MUTEX_SYSTEM_RESOURCES is enabled.
	[#9546]</li>
            <li>Fix a bug in the sec002.tcl test for binary data. [#9626]</li>
            <li>Fix a bug where filesystem blocks were not being zeroed out in the
	On-Time embedded Windows OS.   [#9640]</li>
            <li>Fix build problems with the Java API in Visual Studio .NET 2003.
	[#9701]</li>
            <li>Add support for the gcc compiler on the Opteron platform.  [#9725]</li>
            <li>Add support for the small_footprint build option for VxWorks.
	[#9820]</li>
            <li>Add support for linking of DLLs with MinGW.  [#9957]</li>
            <li>Remove the make target which builds the RPM package from the
	Berkeley DB distribution.  [#10233]</li>
            <li>Add a C++/XML example for ex_repquote.  [#10380]</li>
            <li>Fix a bug to link with lrt only if detected by configure (Mac OS X
	issue).  [#10418]</li>
            <li>Fix a bug and link Java and Tcl shared libraries with lpthread if
	required, for mutexes.  [#10418]</li>
            <li>Add support for building Berkeley DB on the HP NonStop OSS (Tandem)
	platform. [10483]</li>
            <li>Change Berkeley DB to ignore EAGAIN from system calls. This fixed
	problems on NFS mounted databases.  [#10531]</li>
            <li>Remove a line with bt_compare and bt_prefix from the db_dump
	recovery test suite, which can cause failures on OpenBSD.  [#10567]</li>
            <li>Fix a conflict with the lock_init for building Berkeley DB on
	Cygwin.  [#10582]</li>
            <li>Add Unicode support for the Berkeley DB Windows API. [#10598]</li>
            <li>Add support for 64-bit builds on Windows.  [#10664]</li>
            <li>Libtool version is now 1.5.8. [#10950]</li>
            <li>Remove mt compilation flag for HP-UX 11.0. [#11427]</li>
            <li>Fix a bug to link with lrt on Solaris to support fdatasync. [#11437]</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_3_disk.html">Prev</a> </td>
          <td width="20%" align="center">
            <a accesskey="u" href="upgrade_4_3_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">Release 4.3: 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 41. Upgrading Berkeley DB 4.3 applications to Berkeley DB 4.4</td>
        </tr>
      </table>
    </div>
  </body>
</html>