[jira] [Updated] (SOLR-7585) ConcurrentLFUCache throws NoSuchElementException under a write-heavy load

2015-05-23 Thread Shawn Heisey (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shawn Heisey updated SOLR-7585: --- Attachment: SOLR-7585.patch New patch against trunk. Used DefaultSolrThreadFactory to fix the precommi

[jira] [Updated] (SOLR-7585) ConcurrentLFUCache throws NoSuchElementException under a write-heavy load

2015-05-23 Thread Shawn Heisey (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shawn Heisey updated SOLR-7585: --- Attachment: SOLR-7585.patch Now both checks are present. The method will abort if the cache is already

[jira] [Updated] (SOLR-7585) ConcurrentLFUCache throws NoSuchElementException under a write-heavy load

2015-05-23 Thread Shawn Heisey (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shawn Heisey updated SOLR-7585: --- Attachment: SOLR-7585.patch Alternate patch that checks the size of the TreeSet when deciding whether t

[jira] [Updated] (SOLR-7585) ConcurrentLFUCache throws NoSuchElementException under a write-heavy load

2015-05-23 Thread Maciej Zasada (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maciej Zasada updated SOLR-7585: Attachment: SOLR-7585.patch Of course, latest patch contains same test compatible with Java 7. My bad

[jira] [Updated] (SOLR-7585) ConcurrentLFUCache throws NoSuchElementException under a write-heavy load

2015-05-22 Thread Maciej Zasada (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maciej Zasada updated SOLR-7585: Attachment: SOLR-7585.patch Attached a patch containing a test case + a fix that mitigates the race