OAK-1915: TarMK failover 2.0

Revert incomplete commit

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1624973 13f79535-47bb-0310-9956-ffa450edef68
OAK-1768: DocumentNodeBuilder.setChildNode() runs OOM with large tree

Work in progress:
- Introduce different types of branch commits (regular and rebase commit) to reduce memory usage of a rebase
- Better hide UnsavedModifications as an implementation detail

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1624993 13f79535-47bb-0310-9956-ffa450edef68
OAK-1915: TarMK failover 2.0

Added test cases, improved client recovery from crashes, tweaked OSGi config handling.


git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1624994 13f79535-47bb-0310-9956-ffa450edef68
OAK-2086: ignoring failing test

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1625025 13f79535-47bb-0310-9956-ffa450edef68
OAK-1915: TarMK failover 2.0

Added missing licence header.


git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1625036 13f79535-47bb-0310-9956-ffa450edef68
OAK-2049: ArrayIndexOutOfBoundsException in Segment.getRefId()
@Ignored test case reproducing the issue on the SegmentWriter

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1625158 13f79535-47bb-0310-9956-ffa450edef68
OAK-2099: AIOOBE in Segment#toString
Correctly offset into the wrapped array using Buffer.position

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1625224 13f79535-47bb-0310-9956-ffa450edef68
OAK-2049: ArrayIndexOutOfBoundsException in Segment.getRefId()
- Applying Tom's fix
- Asserting length <= buffer.length
- More aggressive tests case

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1625237 13f79535-47bb-0310-9956-ffa450edef68
OAK-2093 - fix select clause so it uses meta.lastmod

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1625243 13f79535-47bb-0310-9956-ffa450edef68
OAK-2100 Change NodeStore#release method to return a boolean

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1625299 13f79535-47bb-0310-9956-ffa450edef68
OAK-2101: Add test for observation events when renaming a node
Expect the move event when renaming a node

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1625334 13f79535-47bb-0310-9956-ffa450edef68
OAK-2102 Oak-run add option to remove all unreferenced checkpoints

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1625348 13f79535-47bb-0310-9956-ffa450edef68
@Trivial: add @CheckForNull annotation

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1625492 13f79535-47bb-0310-9956-ffa450edef68
OAK-1708 - remove system property based support for configuring the RDB persistence

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1625592 13f79535-47bb-0310-9956-ffa450edef68
OAK-2088 AsyncIndexUpdate can leave orphaned checkpoint in case of abrupt shutdown

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1625620 13f79535-47bb-0310-9956-ffa450edef68
OAK-2050 Query engine: disable or restrict built-in full-text engine

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1625638 13f79535-47bb-0310-9956-ffa450edef68
OAK-2105: Review padding for blobs collection

Add function to get stats about blobs collection

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1625898 13f79535-47bb-0310-9956-ffa450edef68
OAK-2050 Query engine: disable or restrict built-in full-text engine

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1625902 13f79535-47bb-0310-9956-ffa450edef68
use latest H2 version (addressing OSGI bundling problems)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1625905 13f79535-47bb-0310-9956-ffa450edef68
OAK-1915: TarMK failover 2.0

Preventing parallel execution of client instances.


git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1625916 13f79535-47bb-0310-9956-ffa450edef68