[jira] [Updated] (SOLR-2565) Prevent IW#close and cut over to IW#commit

2011-08-24 Thread Hoss Man (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoss Man updated SOLR-2565:
---

Attachment: SOLR-2565__HuperDuperAutoCommitTest.patch

As mark mentioned, i started looking into a better overall meme for testing 
autocommit -- i could never reproduce any of the failures charlie cron was 
complaining about, but the tests didn't make any sense to me anyway.

path demonstrates a new overall approach, using more detailed monitor of events 
-- not just the most recent event but all of them in a queue of (rough) 
timestamps.

at the moment one of the tests has an @Ignore:nocommit because of the delete 
bug that miller mentioned, but it would be helpful to know if people who were 
seeing problems running AutoCOmmitTest.testSoftAndHardCommitMaxTime (ie: 
charlie cron and simon) could try this patch out and see if it works better for 
them.

 Prevent IW#close and cut over to IW#commit
 --

 Key: SOLR-2565
 URL: https://issues.apache.org/jira/browse/SOLR-2565
 Project: Solr
  Issue Type: Improvement
  Components: update
Affects Versions: 4.0
Reporter: Simon Willnauer
Assignee: Mark Miller
 Fix For: 4.0

 Attachments: SOLR-2565-revert.patch, SOLR-2565.patch, 
 SOLR-2565.patch, SOLR-2565.patch, SOLR-2565__HuperDuperAutoCommitTest.patch, 
 dump.txt, slowtests.txt


 Spinnoff from SOLR-2193. We already have a branch to work on this issue here 
 https://svn.apache.org/repos/asf/lucene/dev/branches/solr2193 
 The main goal here is to prevent solr from closing the IW and use IW#commit 
 instead. AFAIK the main issues here are:
 The update handler needs an overhaul.
 A few goals I think we might want to look at:
 1. Expose the SolrIndexWriter in the api or add the proper abstractions to 
 get done what we now do with special casing:
 2. Stop closing the IndexWriter and start using commit (still lazy IW init 
 though).
 3. Drop iwAccess, iwCommit locks and sync mostly at the Lucene level.
 4. Address the current issues we face because multiple original/'reloaded' 
 cores can have a different IndexWriter on the same index.
 Eventually this is a preparation for NRT support in Solr which I will create 
 a followup issue for.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-2565) Prevent IW#close and cut over to IW#commit

2011-08-24 Thread Mark Miller (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Miller updated SOLR-2565:
--

Attachment: fix+hossmans-test.patch

a fix for the delete issue and hossmans test with the test method that was 
ignored not ignored anymore.

that test now fails for me due to what looks like a timing issue 

 Prevent IW#close and cut over to IW#commit
 --

 Key: SOLR-2565
 URL: https://issues.apache.org/jira/browse/SOLR-2565
 Project: Solr
  Issue Type: Improvement
  Components: update
Affects Versions: 4.0
Reporter: Simon Willnauer
Assignee: Mark Miller
 Fix For: 4.0

 Attachments: SOLR-2565-revert.patch, SOLR-2565.patch, 
 SOLR-2565.patch, SOLR-2565.patch, SOLR-2565__HuperDuperAutoCommitTest.patch, 
 dump.txt, fix+hossmans-test.patch, slowtests.txt


 Spinnoff from SOLR-2193. We already have a branch to work on this issue here 
 https://svn.apache.org/repos/asf/lucene/dev/branches/solr2193 
 The main goal here is to prevent solr from closing the IW and use IW#commit 
 instead. AFAIK the main issues here are:
 The update handler needs an overhaul.
 A few goals I think we might want to look at:
 1. Expose the SolrIndexWriter in the api or add the proper abstractions to 
 get done what we now do with special casing:
 2. Stop closing the IndexWriter and start using commit (still lazy IW init 
 though).
 3. Drop iwAccess, iwCommit locks and sync mostly at the Lucene level.
 4. Address the current issues we face because multiple original/'reloaded' 
 cores can have a different IndexWriter on the same index.
 Eventually this is a preparation for NRT support in Solr which I will create 
 a followup issue for.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-2565) Prevent IW#close and cut over to IW#commit

