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

Shalin Shekhar Mangar updated SOLR-6075:
----------------------------------------

    Attachment: SOLR-6075.patch

This patch removes the extra synchronization and makes the requestStatusMap 
non-static.

Since the map was already synchronized, there is no thread safety issue because 
the map is never cleared and addTask(String map, TaskObject o, boolean limit) 
is the only method which removes stuff from the map. Therefore this isn't a bug 
and there is no urgent need to fix it in 4.8.1

> CoreAdminHandler should synchronize while adding a task to the tracking map
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-6075
>                 URL: https://issues.apache.org/jira/browse/SOLR-6075
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Anshum Gupta
>            Assignee: Anshum Gupta
>            Priority: Critical
>             Fix For: 4.9, 5.0
>
>         Attachments: SOLR-6075.patch, SOLR-6075.patch
>
>
> CoreAdminHandler should synchronize on the tracker maps when adding a task. 
> It's a rather nasty bug and we should get this in asap.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to