Akiban Persistit 3.1.1

Milestone information

Project:
Akiban Persistit
Series:
trunk
Version:
3.1.1
Released:
 
Registrant:
Ariel Weil
Release registered:
Active:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata

Activities

Assigned to you:
No blueprints or bugs assigned to you.
Assignees:
2 Peter Beaman
Blueprints:
No blueprints are targeted to this milestone.
Bugs:
2 Fix Released

Download files for this release

File Description Downloads

Release notes 

************************************
Akiban Persistit 3.1.1 Release Notes
************************************

Release Date
=============
May 31, 2012

Overview
=========
This is the first open source release of the Persistit project
(https://launchpad.net/akiban-persistit).

See http://www.akiban.com/akiban-persistit for a summary of features and
benefits, licensing information and how to get support.

Documentation
==============
Users Guide: http://www.akiban.com/ak-docs/admin/persistit

JavaDoc: http://www.akiban.com/ak-docs/admin/persistit-api

Building Akiban-Persistit
==========================
Use Maven (maven.apache.org) to build Persistit.

To build:

  mvn install

The resulting jar files are in the target directory. To build the Javadoc:

  mvn javadoc:javadoc

The resulting Javadoc HTML files are in target/site/apidocs.

Building and Running the Examples
---------------------------------

Small examples are located in the examples directory. Each has a short
README file describing the example, and an Ant build script
(http://ant.apache.org). After building the main akiban-persisit jar file using
Maven, you may run:

  ant run

in each of the examples subdirectories to build and run the examples.

Known Issues
=============

Transactional Tree Management
-----------------------------

All operations within Trees such as store, fetch, remove and traverse are
correctly supported within transactions. However, the operations to create and
delete Tree instances currently do not respect transaction boundaries. For
example, if a transaction creates a new Tree, it is immediately visible within
other Transactions and will continue to exist even if the original transaction
aborts. (However, records inserted or modified by the original transaction
will not be visible until the transaction commits.) Prior to creating/removing
trees, transaction processing should be quiesced and allowed to complete.

Problems with Disk Full - Bug 916071
------------------------------------

There are rare cases where Persistit will generate exceptions other than
java.io.IOException: No space left on device when a disk volume containing the
journal or volume file fills up. The database will be intact upon recovery, but
the application may receive unexpected exceptions.

Out of Memory Error, Direct Memory Buffer - Bug 985117
------------------------------------------------------

Out of Memory Error, Direct Memory Buffer. Can cause failed transactions under
extreme load conditions as a result of threads getting backed up writing to the
journal file. However, this error is transient and recoverable by by retrying
the failed transaction.

* Workaround: Ensure your application has the ability to retry failed
transactions

Tree#getChangeCount may return inaccurate result - Bug 986465
-------------------------------------------------------------

The getChangeCount method may return inaccurate results as its not currently
transactional. The primary consumer is the PersistitMap. As a result of this
bug Persistit may not generate java.util.ConcurrentModiciationException when it
is supposed to.

Multi-Version-Values sometimes not fully pruned - Bug 1000331
-------------------------------------------------------------

Multi-version values are not always pruned properly causing volume growth. The
number of MVV records and their overhead size can be obtaining by running the
IntegrityCheck task.

* Workaround 1: Run the IntegrityCheck task (CLI command icheck) with the -P
option which will prune the MVVs. This will remove obsolete MVV instances and
in many cases free up pages in which new data can be stored. However, it will
not reduce the actual size of the volume file.

* Workaround 2: To reduce the size of the volume you can use the CLI commands
save and load to offload and then reload the data into a newly created volume
file. See
http://www.akiban.com/ak-docs/admin/persistit/Management.html#management for
more information about these operations.

Buffer Pool Configuration
==========================
For optimal performance, proper configuration of the Persistit buffer pool is
required. See section "Configuring the Buffer Pool" in the configuration
document http://www.akiban.com/ak-docs/admin/persistit/Configuration.html

NOTE: Especially when used with multi-gigabyte heaps, the default Hotspot
JVM server heuristics are be suboptimal for Persistit applications. Persistit
is usually configured to allocate a large fraction of the heap to Buffer
instances that are allocated at startup and held for the duration of the
Persistit instance. For efficient operation, all of the Buffer instances must
fit in the tenured (old) generation of the heap to avoid very significant
garbage collector overhead. Use either -XX:NewSize or -Xmn to adjust the
relative sizes of the new and old generations.

Changelog 

This release does not have a changelog.

0 blueprints and 2 bugs targeted

Bug report Importance Assignee Status
1006576 #1006576 Long record pruning broken in stress tests 2 Critical Peter Beaman  10 Fix Released
912514 #912514 Exchange fetchAndRemove sometimes returns null 4 Medium Peter Beaman  10 Fix Released
This milestone contains Public information
Everyone can see this information.