[
https://issues.apache.org/jira/browse/OAK-4725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15458041#comment-15458041
]
Julian Reschke commented on OAK-4725:
-------------------------------------
With this change, tests fail on Windows with:
{noformat}
Tests in error:
validateMigration(org.apache.jackrabbit.oak.upgrade.cli.SegmentToJdbcTest):
Unable to delete file: C:\tmp\1472808139548-0\segmentstore\data00000a.tar
{noformat}
> Enable mmap mode by default for migration to SegmentNodeStore
> -------------------------------------------------------------
>
> Key: OAK-4725
> URL: https://issues.apache.org/jira/browse/OAK-4725
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: upgrade
> Reporter: Chetan Mehrotra
> Assignee: Tomek Rękawek
> Priority: Minor
> Fix For: 1.6, 1.5.10
>
>
> Currently in {{MigrationOptions}} in upgrade code the mmap option is only
> enabled if explicitly enabled.
> Given it provides much better migration speed it would be better to enable it
> by default (at least for non windows platforms) and provide a way to disable
> it by option. This would ensure that migration uses most suitable options per
> default
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)