Skip to content

SOLR-18237: Do not copy data before noggit parsing#4415

Open
psalagnac wants to merge 1 commit into
apache:mainfrom
psalagnac:SOLR-18237-no-buffer
Open

SOLR-18237: Do not copy data before noggit parsing#4415
psalagnac wants to merge 1 commit into
apache:mainfrom
psalagnac:SOLR-18237-no-buffer

Conversation

@psalagnac
Copy link
Copy Markdown
Contributor

https://issues.apache.org/jira/browse/SOLR-18237

This removes the char[] array buffer when parsing collection state (and other Json data). Instead, the UTF8 decoding is done on the fly using JVM tolling (which I guess will be faster).
By default, the JSON parser has an internal buffer of 8K.

This removes the buffer with full data copy when deserializing
collection state from Zookeeper data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant