Skip to content

SOLR-18077: Fix incorrect request reuse, fix unit tests.#4396

Open
sigram wants to merge 2 commits intoapache:mainfrom
sigram:jira/solr-18077-2
Open

SOLR-18077: Fix incorrect request reuse, fix unit tests.#4396
sigram wants to merge 2 commits intoapache:mainfrom
sigram:jira/solr-18077-2

Conversation

@sigram
Copy link
Copy Markdown
Contributor

@sigram sigram commented May 4, 2026

This PR fixes a bug in KafkaCrossDcConsumer where an updateReqBatch request used for collapsing multiple input requests would be left non-null and then incorrectly reused. This resulted in the same document updates being sometimes sent to Solr multiple times.

Added unit test to verify the number of processed updates.

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