2011-08-18 Thread Robert Muir (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated SOLR-2565:
--

Attachment: slowtests.txt

thread dumps of slow tests

 Prevent IW#close and cut over to IW#commit
 --

 Key: SOLR-2565
 URL: https://issues.apache.org/jira/browse/SOLR-2565
 Project: Solr
  Issue Type: Improvement
  Components: update
Affects Versions: 4.0
Reporter: Simon Willnauer
Assignee: Mark Miller
 Fix For: 4.0

 Attachments: SOLR-2565.patch, SOLR-2565.patch, SOLR-2565.patch, 
 slowtests.txt


 Spinnoff from SOLR-2193. We already have a branch to work on this issue here 
 https://svn.apache.org/repos/asf/lucene/dev/branches/solr2193 
 The main goal here is to prevent solr from closing the IW and use IW#commit 
 instead. AFAIK the main issues here are:
 The update handler needs an overhaul.
 A few goals I think we might want to look at:
 1. Expose the SolrIndexWriter in the api or add the proper abstractions to 
 get done what we now do with special casing:
 2. Stop closing the IndexWriter and start using commit (still lazy IW init 
 though).
 3. Drop iwAccess, iwCommit locks and sync mostly at the Lucene level.
 4. Address the current issues we face because multiple original/'reloaded' 
 cores can have a different IndexWriter on the same index.
 Eventually this is a preparation for NRT support in Solr which I will create 
 a followup issue for.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-2565) Prevent IW#close and cut over to IW#commit

2011-08-18 Thread Uwe Schindler (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uwe Schindler updated SOLR-2565:


Attachment: dump.txt

I get the same thread dumps, sometimes also with a 
MockDirectoryFactory.maybeYield (seldom), and this one.

 Prevent IW#close and cut over to IW#commit
 --

 Key: SOLR-2565
 URL: https://issues.apache.org/jira/browse/SOLR-2565
 Project: Solr
  Issue Type: Improvement
  Components: update
Affects Versions: 4.0
Reporter: Simon Willnauer
Assignee: Mark Miller
 Fix For: 4.0

 Attachments: SOLR-2565.patch, SOLR-2565.patch, SOLR-2565.patch, 
 dump.txt, slowtests.txt


 Spinnoff from SOLR-2193. We already have a branch to work on this issue here 
 https://svn.apache.org/repos/asf/lucene/dev/branches/solr2193 
 The main goal here is to prevent solr from closing the IW and use IW#commit 
 instead. AFAIK the main issues here are:
 The update handler needs an overhaul.
 A few goals I think we might want to look at:
 1. Expose the SolrIndexWriter in the api or add the proper abstractions to 
 get done what we now do with special casing:
 2. Stop closing the IndexWriter and start using commit (still lazy IW init 
 though).
 3. Drop iwAccess, iwCommit locks and sync mostly at the Lucene level.
 4. Address the current issues we face because multiple original/'reloaded' 
 cores can have a different IndexWriter on the same index.
 Eventually this is a preparation for NRT support in Solr which I will create 
 a followup issue for.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-2565) Prevent IW#close and cut over to IW#commit

2011-08-18 Thread Uwe Schindler (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uwe Schindler updated SOLR-2565:


Attachment: SOLR-2565-revert.patch

This is the minimal revert. With this patch applied, the SolrJ tests are 
running fast again.

 Prevent IW#close and cut over to IW#commit
 --

 Key: SOLR-2565
 URL: https://issues.apache.org/jira/browse/SOLR-2565
 Project: Solr
  Issue Type: Improvement
  Components: update
Affects Versions: 4.0
Reporter: Simon Willnauer
Assignee: Mark Miller
 Fix For: 4.0

 Attachments: SOLR-2565-revert.patch, SOLR-2565.patch, 
 SOLR-2565.patch, SOLR-2565.patch, dump.txt, slowtests.txt


 Spinnoff from SOLR-2193. We already have a branch to work on this issue here 
 https://svn.apache.org/repos/asf/lucene/dev/branches/solr2193 
 The main goal here is to prevent solr from closing the IW and use IW#commit 
 instead. AFAIK the main issues here are:
 The update handler needs an overhaul.
 A few goals I think we might want to look at:
 1. Expose the SolrIndexWriter in the api or add the proper abstractions to 
 get done what we now do with special casing:
 2. Stop closing the IndexWriter and start using commit (still lazy IW init 
 though).
 3. Drop iwAccess, iwCommit locks and sync mostly at the Lucene level.
 4. Address the current issues we face because multiple original/'reloaded' 
 cores can have a different IndexWriter on the same index.
 Eventually this is a preparation for NRT support in Solr which I will create 
 a followup issue for.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-2565) Prevent IW#close and cut over to IW#commit

