[
https://issues.apache.org/jira/browse/SOLR-12083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16399065#comment-16399065
]
Varun Thacker commented on SOLR-12083:
--------------------------------------
Final patch which I think is ready! Thanks Amrit
Running tests and precommit now. I plan on committing it to master and branch7x
within the next few hours. The current CHANGES entry for the change is under
7.3
If Jenkins is happy today I'll check with the RM if it's okay to backport it to
the release branch. If it's too late then i'll move the CHANGES to 7.4 on
master and branch7x
> RealTimeGetComponent fails for INPLACE_UPDATE when Cdcr enabled
> ----------------------------------------------------------------
>
> Key: SOLR-12083
> URL: https://issues.apache.org/jira/browse/SOLR-12083
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: CDCR
> Affects Versions: 7.2, 7.2.1, 7.3
> Reporter: Amrit Sarkar
> Assignee: Varun Thacker
> Priority: Major
> Attachments: SOLR-12083-A-within-test-framework.patch,
> SOLR-12083-B-wo-test-framework.patch, SOLR-12083.patch, SOLR-12083.patch,
> SOLR-12083.patch, SOLR-12083.patch, add_support_for_random_ulog_in_tests.patch
>
>
> When we were adding bi-directional sync support in CDCR ( SOLR-11003 ) we
> changed the CDCR Update Log codec to write an extra bits.
> When we use the RealTimeGet component on a cluster running CDCR and have
> in-place updates in the update log we will falsely trip an assert thus
> causing the request to fail
> Here's the proposed change
> {code:java}
> - assert entry.size() == 5;
> + if (ulog instanceof CdcrUpdateLog) {
> + assert entry.size() == 6;
> + }
> + else {
> + assert entry.size() == 5;
> + }{code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]