You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2021/04/29 19:08:02 UTC

[GitHub] [solr] tboeghk edited a comment on pull request #100: [SOLR-11904] Provide basic auth credentials for TLOG/PULL replica ensembles

tboeghk edited a comment on pull request #100:
URL: https://github.com/apache/solr/pull/100#issuecomment-829514364


   @madrob I'm with you that introducing another username/password system property is not the best solution here. The more substantial solution would be a rewrite of the _PULL_ replica state pulling mechanism as it is not connected to the current HTTP2 and PKI authentication mechanism.
   
   The problem inheres from the _PULL_ replica [creating a new instance of the `ReplicationHandler`](https://github.com/apache/solr/blob/main/solr/core/src/java/org/apache/solr/cloud/ReplicateFromLeader.java#L100-L118) to pull index updates from the leader. Unfortunately this is not configurable and it's [configuration is hard coded into `ReplicateFromLeader`](https://github.com/apache/solr/blob/main/solr/core/src/java/org/apache/solr/cloud/ReplicateFromLeader.java#L88-L93)
   
   💡 **[I built a simple Gist to reproduce the error](https://gist.github.com/tboeghk/e372b112bafc2cfa495b21500c908b33)**


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org