Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7262

Registering / changing request handlers not thread safe

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1
    • Component/s: None
    • Labels:
      None

      Description

      Here's part of the javadoc for RequestHandlers.register()

         * This call is thread safe.
         * 
         * @return the previous handler at the given path or null
         */
        public SolrRequestHandler register( String handlerName, SolrRequestHandler handler ) {
      

      But looking at the changes from SOLR-7073, this is clearly not the case (it's no longer thread safe). Was this thread safety removed on purpose or was it accidental?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yseeley@gmail.com Yonik Seeley
                Reporter:
                yseeley@gmail.com Yonik Seeley
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: