[jira] [Updated] (OAK-4421) Optimize Revison fromString and toString implementation

2016-06-02 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra updated OAK-4421: - Labels: performance (was: ) > Optimize Revison fromString and toString implementation >

[jira] [Updated] (OAK-4421) Optimize Revison fromString and toString implementation

2016-06-02 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra updated OAK-4421: - Attachment: revision-fromstring-caller.png > Optimize Revison fromString and toString

[jira] [Updated] (OAK-4424) Optimize PathUtils.concat by using a properly sized StringBuilder

2016-06-02 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra updated OAK-4424: - Labels: performance (was: ) > Optimize PathUtils.concat by using a properly sized StringBuilder >

[jira] [Resolved] (OAK-4424) Optimize PathUtils.concat by using a properly sized StringBuilder

2016-06-02 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra resolved OAK-4424. -- Resolution: Fixed Fix Version/s: 1.5.3 Done * trunk -

[jira] [Created] (OAK-4424) Optimize PathUtils.concat by using a properly sized StringBuilder

2016-06-02 Thread Chetan Mehrotra (JIRA)
Chetan Mehrotra created OAK-4424: Summary: Optimize PathUtils.concat by using a properly sized StringBuilder Key: OAK-4424 URL: https://issues.apache.org/jira/browse/OAK-4424 Project: Jackrabbit Oak

[jira] [Resolved] (OAK-4361) Reduce performance impact of observation ACFilter

2016-06-02 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger resolved OAK-4361. --- Resolution: Fixed Fix Version/s: (was: 1.6) 1.5.3 Applied patch

[jira] [Updated] (OAK-4419) Benchmark Results for SyncMBeanImpl with Batch Mode

2016-06-02 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated OAK-4419: Attachment: ExternalAuthentication_SyncAllExternalUsers_batch10_dynamic_20160602_171000.csv

[jira] [Resolved] (OAK-4419) Benchmark Results for SyncMBeanImpl with Batch Mode

2016-06-02 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela resolved OAK-4419. - Resolution: Fixed Fix Version/s: 1.5.4 > Benchmark Results for SyncMBeanImpl with Batch Mode >

[jira] [Comment Edited] (OAK-4419) Benchmark Results for SyncMBeanImpl with Batch Mode

2016-06-02 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15311819#comment-15311819 ] angela edited comment on OAK-4419 at 6/2/16 4:34 PM: - h5. Benchmark Results without

[jira] [Commented] (OAK-4421) Optimize Revison fromString and toString implementation

2016-06-02 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312580#comment-15312580 ] Marcel Reutegger commented on OAK-4421: --- I agree that it is in general useful to optimize frequently

[jira] [Commented] (OAK-4279) Rework offline compaction

