[
https://issues.apache.org/jira/browse/SOLR-9445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shalin Shekhar Mangar updated SOLR-9445:
----------------------------------------
Attachment: SOLR-9445.patch
# Moves ADMIN_PATHS set to CommonParams
# This set is used in LBHttpSolrClient to determine if a request is retryable
or not in addition to the IsUpdateRequest check
# the isUpdateRequest variable is renamed to isNonRetryable because it is true
for both update and admin requests
# CloudSolrClientTest#testNonRetryableRequests is a new test which fails
without the fix but passes with them.
I'll commit shortly.
> CollectionAdminRequests are retried by CloudSolrClient and LBHttpSolrClient
> ---------------------------------------------------------------------------
>
> Key: SOLR-9445
> URL: https://issues.apache.org/jira/browse/SOLR-9445
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrCloud
> Affects Versions: 6.2
> Reporter: Shalin Shekhar Mangar
> Fix For: master (7.0), 6.3
>
> Attachments: SOLR-9445.patch
>
>
> Another bug found during SOLR-9438. I saw that shard split requests were
> being retried more times than the attempts made by the test. I traced it to
> LBHttpSolrClient which retries automatically on 404 or 403 or 503 or 500
> errors except when the request is an update.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]