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

fix 6 (Recovered) WARNINGs

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 6.7, 7.0
    • None
    • None

    Description

      In Erick Erickson's notclosed.txt attachment for SOLR-10778 these warnings not about unclosed resources caught my attention:

       [ecj-lint] 1. WARNING in /Users/Erick/apache/solrJiras/jiramaster/solr/core/src/java/org/apache/solr/cloud/Assign.java (at line 101)
       [ecj-lint] 	Collections.sort(shardIdNames, (o1, o2) -> {
       [ecj-lint] 	                               ^^^^^^^^^^^
       [ecj-lint] (Recovered) Internal inconsistency detected during lambda shape analysis
       [ecj-lint] ----------
       [ecj-lint] 2. WARNING in /Users/Erick/apache/solrJiras/jiramaster/solr/core/src/java/org/apache/solr/cloud/Assign.java (at line 101)
       [ecj-lint] 	Collections.sort(shardIdNames, (o1, o2) -> {
       [ecj-lint] 	                               ^^^^^^^^^^^
       [ecj-lint] (Recovered) Internal inconsistency detected during lambda shape analysis
       [ecj-lint] ----------
       [ecj-lint] 3. WARNING in /Users/Erick/apache/solrJiras/jiramaster/solr/core/src/java/org/apache/solr/cloud/Assign.java (at line 101)
       [ecj-lint] 	Collections.sort(shardIdNames, (o1, o2) -> {
       [ecj-lint] 	                               ^^^^^^^^^^^
       [ecj-lint] (Recovered) Internal inconsistency detected during lambda shape analysis
       [ecj-lint] ----------
       [ecj-lint] ----------
       [ecj-lint] 4. WARNING in /Users/Erick/apache/solrJiras/jiramaster/solr/core/src/java/org/apache/solr/cloud/rule/ReplicaAssigner.java (at line 214)
       [ecj-lint] 	Collections.sort(sortedLiveNodes, (n1, n2) -> {
       [ecj-lint] 	                                  ^^^^^^^^^^^
       [ecj-lint] (Recovered) Internal inconsistency detected during lambda shape analysis
       [ecj-lint] ----------
       [ecj-lint] 5. WARNING in /Users/Erick/apache/solrJiras/jiramaster/solr/core/src/java/org/apache/solr/cloud/rule/ReplicaAssigner.java (at line 214)
       [ecj-lint] 	Collections.sort(sortedLiveNodes, (n1, n2) -> {
       [ecj-lint] 	                                  ^^^^^^^^^^^
       [ecj-lint] (Recovered) Internal inconsistency detected during lambda shape analysis
       [ecj-lint] ----------
       [ecj-lint] 6. WARNING in /Users/Erick/apache/solrJiras/jiramaster/solr/core/src/java/org/apache/solr/cloud/rule/ReplicaAssigner.java (at line 214)
       [ecj-lint] 	Collections.sort(sortedLiveNodes, (n1, n2) -> {
       [ecj-lint] 	                                  ^^^^^^^^^^^
       [ecj-lint] (Recovered) Internal inconsistency detected during lambda shape analysis
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cpoerschke Christine Poerschke
            cpoerschke Christine Poerschke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment