OAK-641: Improved benchmark tooling

- use randomUser argument to toggle individual sessions per run

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1535595 13f79535-47bb-0310-9956-ffa450edef68
OAK-1118 : test case(s)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1535726 13f79535-47bb-0310-9956-ffa450edef68
OAK-593: Segment-based MK

Simplify segment size and record position handling

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1535743 13f79535-47bb-0310-9956-ffa450edef68
OAK-593: Segment-based MK

Inline the list of identifiers of referenced segments into the
segment byte sequence. This avoids the need to keep the identifiers
in memory when they're not being accessed.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1535774 13f79535-47bb-0310-9956-ffa450edef68
OAK-593: Segment-based MK

Special case references to the same segment, to reduce the overhead of
storing and accessing the majority of record identifiers.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1535775 13f79535-47bb-0310-9956-ffa450edef68
OAK-593: Segment-based MK

Use correct segment reference limit

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1535777 13f79535-47bb-0310-9956-ffa450edef68
OAK-806: Content migration from Jackrabbit to Oak

Use the NodeState abtraction for content migration

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1535820 13f79535-47bb-0310-9956-ffa450edef68
OAK-806: Content migration from Jackrabbit to Oak

SegmentMK's JcrImporter is no longer needed as the oak-upgrade code is more complete

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1535823 13f79535-47bb-0310-9956-ffa450edef68
OAK-50 : Implement User Management

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1535831 13f79535-47bb-0310-9956-ffa450edef68
OAK-50 : Implement User Management

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1535932 13f79535-47bb-0310-9956-ffa450edef68
OAK-1113: Immediate delivery of events from local commits
Avoid potential NPE on return value of getChanges()

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1536290 13f79535-47bb-0310-9956-ffa450edef68
OAK-1113: Immediate delivery of events from local commits
- Avoid potential NPE on return value of getChanges()
- Updated Javadoc

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1536291 13f79535-47bb-0310-9956-ffa450edef68
OAK-1117 - [MongoMk]Flag document with children

Adding support for marking nodes which have child nodes.
* Added DocumentStore.getIfCached replacing unused isCached
* Added a new boolean attribute `_hasChildNodes` to mark nodes which have child
* Modified Commit logic to mark parents by setting `_hasChildNodes` to true
* Changed assertion in two testcase as with this change the commit root might change
  in some cases

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1536295 13f79535-47bb-0310-9956-ffa450edef68
OAK-1117 - [MongoMk]Flag document with children

Minor updates
* Change the new attribute name to `_children` from `_hasChildren`
* Now the boolean flag would only be added for nodes which have child
  so by default a node doc would not have this flag set

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1536296 13f79535-47bb-0310-9956-ffa450edef68
OAK-1098 : AuthorizableImpl methods should convert path to Oak path (WIP)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1536314 13f79535-47bb-0310-9956-ffa450edef68
OAK-144 Implement observation
Refactor to use Validator instead of RecursingNodeStateDiff

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1536315 13f79535-47bb-0310-9956-ffa450edef68
OAK-1048: Unify node type management in the query index impls

Add a node type predicate class and use it to simplify PropertyIndexEditor

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1536366 13f79535-47bb-0310-9956-ffa450edef68
OAK-144 Implement observation
Take advantage of Validator to avoid manually descending into added/deleted sub trees

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1536393 13f79535-47bb-0310-9956-ffa450edef68
OAK-641: Improved benchmark tooling

- added concurrency levels
- remove bgThreads settings

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1536576 13f79535-47bb-0310-9956-ffa450edef68
OAK-788: File backend for the SegmentMK

With the simplified segment format we can skip the magic header and inlined length info

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