lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Thacker (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-8662) SchemaManager doesn't wait correctly for replicas to update
Date Wed, 13 Apr 2016 10:36:25 GMT

     [ https://issues.apache.org/jira/browse/SOLR-8662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Varun Thacker updated SOLR-8662:
--------------------------------
    Attachment: SOLR-8662.patch

- ZkSolrResourceLoader#openResource retires fetching the resource in case of session expiry.
It also sets back the interrupt flag.
- Schema API should only be used if it's a managed resource AND mutable. The mutable check
was missing the mutable part
- In waitForOtherReplicasToUpdate there was a bug in the time conversion. Fixed that
- There was no usage of test-files/solr/configsets/configset-1 . Renamed it to cloud-managed
and made necessary changes to support cloud in managed schema mode. This configset is used
in the test


Without the changes to SchemaManager the test would fail.

> SchemaManager doesn't wait correctly for replicas to update
> -----------------------------------------------------------
>
>                 Key: SOLR-8662
>                 URL: https://issues.apache.org/jira/browse/SOLR-8662
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Varun Thacker
>            Assignee: Varun Thacker
>         Attachments: SOLR-8662.patch
>
>
> Currently in SchemaManager, waitForOtherReplicasToUpdate doesn't execute since it gets
passed the timeout value instead of the end time 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message