You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2022/01/20 20:40:00 UTC

[jira] [Updated] (SOLR-15943) Simplify HDFS cache to account for LUCENE-10366

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

Kevin Risden updated SOLR-15943:
--------------------------------
    Description: 
LUCENE-10366 found that the loop unrolling isn't necessary anymore. SOLR-15405 implemented the little endian loop unrolling, but this can be simplified to avoid issues in the future.

Example of what is needed: https://github.com/apache/lucene/pull/592


{code:java}
  @Override
  public final int readVInt() throws IOException {
    // this can make JVM less confused (see LUCENE-10366)
    return super.readVInt();
  }

  @Override
  public final long readVLong() throws IOException {
    // this can make JVM less confused (see LUCENE-10366)
    return super.readVLong();
  }

{code}


  was:LUCENE-10366 found that the loop unrolling isn't necessary anymore. SOLR-15405 implemented the little endian loop unrolling, but this can be simplified to avoid issues in the future.


> Simplify HDFS cache to account for LUCENE-10366
> -----------------------------------------------
>
>                 Key: SOLR-15943
>                 URL: https://issues.apache.org/jira/browse/SOLR-15943
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Hadoop Integration, hdfs
>            Reporter: Kevin Risden
>            Assignee: Kevin Risden
>            Priority: Major
>
> LUCENE-10366 found that the loop unrolling isn't necessary anymore. SOLR-15405 implemented the little endian loop unrolling, but this can be simplified to avoid issues in the future.
> Example of what is needed: https://github.com/apache/lucene/pull/592
> {code:java}
>   @Override
>   public final int readVInt() throws IOException {
>     // this can make JVM less confused (see LUCENE-10366)
>     return super.readVInt();
>   }
>   @Override
>   public final long readVLong() throws IOException {
>     // this can make JVM less confused (see LUCENE-10366)
>     return super.readVLong();
>   }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org