lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (SOLR-7352) Synchronize CloudSolrStream EOF Tuple Map
Date Mon, 06 Apr 2015 15:13:12 GMT


ASF subversion and git services commented on SOLR-7352:

Commit 1671547 from [~joel.bernstein] in branch 'dev/trunk'
[ ]

SOLR-7352: Synchronize CloudSolrStream EOF Tuple Map

> Synchronize CloudSolrStream EOF Tuple Map
> -----------------------------------------
>                 Key: SOLR-7352
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Joel Bernstein
>         Attachments: SOLR-7352.patch, SOLR-7352.patch
> CloudSolrStream currently collects the EOF Tuples from the underlying SolrStreams in
an un-synchronized Map. 
> This ticket synchronizes this Map because of the following race condition:
> The underlying SolrStream's are opened in parallel. If the first Tuple returned by two
or more SolrStream's is an EOF Tuple, then a race condition will occur as the EOF Tuples are
added to the Map.
> The race condition only occurs if EOF tuples are returned during the *opening* of the
SolrStreams (zero results returned). This is because the *reading* of SolrStreams is performed
in a single thread, so if the initial Tuple returned is not an EOF Tuple no race condition
is possible.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message