[
https://issues.apache.org/jira/browse/SOLR-18410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18111519#comment-18111519
]
ASF subversion and git services commented on SOLR-18410:
--------------------------------------------------------
Commit 9197e3681df2c302019ec76cecec4800bb4571b5 in solr's branch
refs/heads/main from Andrzej Bialecki
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=9197e3681df ]
SOLR-18410: CrossDC Common: multivalued params and per-entry params don't
survive the serialization round-trip (#4867)
> CrossDC Common: multivalued params and per-entry params don't survive the
> serialization round-trip
> --------------------------------------------------------------------------------------------------
>
> Key: SOLR-18410
> URL: https://issues.apache.org/jira/browse/SOLR-18410
> Project: Solr
> Issue Type: Bug
> Components: module - crossDC
> Affects Versions: 10.0, main(11.0), 9.10.1
> Reporter: Andrzej Bialecki
> Assignee: Andrzej Bialecki
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {{MirroredSolrRequestSerializer}} doesn't properly support multivalued
> SolrParams on deserialization because it uses {{MapSolrParams}} for
> deserialization.
> There's an {{assert}} in {{MapSolrParams}} constructor to ensure that entries
> from the incoming map are {{String.class}} but this check only works when
> asserts are turned on. If they are not, this later results in a
> {{ClassCastException}} inside the consumer.
> Additionally the serializer uses {{updateRequest.getDocuments()}} to
> serialize documents, discarding optional per-document parameters such as
> "commitWithin" and "overwrite" ({{{}cw, ow{}}}). Similarly, when processing
> delete-by-id-s it discards the optional "version" and "route" ({{{}ver,
> _route_{}}}).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]