OAK-1080: MongoMK: improved concurrency
- add MongoNodeStore fixture in oak-jcr
- retries on merge failures


git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1539251 13f79535-47bb-0310-9956-ffa450edef68
OAK-1099: node creation noticeably slower with mongoMk compared to tarMk
- adjust benchmark to better reflect the test case. the benchmark now only creates nodes and does not remove nodes anymore in the run method.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1539273 13f79535-47bb-0310-9956-ffa450edef68
OAK-527: add benchmark that reads random items and traverses each node to maxlevel = 10

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1539281 13f79535-47bb-0310-9956-ffa450edef68
OAK-1143  [scala] Repository init throws "illegal cyclic reference involving class ChangeDispatcher"
Javadoc wording

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1539284 13f79535-47bb-0310-9956-ffa450edef68
OAK-1147 : SecureNodeBuilder/SecureNodeState: Consider using 'TreePermission#canReadProperties'

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1539287 13f79535-47bb-0310-9956-ffa450edef68
OAK-1080: MongoMK: improved concurrency
- set _lastRev on insert, in all other cases update _lastRev with background thread

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1539296 13f79535-47bb-0310-9956-ffa450edef68
OAK-1080: MongoMK: improved concurrency
- minor improvement in MongoDocumentStore.find()

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1539312 13f79535-47bb-0310-9956-ffa450edef68
OAK-1149: Avoid exists check in NodeDelegate.getChild() with empty path

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1539346 13f79535-47bb-0310-9956-ffa450edef68
OAK-1143  [scala] Repository init throws "illegal cyclic reference involving class ChangeDispatcher"
ChangeDispatcher distributes to observers now and ChangeProcessor is a regular observer

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1539363 13f79535-47bb-0310-9956-ffa450edef68
OAK-1143  [scala] Repository init throws "illegal cyclic reference involving class ChangeDispatcher"
Remove "old" mechanism to inject observers into NodeStore implementations in favour of the new method

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1539379 13f79535-47bb-0310-9956-ffa450edef68
OAK-527: benchmark script: minor improvement

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1539400 13f79535-47bb-0310-9956-ffa450edef68
OAK-1080: MongoMK: improved concurrency
- feed commit info into MongoNodeStore
- add repository stub for MongoNodeStore

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1539404 13f79535-47bb-0310-9956-ffa450edef68
OAK-144 Implement observation
MoveDetector should call leave and enter methods of wrapped validator

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1539443 13f79535-47bb-0310-9956-ffa450edef68
OAK-1036: SegmentMK: Auto-flushing SegmentNodeBuilder

Inline the referenced segment ids to a new segment already in SegmentWriter

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1539450 13f79535-47bb-0310-9956-ffa450edef68
OAK-1152: SegmentMK: Improved debuggability

Track root records per segment

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1539459 13f79535-47bb-0310-9956-ffa450edef68
OAK-1153 - Write test to measure throughput on Mongo with multiple reader and writer

Test to check the throughput. After the complete run the result would be dumped in CSV format
To run the test you would also need to provide remote server detail

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1539551 13f79535-47bb-0310-9956-ffa450edef68
OAK-1153 - Write test to measure throughput on Mongo with multiple reader and writer

Minor formatting change

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1539552 13f79535-47bb-0310-9956-ffa450edef68
OAK-1153 - Write test to measure throughput on Mongo with multiple reader and writer

Adding license header

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1539553 13f79535-47bb-0310-9956-ffa450edef68
OAK-1080: MongoMK: improved concurrency
- avoid unnecessary equals on persist. the underlying implementations can deal with the case when there are no changes.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1539561 13f79535-47bb-0310-9956-ffa450edef68
OAK-1154: MongoMK throws exception when there are many listeners

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