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

Initial value of thread local in SolrQueryTimeoutImpl overflows a long

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Not A Problem
    • 4.10.4, 5.1
    • 5.2, 6.0
    • search
    • None

    Description

      Same as the title.

       /**
         * The ThreadLocal variable to store the time beyond which, the processing should exit.
         */
        public static ThreadLocal<Long> timeoutAt = new ThreadLocal<Long>() {
          @Override
          protected Long initialValue() {
            return nanoTime() + Long.MAX_VALUE;
          }
        };
      

      Attachments

        Activity

          People

            sarowe Steven Rowe
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: