You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (Assigned) (JIRA)" <ji...@apache.org> on 2011/12/20 20:06:30 UTC
[jira] [Assigned] (LUCENE-3605) revisit segments.gen sleeping
[ https://issues.apache.org/jira/browse/LUCENE-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless reassigned LUCENE-3605:
------------------------------------------
Assignee: Michael McCandless
> revisit segments.gen sleeping
> -----------------------------
>
> Key: LUCENE-3605
> URL: https://issues.apache.org/jira/browse/LUCENE-3605
> Project: Lucene - Java
> Issue Type: Improvement
> Reporter: Robert Muir
> Assignee: Michael McCandless
> Attachments: LUCENE-3605.patch
>
>
> in LUCENE-3601, i worked up a change where we intentionally crash() all un-fsynced files
> in tests to ensure that we are calling sync on files when we should.
> I think this would be nice to do always (and with some fixes all tests pass).
> But this is super-slow sometimes because when we corrupt the unsynced segments.gen, it causes
> SIS.read to take 500ms each time (and in checkindex for some reason we do this twice, which seems wrong).
> I can workaround this for now for tests (just do a partial crash that avoids corrupting the segments.gen),
> but I wanted to create this issue for discussion about the sleeping/non-fsyncing of segments.gen, just
> because i guess its possible someone could hit this slowness.
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org