Bruno Roustant created SOLR-17671:
-------------------------------------
Summary: Add a hook in ReplicationHandler to allow extending
CoreReplication
Key: SOLR-17671
URL: https://issues.apache.org/jira/browse/SOLR-17671
Project: Solr
Issue Type: Improvement
Reporter: Bruno Roustant
While it is possible to define the replication handler class in solr.xml, it is
not possible to extend CoreReplication logic to tune how index files are
copied, or filter/unwrap the Directory used to open the files inputs.
The proposal is to add a hook method "createCoreReplication" in
ReplicationHandler, and another "filterDirectory" in ReplicationAPIBase.
Example:
In the solr-sandbox encryption module, we would need a way to unwrap the
Directory used to copy files during index fetching. Otherwise the files are
decrypted by the EncryptionDirectory seamlessly during the files copy, ending
up with follower replicas having cleartext index.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]