Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D5CF29620 for ; Mon, 28 Nov 2011 14:43:03 +0000 (UTC) Received: (qmail 71415 invoked by uid 500); 28 Nov 2011 14:43:02 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 71347 invoked by uid 500); 28 Nov 2011 14:43:02 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 71340 invoked by uid 99); 28 Nov 2011 14:43:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2011 14:43:02 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2011 14:43:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4E363A4BE2 for ; Mon, 28 Nov 2011 14:42:41 +0000 (UTC) Date: Mon, 28 Nov 2011 14:42:41 +0000 (UTC) From: "Robert Muir (Created) (JIRA)" To: dev@lucene.apache.org Message-ID: <828186832.17888.1322491361321.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (LUCENE-3605) revisit segments.gen sleeping MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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 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