disallowing joining an existing cluster with an empty store
backporting Johan's fix for deadlock detection message
Refactored tx log error handling and handling of running out of disk errors:

Now, we throw an appropriate exception if we run out of disk while writing the logical log, and that exception
ends up getting handled by a more elaborate error handling mechanism in the tx manager.

We also refactored the XaLogicalLog, such that the strategy for copying transactions over to a new log during rotation
is handled by it's own class, covered with a unit test. This let us remove one of the breakpoint-based tests from the neo4j
subproject.

This commit will be followed by a second refactoring later this or next week where all usages of FileChannel.write will
recieve the same protection that we added in the LogicalLog implementation.
Updated changelog wrt to tx log error handling while running out of disk
Wraps the write id batch operation in a loop
Fixed merge problems from moving in FileChannel.write() fixes
Revert "Fixed merge problems from moving in FileChannel.write() fixes"

This reverts commit 66dfc81ad32c254bbc89baafc4b78fafd1a9d1c3.
Revert "Wraps the write id batch operation in a loop"

This reverts commit bee411794e6f9ab17dc1d8f6bfe34bbe9026be97.
Revert "Updated changelog wrt to tx log error handling while running out of disk"

This reverts commit 3cea563a25c4c176ef81ee154fc981585ecfbabb.
Revert "Refactored tx log error handling and handling of running out of disk errors:"

This reverts commit 26d101fe418c2504c4dc083c07a60308f8e7f873.
Removed cuke4duke from dependencies
Refactored tx log error handling and handling of running out of disk errors:

Now, we throw an appropriate exception if we run out of disk while writing the logical log, and that exception
ends up getting handled by a more elaborate error handling mechanism in the tx manager.

We also refactored the XaLogicalLog, such that the strategy for copying transactions over to a new log during rotation
is handled by it's own class, covered with a unit test. This let us remove one of the breakpoint-based tests from the neo4j
subproject.

This commit will be followed by a second refactoring later this or next week where all usages of FileChannel.write will
recieve the same protection that we added in the LogicalLog implementation.
Fixes to integrate new transaction failure strategy with old HA code, added note about Filechannel.write fix to changelog
Wraps the write id batch operation in a loop
This is a backport of five bug fixes:

o Fixes #304
  Bug that stops renaming of identifiers that are used as key expressions
  when aggregating

o Fix for problems when using patterns with multiple unnamed nodes

o Fixes problems when doing ORDER BY ... LIMIT x

o Fixed problem with dependencies inside foreach statements being reported wrongly

o Fixes #336 - Patterns that re-use a pattern node can produce non-existing matches
Merge pull request #359 from systay/1.8-maint-backports

This is a backport of five bug fixes:
Merge pull request #346 from lassewesth/1.8-maint

disallowing joining an existing cluster with an empty store
Merge pull request #350 from jexp/1.8-maint

(OpenJDK and Sun ) Java 7 compatibility
New consistency checker.

* Extracted from backup and promoted to its own module.
* Decomposed into a number of smaller classes.
* Verified by a large number of new unit tests.
* Detects a wider range of possible store inconsistencies.

This commit also includes a new WindowPool implementation, designed to
perform better than the default implementation when stores are
subjected to linear scanning, as occurs during consistency checking.

Developed and tested by Tobias Lindaaker and Alistair Jones.
Ensure that IdGenerators are rebuilt before checking consistency.