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

Java Replication stalls and never exits

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: replication (java)
    • Labels:
      None

      Description

      replication hangs
      mail thread : http://markmail.org/thread/xgbptpzn52xprmwo

      The stacktrace

      user time=23940.0000ms at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:129) 
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) 
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:258) 
      at java.io.BufferedInputStream.read(BufferedInputStream.java:317) 
      at org.apache.commons.httpclient.ChunkedInputStream.read(ChunkedInputStream.jav a:182) 
      at java.io.FilterInputStream.read(FilterInputStream.java:116) 
      at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:108) 
      at org.apache.solr.common.util.FastInputStream.read(FastInputStream.java:91) 
      at org.apache.solr.common.util.FastInputStream.readFully(FastInputStream.java:1 22) 
      at org.apache.solr.handler.SnapPuller$FileFetcher.fetchPackets(SnapPuller.java: 808) 
      at org.apache.solr.handler.SnapPuller$FileFetcher.fetchFile(SnapPuller.java:764 ) 
      ......
      

      the httpclient is created w/o a read_timeout & connection_timeout. . So it may hang indefinitely if there is no data coming out of the server

        Attachments

        1. SOR-1096.patch
          0.6 kB
          Noble Paul
        2. SOLR-1096.patch
          3 kB
          Shalin Shekhar Mangar
        3. SOLR-1096.patch
          1 kB
          Shalin Shekhar Mangar

          Issue Links

            Activity

              People

              • Assignee:
                shalinmangar Shalin Shekhar Mangar
                Reporter:
                noble.paul Noble Paul
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: