apache / apache/solr-sandbox

class org.apache.solr.update.processor.MirroringUpdateRequestProcessorFactory$MyCloseHook has interface org.apache.solr.core.CloseHook as super class

Open
#98 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
14
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Tried deploying the [crossdc-producer](https://github.com/apache/solr-sandbox/tree/main/crossdc-producer) on **solr 9.x** and it didn't work. The exception is as follows

`org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: class org.apache.solr.update.processor.MirroringUpdateRequestProcessorFactory$MyCloseHook has interface org.apache.solr.core.CloseHook as super class`

[the above exception looks related to the issue reported on this jira](https://www.mail-archive.com/dev@manifoldcf.apache.org/msg16494.html)

Upgrading to 9.X allows modifying the extend to implements [here](https://github.com/apache/solr-sandbox/blob/main/crossdc-producer/src/main/java/org/apache/solr/update/processor/MirroringUpdateRequestProcessorFactory.java#L100) as we need.
But the next compile issue comes in the ProducerMetrics class. There seems to be runtime issues that could arise from the upgrade.

Appreciate suggestions and help on this one. Thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.