summaryrefslogtreecommitdiff
path: root/docs/installation/changelog_4_8.html
blob: c568f0d694a0efd4ce317f867f84d2e10ee64491 (plain)
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
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
<?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.8.28 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 Installation and Build Guide" />
    <link rel="up" href="upgrade_4_8_toc.html" title="Chapter 15. Upgrading Berkeley DB 4.7 applications to Berkeley DB 4.8" />
    <link rel="prev" href="upgrade_4_8_disk.html" title="Upgrade Requirements" />
    <link rel="next" href="test.html" title="Chapter 16.  Test Suite" />
  </head>
  <body>
    <div xmlns="" class="navheader">
      <div class="libver">
        <p>Library Version 12.1.6.1</p>
      </div>
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">Berkeley DB 4.8.28 Change Log</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="upgrade_4_8_disk.html">Prev</a> </td>
          <th width="60%" align="center">Chapter 15. Upgrading Berkeley DB 4.7 applications to Berkeley DB 4.8</th>
          <td width="20%" align="right"> <a accesskey="n" href="test.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_8"></a>Berkeley DB 4.8.28 Change Log</h2>
          </div>
        </div>
      </div>
      <div class="toc">
        <dl>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1293368">
Changes between 4.8.26 and 4.8.28:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1497568">
Known bugs in 4.8 </a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1482176">
Changes between 4.8.24 and 4.8.26:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1475624">
Changes between 4.8.21 and 4.8.24:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1553248">
Changes between 4.7 and 4.8.21:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1542376">
Database or Log File On-Disk Format Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1323496">
New Features:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1471240">
Database Environment Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1552400">
Concurrent Data Store Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1552800">
General Access Method Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1562416">
Btree Access Method Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1560192">
Hash Access Method Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1570528">
Queue Access Method Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1478984">
Recno Access Method Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1558464">
C-specific API Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1562696">
C++-specific API Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1583472">
Java-specific API Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1577104">

 Direct Persistence Layer (DPL), Bindings and Collections API:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1576792">

 Tcl-specific API Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1588984">