2016-06-02 Thread Alex Parvulescu (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312446#comment-15312446 ] Alex Parvulescu commented on OAK-4279: -- bq. offlineCompactionBin2: my guestimate would be that the

[jira] [Commented] (OAK-4421) Optimize Revison fromString and toString implementation

2016-06-02 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312412#comment-15312412 ] Chetan Mehrotra commented on OAK-4421: -- [~tmueller] with this patch {{RevisionTest.fromStringToString}}

[jira] [Commented] (OAK-4421) Optimize Revison fromString and toString implementation

2016-06-02 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312366#comment-15312366 ] Thomas Mueller commented on OAK-4421: - Chetan, could you test the following? {noformat} Index:

[jira] [Updated] (OAK-4421) Optimize Revison fromString and toString implementation

2016-06-02 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra updated OAK-4421: - Attachment: OAK-4421-v2.patch [updated patch|^OAK-4421-v2.patch] which includes changes in

[jira] [Resolved] (OAK-4291) FileStore.flush prone to races leading to corruption

2016-06-02 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-4291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dürig resolved OAK-4291. Resolution: Fixed Applied [~frm]'s version of the patch at

[jira] [Commented] (OAK-4102) Break cyclic dependency of FileStore and SegmentTracker

2016-06-02 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-4102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312344#comment-15312344 ] Michael Dürig commented on OAK-4102: The refactoring of the segment tracker in OAK-4373 mitigate this

[jira] [Commented] (OAK-4291) FileStore.flush prone to races leading to corruption

2016-06-02 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-4291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312310#comment-15312310 ] Michael Dürig commented on OAK-4291: Thanks for the feedback and patch. Makes a lot of sense! I'm happy

[jira] [Comment Edited] (OAK-4279) Rework offline compaction

2016-06-02 Thread Alex Parvulescu (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312273#comment-15312273 ] Alex Parvulescu edited comment on OAK-4279 at 6/2/16 1:33 PM: -- ouch, I'll

[jira] [Resolved] (OAK-4423) Possible overflow in checkpoint creation

2016-06-02 Thread Alex Parvulescu (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu resolved OAK-4423. -- Resolution: Fixed Fix Version/s: 1.5.3 > Possible overflow in checkpoint creation >

[jira] [Commented] (OAK-4423) Possible overflow in checkpoint creation

2016-06-02 Thread Alex Parvulescu (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312299#comment-15312299 ] Alex Parvulescu commented on OAK-4423: -- * fix for {{segment-tar}}

[jira] [Updated] (OAK-4423) Possible overflow in checkpoint creation

2016-06-02 Thread Alex Parvulescu (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu updated OAK-4423: - Component/s: segmentmk > Possible overflow in checkpoint creation >

[jira] [Commented] (OAK-4421) Optimize Revison fromString and toString implementation

2016-06-02 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312295#comment-15312295 ] Thomas Mueller commented on OAK-4421: - Some comments: RevisionVector.REV_STRING_SIZE is not currently

[jira] [Created] (OAK-4423) Possible overflow in checkpoint creation

2016-06-02 Thread Alex Parvulescu (JIRA)
Alex Parvulescu created OAK-4423: Summary: Possible overflow in checkpoint creation Key: OAK-4423 URL: https://issues.apache.org/jira/browse/OAK-4423 Project: Jackrabbit Oak Issue Type: Bug

[jira] [Commented] (OAK-4279) Rework offline compaction

2016-06-02 Thread Alex Parvulescu (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312273#comment-15312273 ] Alex Parvulescu commented on OAK-4279: -- ouch, I'll update the tests accordingly > Rework offline

[jira] [Commented] (OAK-4279) Rework offline compaction

2016-06-02 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312262#comment-15312262 ] Michael Dürig commented on OAK-4279: Thanks for sharing these tests. They exactly cover the cases for

[jira] [Comment Edited] (OAK-4291) FileStore.flush prone to races leading to corruption

2016-06-02 Thread Francesco Mari (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312255#comment-15312255 ] Francesco Mari edited comment on OAK-4291 at 6/2/16 12:58 PM: -- [~mduerig], I

[jira] [Comment Edited] (OAK-4291) FileStore.flush prone to races leading to corruption

2016-06-02 Thread Francesco Mari (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312255#comment-15312255 ] Francesco Mari edited comment on OAK-4291 at 6/2/16 12:58 PM: -- [~mduerig], I

[jira] [Updated] (OAK-4291) FileStore.flush prone to races leading to corruption

2016-06-02 Thread Francesco Mari (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Mari updated OAK-4291: Attachment: OAK-4291-02.patch [~mduerig], I made some modifications in [^OAK-4291-02.patch], In

[jira] [Commented] (OAK-4279) Rework offline compaction

2016-06-02 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312245#comment-15312245 ] Michael Dürig commented on OAK-4279: As a side node there might be an issue with the checkpoint

[jira] [Commented] (OAK-4279) Rework offline compaction

2016-06-02 Thread Alex Parvulescu (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312243#comment-15312243 ] Alex Parvulescu commented on OAK-4279: -- To clarify a bit the 'de-duplication' concept, I've attached

[jira] [Created] (OAK-4422) support cluster for FileBlobStore

2016-06-02 Thread Marco Piovesana (JIRA)
Marco Piovesana created OAK-4422: Summary: support cluster for FileBlobStore Key: OAK-4422 URL: https://issues.apache.org/jira/browse/OAK-4422 Project: Jackrabbit Oak Issue Type: Improvement

[jira] [Updated] (OAK-4279) Rework offline compaction

2016-06-02 Thread Alex Parvulescu (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu updated OAK-4279: - Attachment: OAK-4279-binaries.patch > Rework offline compaction > - > >

[jira] [Updated] (OAK-4421) Optimize Revison fromString and toString implementation

2016-06-02 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra updated OAK-4421: - Description: Current implementation of Revision {{fromString}} and {{toString}} make use of std

[jira] [Updated] (OAK-4421) Optimize Revison fromString and toString implementation

2016-06-02 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra updated OAK-4421: - Attachment: hot-methods.png > Optimize Revison fromString and toString implementation >

[jira] [Comment Edited] (OAK-4421) Optimize Revison fromString and toString implementation

2016-06-02 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312154#comment-15312154 ] Chetan Mehrotra edited comment on OAK-4421 at 6/2/16 11:40 AM: --- To measure the

[jira] [Updated] (OAK-4421) Optimize Revison fromString and toString implementation

2016-06-02 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra updated OAK-4421: - Attachment: OAK-4421-v1.patch [initial patch|^OAK-4421-v1.patch] for the same #

[jira] [Commented] (OAK-4421) Optimize Revison fromString and toString implementation

2016-06-02 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312154#comment-15312154 ] Chetan Mehrotra commented on OAK-4421: -- To measure the impact of any change I have implemented a

[jira] [Created] (OAK-4421) Optimize Revison fromString and toString implementation

2016-06-02 Thread Chetan Mehrotra (JIRA)
Chetan Mehrotra created OAK-4421: Summary: Optimize Revison fromString and toString implementation Key: OAK-4421 URL: https://issues.apache.org/jira/browse/OAK-4421 Project: Jackrabbit Oak

[jira] [Commented] (OAK-4279) Rework offline compaction

2016-06-02 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312132#comment-15312132 ] Michael Dürig commented on OAK-4279: My main point is that the segment writer already de-duplicates

[jira] [Commented] (OAK-4279) Rework offline compaction

2016-06-02 Thread Alex Parvulescu (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312095#comment-15312095 ] Alex Parvulescu commented on OAK-4279: -- {quote} Do we need to de-duplicate binaries through Map

[jira] [Commented] (OAK-4260) Define and implement migration from oak-segment to oak-segment-tar

2016-06-02 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312063#comment-15312063 ] Michael Dürig commented on OAK-4260: bq. first, the upgrade will assume that the store is located in the

[jira] [Comment Edited] (OAK-4279) Rework offline compaction

2016-06-02 Thread Alex Parvulescu (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312055#comment-15312055 ] Alex Parvulescu edited comment on OAK-4279 at 6/2/16 9:55 AM: -- bq. I'm also not

[jira] [Updated] (OAK-4279) Rework offline compaction

2016-06-02 Thread Alex Parvulescu (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu updated OAK-4279: - Attachment: OAK-4279-checkpoints.patch bq. I'm also not sure if we need the explicit RecordCache

[jira] [Commented] (OAK-4277) Finalise de-duplication caches

2016-06-02 Thread Alex Parvulescu (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312028#comment-15312028 ] Alex Parvulescu commented on OAK-4277: -- {code} private final Generation stringCaches =

[jira] [Comment Edited] (OAK-4277) Finalise de-duplication caches

2016-06-02 Thread Alex Parvulescu (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15312028#comment-15312028 ] Alex Parvulescu edited comment on OAK-4277 at 6/2/16 9:37 AM: -- {code}

[jira] [Comment Edited] (OAK-4260) Define and implement migration from oak-segment to oak-segment-tar

2016-06-02 Thread Alex Parvulescu (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15311939#comment-15311939 ] Alex Parvulescu edited comment on OAK-4260 at 6/2/16 8:39 AM: -- poked around

[jira] [Created] (OAK-4420) RepositorySidegrade: oak-segment to oak-segment-tar should migrate checkpoint info

2016-06-02 Thread Alex Parvulescu (JIRA)
Alex Parvulescu created OAK-4420: Summary: RepositorySidegrade: oak-segment to oak-segment-tar should migrate checkpoint info Key: OAK-4420 URL: https://issues.apache.org/jira/browse/OAK-4420

[jira] [Updated] (OAK-4260) Define and implement migration from oak-segment to oak-segment-tar

2016-06-02 Thread Alex Parvulescu (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu updated OAK-4260: - Summary: Define and implement migration from oak-segment to oak-segment-tar (was: Define and

[jira] [Updated] (OAK-2869) RepositorySidegrade: AsyncIndexUpdate throws a IllegalArgumentException after migrating from segment to document store

2016-06-02 Thread Alex Parvulescu (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu updated OAK-2869: - Component/s: upgrade > RepositorySidegrade: AsyncIndexUpdate throws a IllegalArgumentException

[jira] [Commented] (OAK-4260) Define and implement migration from oak-segment to oak-segment-next

2016-06-02 Thread Alex Parvulescu (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15311939#comment-15311939 ] Alex Parvulescu commented on OAK-4260: -- poked around with this today, and with Tomek's help I got it

[jira] [Updated] (OAK-4419) Benchmark Results for SyncMBeanImpl with Batch Mode

2016-06-02 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated OAK-4419: Description: Verify effect of OAK-4379 using {{SyncAllExternalUsersTest}} benchmark as present with oak-run and try

[jira] [Updated] (OAK-4419) Benchmark Results for SyncMBeanImpl with Batch Mode

2016-06-02 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated OAK-4419: Description: Verify effect of > Benchmark Results for SyncMBeanImpl with Batch Mode >

[jira] [Updated] (OAK-4419) Benchmark Results for SyncMBeanImpl with Batch Mode

2016-06-02 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/OAK-4419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated OAK-4419: Attachment: ExternalAuthentication_SyncAllExternalUsers_batch100_dynamic_20160601_210703.csv

[jira] [Created] (OAK-4419) Benchmark Results for SyncMBeanImpl with Batch Mode

2016-06-02 Thread angela (JIRA)
angela created OAK-4419: --- Summary: Benchmark Results for SyncMBeanImpl with Batch Mode Key: OAK-4419 URL: https://issues.apache.org/jira/browse/OAK-4419 Project: Jackrabbit Oak Issue Type: Technical