[
https://issues.apache.org/jira/browse/SOLR-12291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16463399#comment-16463399
]
Varun Thacker commented on SOLR-12291:
--------------------------------------
First cut patch. It requires another iteration. In terms of correctness
CollectionsAPIDistributedZkTest and CollectionsAPIAsyncDistributedZkTest pass
The one scope creep here is that I've removed special handling of legacyCloud
in terms of how we create collections in CreateCollectionCmd.java . It makes
the code a lot cleaner and I was hating the fact that it was making shard
requests without going through
OverseerCollectionMessageHandler#sendShardRequest . Is there any reason why we
should create a collection in a special way with/without legacy cloud?
> OverseerCollectionMessageHandler sliceCmd assumes only one replica exists on
> each node
> --------------------------------------------------------------------------------------
>
> Key: SOLR-12291
> URL: https://issues.apache.org/jira/browse/SOLR-12291
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Backup/Restore, SolrCloud
> Reporter: Varun Thacker
> Priority: Major
> Attachments: SOLR-122911.patch
>
>
> The OverseerCollectionMessageHandler sliceCmd assumes only one replica exists
> on one node
> When multiple replicas of a slice are on the same node we only track one
> replica's async request. This happens because the async requestMap's key is
> "node_name"
> I discovered this when [~alabax] shared some logs of a restore issue, where
> the second replica got added before the first replica had completed it's
> restorecore action.
> While looking at the logs I noticed that the overseer never called
> REQUESTSTATUS for the restorecore action , almost as if it had missed
> tracking that particular async request.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]