RPC-specific Client/Server Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1576880">
Replication Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1586856">
XA Resource Manager Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1592504">
Locking Subsystem Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1585688">
Logging Subsystem Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1603104">
Memory Pool Subsystem Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1592944">
Mutex Subsystem Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1585392">
Test Suite Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1594608">
Transaction Subsystem Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1588800">
Utility Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_8.html#idp1618888">
Configuration, Documentation, Sample Application, 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="idp1293368"></a>
Changes between 4.8.26 and 4.8.28:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Limit the size of a log record generated by freeing pages from a database so it fits in the log file size.  [#17313]   
</p>
            </li>
            <li>
              <p>
Fix a bug that could cause a file to be removed if it was both the source and target of two renames 
within a transaction. [#18069]   
</p>
            </li>
            <li>
              <p>
Modified how we go about selecting a usable buffer in the cache.
Place more emphasis on single version and obsolete buffers. [#18114]
  
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1497568"></a>
Known bugs in 4.8 </h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Sharing logs across mixed-endian systems does not work.[#18032]   
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1482176"></a>
Changes between 4.8.24 and 4.8.26:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Fixed a bug where the truncate log record could be too large when freeing too many pages during a compact. [#17313]   
</p>
            </li>
            <li>
              <p>
Fixed a bug where the deadlock detector might not run properly. [#17555]   
</p>
            </li>
            <li>
              <p>
Fixed three bugs related to properly detecting thread local storage for DbStl. [#17609]  [#18001] [#18038]   
</p>
            </li>
            <li>
              <p>
Fixed a bug that prevented some of our example code from running correctly in a Windows environment. [#17627]   
</p>
            </li>
            <li>
              <p>
Fixed a bug where a "unable to allocate space from buffer cache" error was improperly generated. [#17630]   
</p>
            </li>
            <li>
              <p>
Fixed a bug where DB-&gt;exists() did not accept the DB_AUTO_COMMIT flag. [#17687]   
</p>
            </li>
            <li>
              <p>
Fixed a bug where DB_TXN_SNAPSHOT was not getting ignored when DB_MULTIVERSION not set. [#17706]   
</p>
            </li>
            <li>
              <p>
Fixed a bug that prevented callback based partitioning through the Java API. [#17735]   
</p>
            </li>
            <li>
              <p>
Fixed a replication bug where log files were not automatically removed from the client side. [#17899]   
</p>
            </li>
            <li>
              <p>
Fixed a bug where code generated from db_sql stored the key in both the data and key DBTs. [#17925]   
</p>
            </li>
            <li>
              <p>
Fixed a bug that prevented a sequence from closing properly after the EntityStore closed. [#17951]   
</p>
            </li>
            <li>
              <p>
Fixed a bug where gets fail if the DB_GET_BOTH_FLAG is specified in a hash, sorted duplicates database.[#17997]   
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1475624"></a>
Changes between 4.8.21 and 4.8.24:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Fixed a bug in the C# API where applications in a 64-bit environment could hang. [#17461]   
</p>
            </li>
            <li>
              <p>
Fixed a bug in MVCC where an exclusive latch was not removed when we couldn't obtain a buffer. [#17479]   
</p>
            </li>
            <li>
              <p>
Fixed a bug where a lock wasn't removed on a non-transactional locker. [#17509]   
</p>
            </li>
            <li>
              <p>
Fixed a bug which could trigger an assertion when performing a
B-tree page split and running out of log space or with MVCC enabled.
[#17531]   
</p>
            </li>
            <li>
              <p>
Fixed a bug in the repquote example that could cause the application to crash. [#17547]   
</p>
            </li>
            <li>
              <p>
Fixed a couple of bugs when using the GCC 4.4 compiler to build the examples and the dbstl API. [#17504] [#17476]   
</p>
            </li>
            <li>
              <p>
Fixed an incorrect representation of log system configuration info. [#17532]   
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1553248"></a>
Changes between 4.7 and 4.8.21:</h3>
            </div>
          </div>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1542376"></a>
Database or Log File On-Disk Format Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
The log file format changed in 4.8. 
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1323496"></a>
New Features:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Improved scalability and throughput when using BTree databases
especially when running with multiple threads that equal or exceed the
number of available CPUs. 

</p>
            </li>
            <li>
              <p>
Berkeley DB has added support for C#. In addition to the new
C# api, C# specific tests and sample applications were also added.
[#16137]
</p>
            </li>
            <li>
              <p>
Berkeley DB has added an STL API, which is compatible with and very
similar to  C++ Standard Template Library (STL). Tests and
sample applications and documentation were also added. [#16217]

</p>
            </li>
            <li>
              <p>
Berkeley DB has added database partitioning. BTree or Hash
databases may now be partitioned across multiple directories.
Partitioned databases can be used to increase concurrency and to
improve performance by spreading access across disk subsystems. [#15862]
</p>
            </li>
            <li>
              <p>
Berkeley DB now supports bulk insertion and deletion of data.
Similar to the bulk get interface, the bulk put and bulk delete allow
the developer to populate a buffer of key-value pairs and then pass it
to the BDB library with a single API call. 
</p>
            </li>
            <li>
              <p>
Berkeley DB now supports compression when using BTree. 

</p>
            </li>
            <li>
              <p>
Berkeley DB introduces a new utility named db_sql which replaces
db_codegen. Similar to db_codegen, db_sql accepts an input file with
DDL statements and generates a Berkeley DB application using the C API
that creates and performs CRUD operations on the defined tables. The
developer can then use that code as a basis for further application
development. 
</p>
            </li>
            <li>
              <p>
The Replication Manager now supports shared access to the Master
database environment from multiple processes. In earlier
versions, multiple process support on the Master required use of the
Base Replication API. [#15982]

</p>
            </li>
            <li>
              <p>
Foreign Key Support has been added to Berkeley DB.
</p>
            </li>
            <li>
              <p>
Several enhancements were made to DB_REGISTER &amp; DB_ENV-&gt;failchk(). 
</p>
            </li>
            <li>
              <p>
Berkeley now supports 100% in-memory replication. 

</p>
            </li>
            <li>
              <p>
Berkeley DB now has the ability to compare two cursors for equality. [#16811]


</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1471240"></a>
Database Environment Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Fixed a bug that could cause an allocation error while trying
to allocate thread tracking information for the DB_ENV-&gt;failcheck
system.
[#16300]
</p>
            </li>
            <li>
              <p>
Fixed a bug that could cause a trap if an environment open failed and failchk thread tracking was enabled.[#16770]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1552400"></a>
Concurrent Data Store Changes:</h3>
            </div>
          </div>
        </div>
        <p>
None.
</p>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1552800"></a>
General Access Method Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Fixed a bug where doing an insert with secondary indices and the NOOVERWRITE flag could corrupt the secondary index. [#15912]
</p>
            </li>
            <li>
              <p>
Fixed a possible file handle leak that occurred while aborting the create of a database whose metadata page was not initialized.
[#16359]
</p>
            </li>
            <li>
              <p>
Fixed a bug so that we now realloc the filename buffer only if we need it to grow. [#16385]
[#16219]

</p>
            </li>
            <li>
              <p>
Fixed a race freeing a transaction object when using MVCC. [#16381]


</p>
            </li>
            <li>
              <p>
Added missing get methods for the DB and DB_ENV classes where there already was a corresponding set method. [#16505] 

</p>
            </li>
            <li>
              <p>
 Fixed a bug to now ensure that DB_STAT_SUBSYSTEM is distinct from other stat flags. [#16798]
</p>
            </li>
            <li>
              <p>
Fixed a bug related to updating multiple secondary keys (using DB_MULTIPLE). [#16885]
 
</p>
            </li>
            <li>
              <p>
Fixed a bug so that verify (db-&gt;verify, db_verify) will now
report when it cannot read a page rather than just saying the database
is bad. [#16916]
</p>
            </li>
            <li>
              <p>
Fixed a bug that could cause memory corruption if a transaction
allocating a page aborted while DB-&gt;compact was running on that
database. [#16862]
</p>
            </li>
            <li>
              <p>
Fixed a bug where logging was occurring during remove of an in-memory database when
the DB_TXN_NOT_DURABLE flag was set. [#16571]
</p>
            </li>
            <li>
              <p>
Fixed a bug to remove a race condition during database/file create. [#17020] 
</p>
            </li>
            <li>
              <p>
Fixed a bug where a call to DB-&gt;verify and specifying DB_SALVAGE could leak memory when the call returned. [#17161] 
</p>
            </li>
            <li>
              <p>
Fixed a bug to avoid accessing freed memory during puts on primaries with custom comparators. [#17189] 
</p>
            </li>
            <li>
              <p>
Fixed a bug that could cause old versions of pages to be written
over new versions if an existing database is opened with the
DB_TRUNCATE flag. [#17191] 
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1562416"></a>
Btree Access Method Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>

Fixed a bug which could cause DB-&gt;compact to fail with DB_NOTFOUND
or DB_PAGE_NOTFOUND if the height of the tree was reduced by
another thread while compact was active. The bug could also cause
a page split to trigger splitting of internal nodes which did not need
to be split. [#16192]
</p>
            </li>
            <li>
              <p>
Fixed a bug that caused Db-&gt;compact to loop if run on an empty
RECNO database when there were pages in the free list. [#16778] 
</p>
            </li>
            <li>
              <p>
Added a new flag, DB_OVERWRITE_DUP, to DB-&gt;put and DBC-&gt;put.
This flag is equivalent to DB_KEYLAST in almost all cases: the exception is
that with sorted duplicates, if a matching key/data pair exists, we overwrite
it rather than returning DB_KEYEXIST. [#16803]

</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1560192"></a>
Hash Access Method Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Fixed a bug to now force a group allocation that rolls forward to reinit all the pages.

Otherwise a previous aborted allocation may change the header.
[#15414] 
</p>
            </li>
            <li>
              <p>
Fixed a bug to now return the expected buffer size on a DB_BUFFER_SMALL condition. [#16881]

</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1570528"></a>
Queue Access Method Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Fixed a bug that would cause the LSN reset functionality to not process queue extents.
[#16213]
</p>
            </li>
            <li>
              <p>
Fixed a bug that prevented a partial put on a queue database with secondaries 
configured. [#16460]

</p>
            </li>
            <li>
              <p>
Fixed a bug to now prevent an unpinned page to be returned if a delete from a HASH database deadlocked.
 [#16371]
</p>
            </li>
            <li>
              <p>
Fixed a bug that could cause a queue extent to be recreated if an
application deleted a record that was already deleted in that extent.
[#17004]
</p>
            </li>
            <li>
              <p>
Added the DB_CONSUME flag to DB-&gt;del and DBC-&gt;del to force adjustment of the head of the queue. [#17004]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1478984"></a>
Recno Access Method Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Fixed a bug which could cause DB-&gt;compact of a RECNO
database to loop if the number of pages on the free list was reduced by
another thread while compact was active. [#16199]
</p>
            </li>
            <li>
              <p>
Fixed a bug that occurs when deleting from a Recno database and
using DB_READ_UNCOMMITTED where we could try to downgrade a lock
twice. [#16347]
</p>
            </li>
            <li>
              <p>
Fixed a bug to now disallow passing DB_DUP and DB_RECNUM together to __db_set_flags.
[#16585]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1558464"></a>
C-specific API Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Add get functions for each set functions of DB and DB_ENV structures which didn't have one.[#16505]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1562696"></a>
C++-specific API Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
The get and set_lk_partitions methods are now available. 

</p>
            </li>
            <li>
              <p>

Add get functions for each set functions of Db and DbEnv classes which didn't have one.[#16505]

</p>
            </li>
            <li>
              <p>
Fixed a memory leak when using nested transactions.[#16956] 
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1583472"></a>
Java-specific API Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Fixed a bug where the replication finer-grained verbose
flags were not available in the Java API. [#15419]
</p>
            </li>
            <li>
              <p>
Fixed a bug in the BTree prefix compression API when called from the Java

API. DBTs were not properly initialized. [#16417]

</p>
            </li>
            <li>
              <p>
Fixed a bug so that LogCursor will work correctly from the Java API.
[#16827]

</p>
            </li>
            <li>
              <p>
Fixed a bug so that position(), limit() and capacity() of ByteBuffers are obeyed by DatabaseEntry objects. [#16982]

</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1577104"></a>

 Direct Persistence Layer (DPL), Bindings and Collections API:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
The StoredMap class now implements the standard java.util.concurrent.ConcurrentMap interface. [#15382]
</p>
            </li>
            <li>
              <p>
Report a meaningful IllegalArgumentException when @Persistent is
incorrectly declared on an enum class. Before, the confusing message
Persistent class has non-persistent superclass: java.lang.Enum was
reported. [#15623]
</p>
            </li>
            <li>
              <p>
Report a meaningful IllegalArgumentException when @Persistent is
incorrectly declared on an interface. Before, a NullPointerException
was reported. [#15841]
</p>
            </li>
            <li>
              <p>
Several validation checks have been added or corrected having to do
with entity subclasses, which are @Persistent classes that extend an
@Entity class. [#16077]
</p>
            </li>
            <li>
              <p>
Optimized marshaling for large numbers of embedded objects improving performance. [#16198]
</p>
            </li>
            <li>
              <p>
The StoredMap class now implements the Java 1.5 ConcurrentMap interface. [#16218]
</p>
            </li>
            <li>
              <p>
Fix a DPL bug that caused exceptions when using a class Converter for an instance containing non-simple fields. [#16233]
</p>
            </li>
            <li>
              <p>
Add EntityCursor.setCacheMode and getCacheMode. See the com.sleepycat.je.CacheMode class for more information. [#16239]
</p>
            </li>
            <li>
              <p>
Fix a bug that prevents evolution of @SecondaryKey information in
an entity subclass (a class that extends an @Entity class). [#16253]
</p>
            </li>
            <li>
              <p>
Report a meaningful IllegalArgumentException when @Persistent or
@Entity is incorrectly used on an inner class (a non-static nested
class). Before, the confusing message No default constructor was
reported. [#16279]
</p>
            </li>
            <li>
              <p>
Improved the reliability of Entity subclasses that define secondary
keys by requiring that they be registered prior to storing an instance
of the class. [#16399] 
</p>
            </li>
            <li>
              <p>
Fix a bug that under certain circumstances causes
"IllegalArgumentException: Not a key class" when calling
EntityStore.getSubclassIndex, EntityStore.getPrimaryConfig,
EntityStore.getSecondaryConfig, or PrimaryIndex.put, and a composite
key class is used. [#16407]
</p>
            </li>
            <li>
              <p>
Fixed a bug so that one can now compile DPL in the Java API on Windows. 
[#16570]
</p>
            </li>
            <li>
              <p>
The com.sleepycat.collections.TransactionRunner.handleException
method has been added to allow overriding the default transaction retry
policy. See the javadoc for this method for more information. [#16574]

</p>
            </li>
            <li>
              <p>
Fix a bug that causes an assertion to fire or a
NullPointerException (when assertions are disabled) from the
EntityStore constructor. The problem occurs only when the previously
created EntityStore contains an entity with a secondary key definition
in which the key name has been overridden and is different than the
field name. [#16819]
</p>
            </li>
            <li>
              <p>
Key cursors have been optimized to significantly reduce I/O when
the READ_UNCOMMITTED isolation mode is used. See EntityIndex.keys for
more information. [#16859]
</p>
            </li>
            <li>
              <p>
Report a meaningful IllegalArgumentException when NULLIFY is used
with a @SecondaryKey and the field is a primitive type. Before, the
confusing message Key field object may not be null was reported.
[#17011]
</p>
            </li>
            <li>
              <p>
Enum fields may now be used as DPL keys, including primary keys,
secondary keys, and fields of composite key classes. Comparators are
supported for composite key classes containing enum fields. [#17140]
</p>
            </li>
            <li>
              <p>
Fix a bug that prevented the use of custom key comparisons
(composite key classes that implement Comparable) for secondary keys
defined as ONE_TO_MANY or MANY_TO_MANY.[#17207] 
</p>
            </li>
            <li>
              <p>
The db.jar file now contains a Premain class which enables bytecode
enhancement using the JVM instrumentation commands. The built-in proxy
classes are also now enhanced in the db.jar file, which enables
off-line bytecode enhancement. For more information on DPL bytecode
enhancement and how to use both instrumentation and off-line
enhancement, please see the com.sleepycat.persist.model.ClassEnhancer
javadoc. [#17233]

</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1576792"></a>

 Tcl-specific API Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
The mutex API is now available when using Tcl. [#16342]


</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1588984"></a>
RPC-specific Client/Server Changes:</h3>
            </div>
          </div>
        </div>
        <div class="itemizedlist">
          <ul type="disc">
            <li>
              <p>


RPC support has been removed from Berkeley DB. [#16785]
</p>
            </li>
          </ul>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1576880"></a>
Replication Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Improved testing of initial conditions for rep and repmgr APIs and added heartbeat timeouts to rep_get_timeout.[#14977]
</p>
            </li>
            <li>
              <p>
Added DB_REP_CONF_INMEM replication configuration flag to store replication information
exclusively in-memory without creating any files on-disk. [#15257]

</p>
            </li>
            <li>
              <p>
Added repmgr support for multi-process shared env [#15982]

</p>
            </li>
            <li>
              <p>
Fixed a bug where opening a cursor from a database handle failed to
check whether the database handle was still fresh. If the database
handle had been invalidated by a replication client synchronizing with
a new master, it could point to invalid information. [#15990]

</p>
            </li>
            <li>
              <p>
Fixed a bug so that if LOG_REQ gets an archived LSN, replication sends VERIFY_FAIL. [#16004]

</p>
            </li>
            <li>
              <p>
Added timestamp and process/thread id to replication verbose messages. [#16098]
</p>
            </li>
            <li>
              <p>
Fixed a bug where, in very rare circumstances, two repmgr sites
could connect to each other at the exact same time, the connection
attempts "collide" and fail, and the same collision repeats in time
synchronization indefinitely. [#16114]

</p>
            </li>
            <li>
              <p>
 Fixed a bug where a missing database file (FILE_FAIL error condition) can interrupt a 
client synchronization without restarting it. [#16130]


</p>
            </li>
            <li>
              <p>
Fixed a bug by adding REP_F_INREPSTART flag to prevent racing threads in rep_start. [#16247]


</p>
            </li>
            <li>
              <p>
Fixed a bug to not return HOLDELECTION if we are already in the
middle of an election. Updated the egen so the election thread
will notice. [#16270]
</p>
            </li>
            <li>
              <p>
Fixed a bug in buffer space computation, which could have led to
memory corruption in rare circumstances, when using bulk transfer.
[#16357]


</p>
            </li>
            <li>
              <p>
Fixed a bug that prevented replication clients from opening a
sequence. The sequence is opened for read operations only.
[#16406]
</p>
            </li>
            <li>
              <p>
Fixed a bug by removing an assertion about priority in elections. It is not correct
because it could have changed by then. Remove unused recover_gen
field. [#16412]

</p>
            </li>
            <li>
              <p>
Fixed a bug to now ignore a message from client if it is an LSN not recognized in
a LOG_REQ. [#16444]

</p>
            </li>
            <li>
              <p>
Fixed a bug so that on POSIX systems, repmgr no longer restores default
SIGPIPE action upon env close, if it was necessary to change it during
start-up. This allows remaining repmgr environments within the same
process, if any, to continue operating after one of them is closed. [#16454]


</p>
            </li>
            <li>
              <p>
 After a replication client restarts with recovery, any named
in-memory databases are now re-materialized from the rest of the
replication group upon synchronization with the master. [#16495]

</p>
            </li>
            <li>
              <p>
Fixed a bug by adding missing rep_get_config flags. [#16527]

</p>
            </li>
            <li>
              <p>
Instead of sleeping if the bulk buffer is in transmission, return so that we can send as a singleton. [#16537]

</p>
            </li>
            <li>
              <p>
Fixed a bug by changing __env_refresh to not hit assert on -private -rep env with an in-memory database. [#16546]


</p>
            </li>
            <li>
              <p>
Fixed a bug in the Windows implementation of repmgr where a large number of commit threads concurrently awaiting
acknowledgments could result in memory corruption, and leaking
Win32 Event Objects.
[#16548]
</p>
            </li>
            <li>
              <p>
Fixed a bug by changing repmgr to count a dropped connection when noticing a lacking
heartbeat; fixed hearbeat test to check for election, rather than connection
drop count, and more reasonable time limit; fixed test to poll until
desired result, rather than always sleeping max possible
time. [#16550]

</p>
            </li>
            <li>
              <p>
Fixed "master changes" stat to count when local site becomes master too. [#16562]

</p>
            </li>
            <li>
              <p>
Fixed a bug where a c2c client would send UPDATE_REQ to another client [#16592]

</p>
            </li>
            <li>
              <p>
Removed code to proactively expire leases when we don't get acks.
Leases maintain their own LSNs to know. [#16494]
</p>
            </li>
            <li>
              <p>
Fixed a bug where a client may not sync pages during internal init. [#16671]

</p>
            </li>
            <li>
              <p>
Fixed a bug where a client that received and skipped a log record
from the master during an election, then won the election, could then
try to request a copy of the skipped log record. The result was
an attempt to send a request to the local site, which is invalid: this
could confuse a replication Base API application, or cause the
Replication Manager to crash. [#16700]
</p>
            </li>
            <li>
              <p>

Fixed a bug which could have caused data loss or corruption (at the
client only) if a replication client rolled back existing transactions
in order to synchronize with a new master, and then crashed/recovered
before a subsequent checkpoint operation had been replicated from the
master. [#16732]

</p>
            </li>
            <li>
              <p>
 Fixed a bug so that replication now retries on DB_LOCK_NOTGRANTED. [#16741]
</p>
            </li>
            <li>
              <p>
Fixed a potential deadlock in rep_verify_fail. [#16779]
</p>
            </li>
            <li>
              <p>
 Fixed a bug so that an application will no longer segv if nsites
given was smaller than number of sites that actually exists. [#16825]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1586856"></a>
XA Resource Manager Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
The XA Resource Manager has been removed from Berkeley DB. [#6459]

</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1592504"></a>
Locking Subsystem Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Fixed a bug to prevent unlocking a mutex twice if we ran out of transactional locks.
[#16285]
</p>
            </li>
            <li>
              <p>
 Fixed a bug to prevent a segmentation trap in __lock_open if there were an error during the opening of an environment.
[#16307]
</p>
            </li>
            <li>
              <p>
 Fixed a bug to now avoid a deadlock if user defined locks are used only one lock partition is defined.[#16415]
</p>
            </li>
            <li>
              <p>
Fixed concurrency problems in __dd_build, __dd_abort by adding LOCK_SYSTEM_LOCK() calls to
__dd_build and __dd_abort.
[16489]
</p>
            </li>
            <li>
              <p>
Fixed a bug that could cause a panic if a transaction which
updated a database that was supporting
READ_UNCOMMITED readers aborted and it hit a race
with a thread running the deadlock detector. [#16490]
</p>
            </li>
            <li>
              <p>
Fixed a race condition in deadlock detection that could overwrite heap. [#16541] 

</p>
            </li>
            <li>
              <p>
Fixed a bug so that DB_STAT_CLEAR now restores the value of st_partitions. [#16701]


</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1585688"></a>
Logging Subsystem Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Fixed a bug so that the header checksum is only ignored when the log is from a previous version [#16281] 
</p>
            </li>
            <li>
              <p>
Fixed a bug by removing a possible race condition with logc_get(DB_FIRST) and log archiving. [#16387]

</p>
            </li>
            <li>
              <p>
Fixed a bug that could cause a recovery failure of a create of a database that was aborted. [#16824]
 
</p>
            </li>
            <li>
              <p>
An in-memory database creation has an intermediate phase where we have a semi-open DBP. If
we crash in that state,  then recovery was failing because it tried to use a partically open
database handle.  This fix checks for that case, and avoids trying to undo page writes for
databases in that interim step. [#17203]

</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1603104"></a>
Memory Pool Subsystem Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Fixed a bug that occurred after all open handles on a file are closed. Needed to clear the TXN_NOT_DURABLE
flag (if set) and mark the file as DURABLE_UNKNOWN in the memory pool. [#16091]

</p>
            </li>
            <li>
              <p>
Fixed a possible race condition between dirtying and freeing a buffer that could result in a panic or corruption.
[#16530]
</p>
            </li>
            <li>
              <p>
 Fixed a memory leak where allocated space for temporary file names are not released. [#16956]

</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1592944"></a>
Mutex Subsystem Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Fixed a bug when using mutexes for SMP MIPS/Linux systems. [#15914]

</p>
            </li>
            <li>
              <p>
POSIX mutexes are now the default on Solaris. [#16066]

</p>
            </li>
            <li>
              <p>
Fixed a bug in mutex allocation with multiple cache regions. [#16178]
</p>
            </li>
            <li>
              <p>
Fixed MIPS/Linux mutexes in 4.7. [#16209]

</p>
            </li>
            <li>
              <p>
Fixed a bug that would cause a mutex to be unlocked a second time if we ran out of space while tracking pinned pages.
[#16228]
</p>
            </li>
            <li>
              <p>
Fixed a bug Sparc/GCC when using test-and-set mutexes. They are now aligned on an 8-byte boundary. [#16243]

</p>
            </li>
            <li>
              <p>
 Fixed a bug to now prevent a thread calling DB_ENV-&gt;failcheck
to hang on a mutex held by a dead thread.

[#16446]
</p>
            </li>
            <li>
              <p>
Fixed a bug so that __db_pthread_mutex_unlock() now handles the failchk case
of finding a busy mutex which was owned by a now-dead process. [#16557] 
</p>
            </li>
            <li>
              <p>

Removed support for the mutex implementation based on the "fcntl" system  
call.  Anyone configuring Berkeley DB to use this type of mutex in an  
earlier release will need to either switch to a different mutex type  
or contact Oracle for support. [#17470]

</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1585392"></a>
Test Suite Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Fixed a bug when using failchk(), where a mutex was not released. [#15982]

</p>
            </li>
            <li>
              <p>
Added a set of basic repmgr tests to run_std and run_all. [#16092]
</p>
            </li>
            <li>
              <p>
Added control wrapper for db_reptest to test suite. [#16161] 

</p>
            </li>
            <li>
              <p>
Fixed a bug to now skip tests if db_reptest is not configured. [#16161]
</p>
            </li>
            <li>
              <p>
Changed name of run_db_in_mem to run_inmem_db, and run_inmem to
run_inmem_log and made the arg orders consistent. [#16358]

</p>
            </li>
            <li>
              <p>
Fixed a bug to now clean up stray handles when rep_verify doesn't work. [#16390]

</p>
            </li>
            <li>
              <p>
Fixed a bug to avoid db_reptest passing the wrong flag to repmgr_start when there is already a master. [#16475] 

</p>
            </li>
            <li>
              <p>
Added new tests for abbreviated internal init. Fixed test not to expect in-memory database to survive recovery. [#16495]


</p>
            </li>
            <li>
              <p>
Fix a bug, to add page size for txn014 if the default page size is too small.
Move files instead of renaming directory for env015 on QNX. [#16627]

</p>
            </li>
            <li>
              <p>
Added new rep088 test for log truncation integrity. [#16732]
</p>
            </li>
            <li>
              <p>
Fixed a bug by adding a checkpoint in rep061 to make sure we have
messages to process. Otherwise we could hang with client stuck in
internal init, and no
incoming messages to trigger rerequest.
[#16781]

</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1594608"></a>
Transaction Subsystem Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Fixed a bug to no longer generate an error if DB_ENV-&gt;set_flags
(DB_TXN_NOSYNC) was called after the environment was opened. [#16492]
</p>
            </li>
            <li>
              <p>
Fixed a bug to remove a potential hang condition in replication os_yield loops 
when DB_REGISTER used with replication by adding PANIC_CHECKS.
[#16502]
</p>
            </li>
            <li>
              <p>
Fix a bug to now release mutex obtained before special condition returns in __db_cursor_int and __txn_record_fname. [#16665]
</p>
            </li>
            <li>
              <p>
Fixed a leak in the transaction region when a snapshot update transaction accesses more than 4 databases.
[#16734]
</p>
            </li>
            <li>
              <p>
Enabled setting of set_thread_count via the DB_CONFIG file. [#16878]
</p>
            </li>
            <li>
              <p>
Fixed a mutex leak in some corner cases. [#16665] 
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1588800"></a>
Utility Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
The db_stat utility with the -RA flags will now print a list of known remote replication flags when using repmgr. [#15484]

</p>
            </li>
            <li>
              <p>
Restructured DB salvage to walk known leaf pages prior to looping over all db pages. [#16219]


</p>
            </li>
            <li>
              <p>
Fixed a problem with upgrades to 4.7 on big endian machines. [#16411] 

</p>
            </li>
            <li>
              <p>
Fixed a bug so that now db_load consistently returns &gt;1 on failure. [#16765]

</p>
            </li>
            <li>
              <p>
The db_dump utility now accepts a "-m" flag to dump information from a named in-memory database. [#16896]

</p>
            </li>
            <li>
              <p>
Fixed a bug that would cause db_hotbackup to fail if a database file was removed while it was running. [#17234]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1618888"></a>
Configuration, Documentation, Sample Application, Portability and Build Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Fixed a bug to now use the correct Perl include path. [#16058]
</p>
            </li>
            <li>
              <p>
Updated the version of the Microsoft runtime libraries shipped. [#16058]
</p>
            </li>
            <li>
              <p>
Upgraded the Visual Studio build files to be based on Visual Studio 8 (2005+).
The build is now simplified. Users can still upgrade the Visual Studio 6.0 project files, if they want to

use Visual Studio .NET (7.1)
[#16108]
</p>
            </li>
            <li>
              <p>

Expanded the ex_rep example with checkpoint and log archive threads,
deadlock detection, new options for acknowledgment policy and bulk
transfer, and use of additional replication features and events.
[#16109]

</p>
            </li>
            <li>
              <p>
Fixed a bug so that optimizations on AIX are re-enabled, avoiding incorrect code generation. [#16141]

</p>
            </li>
            <li>
              <p>
Removed a few compiler warnings and three type redefinitons when using vxworks and the GNU compiler. [#16341]

</p>
            </li>
            <li>
              <p>
Fixed a bug on Sparc v9 so that MUTEX_MEMBAR() now uses
membar_enter() to get a #storeload barrier rather than just stbar's
#storestor. [#16468] 
</p>
            </li>
            <li>
              <p>
Berkeley DB no longer supports Win9X and Windows Me (Millenium edition).
</p>
            </li>
            <li>
              <p>
Fixed lock_get and lock_vec examples from the Java (and C#) API. Updated the Java lock
example. [#16506]
</p>
            </li>
            <li>
              <p>
Fixed a bug to correctly handle the TPC-B history record on 64-bit systems. [#16709]
</p>
            </li>
            <li>
              <p>
Add STL API to Linux build. Can be enabled via the --enable-stl flag. [#16786]

</p>
            </li>
            <li>
              <p>
Add STL API to Windows build, by building the db_stl project in the
solution. There are also stl's test and examples projects in this
solution. [#16786]

</p>
            </li>
            <li>
              <p>
Add support to build dll projects for WinCE, in order to
enable users to build DB into a dll in addition to a static
library.[#16625]

</p>
            </li>
            <li>
              <p>
Fixed a weakness where several malloc/realloc return values are not checked before use.[#16664] 
</p>
            </li>
            <li>
              <p>
Enabled DB-&gt;compact for WinCE.[#15897] 
</p>
            </li>
            <li>
              <p>
HP-UX 10 is no longer supported. 
</p>
            </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_8_disk.html">Prev</a> </td>
          <td width="20%" align="center">
            <a accesskey="u" href="upgrade_4_8_toc.html">Up</a>
          </td>
          <td width="40%" align="right"> <a accesskey="n" href="test.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 16.  Test Suite </td>
        </tr>
      </table>
    </div>
  </body>
</html>