2011-08-13 Thread Mark Miller (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Miller updated SOLR-2565:
--

Attachment: SOLR-2565.patch

here is the fix and a test, I'll commit soon.

 Prevent IW#close and cut over to IW#commit
 --

 Key: SOLR-2565
 URL: https://issues.apache.org/jira/browse/SOLR-2565
 Project: Solr
  Issue Type: Improvement
  Components: update
Affects Versions: 4.0
Reporter: Simon Willnauer
Assignee: Mark Miller
 Fix For: 4.0

 Attachments: SOLR-2565.patch, SOLR-2565.patch, SOLR-2565.patch


 Spinnoff from SOLR-2193. We already have a branch to work on this issue here 
 https://svn.apache.org/repos/asf/lucene/dev/branches/solr2193 
 The main goal here is to prevent solr from closing the IW and use IW#commit 
 instead. AFAIK the main issues here are:
 The update handler needs an overhaul.
 A few goals I think we might want to look at:
 1. Expose the SolrIndexWriter in the api or add the proper abstractions to 
 get done what we now do with special casing:
 2. Stop closing the IndexWriter and start using commit (still lazy IW init 
 though).
 3. Drop iwAccess, iwCommit locks and sync mostly at the Lucene level.
 4. Address the current issues we face because multiple original/'reloaded' 
 cores can have a different IndexWriter on the same index.
 Eventually this is a preparation for NRT support in Solr which I will create 
 a followup issue for.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-2565) Prevent IW#close and cut over to IW#commit

2011-08-09 Thread Yonik Seeley (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yonik Seeley updated SOLR-2565:
---

Attachment: SOLR-2565.patch

With the following patch, TestRealTimeGet ran without errors (I stopped it 
after it ran for over an hour).

 Prevent IW#close and cut over to IW#commit
 --

 Key: SOLR-2565
 URL: https://issues.apache.org/jira/browse/SOLR-2565
 Project: Solr
  Issue Type: Improvement
  Components: update
Affects Versions: 4.0
Reporter: Simon Willnauer
Assignee: Mark Miller
 Fix For: 4.0

 Attachments: SOLR-2565.patch, SOLR-2565.patch


 Spinnoff from SOLR-2193. We already have a branch to work on this issue here 
 https://svn.apache.org/repos/asf/lucene/dev/branches/solr2193 
 The main goal here is to prevent solr from closing the IW and use IW#commit 
 instead. AFAIK the main issues here are:
 The update handler needs an overhaul.
 A few goals I think we might want to look at:
 1. Expose the SolrIndexWriter in the api or add the proper abstractions to 
 get done what we now do with special casing:
 2. Stop closing the IndexWriter and start using commit (still lazy IW init 
 though).
 3. Drop iwAccess, iwCommit locks and sync mostly at the Lucene level.
 4. Address the current issues we face because multiple original/'reloaded' 
 cores can have a different IndexWriter on the same index.
 Eventually this is a preparation for NRT support in Solr which I will create 
 a followup issue for.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-2565) Prevent IW#close and cut over to IW#commit

2011-06-24 Thread Robert Muir (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated SOLR-2565:
--

Attachment: SOLR-2565.patch

here is a patch, showing all changes from the throwaway branch.

I'm going on vacation for a week, i hope this thing is committed... if not I 
may just commit it myself the day I come back.


 Prevent IW#close and cut over to IW#commit
 --

 Key: SOLR-2565
 URL: https://issues.apache.org/jira/browse/SOLR-2565
 Project: Solr
  Issue Type: Improvement
  Components: update
Affects Versions: 4.0
Reporter: Simon Willnauer
 Fix For: 4.0

 Attachments: SOLR-2565.patch


 Spinnoff from SOLR-2193. We already have a branch to work on this issue here 
 https://svn.apache.org/repos/asf/lucene/dev/branches/solr2193 
 The main goal here is to prevent solr from closing the IW and use IW#commit 
 instead. AFAIK the main issues here are:
 The update handler needs an overhaul.
 A few goals I think we might want to look at:
 1. Expose the SolrIndexWriter in the api or add the proper abstractions to 
 get done what we now do with special casing:
 2. Stop closing the IndexWriter and start using commit (still lazy IW init 
 though).
 3. Drop iwAccess, iwCommit locks and sync mostly at the Lucene level.
 4. Address the current issues we face because multiple original/'reloaded' 
 cores can have a different IndexWriter on the same index.
 Eventually this is a preparation for NRT support in Solr which I will create 
 a followup issue for.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org