[ 
https://issues.apache.org/jira/browse/LUCENE-5347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13829459#comment-13829459
 ] 

Uwe Schindler commented on LUCENE-5347:
---------------------------------------

The bugs with default encodings and Zookeeper found by forbidden are very 
serious. If we respin 4.6, we should backport this patch!

Solr copies files from filesystem to zookeeper by reading them as string with 
default charset and then writing them as byte array after converting the string 
to UTF-8. This corrumpts the data. Zookeeper should simply read as byte[] from 
disk and store as byte[] in ZK. It does this the other way round, fortunately.

> Update to forbidden-apis 1.4
> ----------------------------
>
>                 Key: LUCENE-5347
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5347
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: general/build
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>             Fix For: 5.0, 4.7
>
>         Attachments: LUCENE-5347.patch
>
>
> Forbidden-apis 1.4 is out, new features are:
> - upgrade to ASM 5.0_BETA
> - Improved Java 8 support: support for invokedynamic to methodhandles of 
> static methods (used by "::"  closures)
> - Reduce memory usage (see LUCENE-4753)
> - some Maven improvements
> - fix signatures of commons-io (thanks [~rcmuir])



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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

Reply via email to