Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1837

FileChunkReader.readFileChunk will drain out the inputStream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 3.0.0, 2.5.1
    • server, snapshot
    • None

    Description

      FileChunkReader.readChunk is supposed to read up to MaxChunkSize bytes of data. However, ByteString.readFrom(in, chunkLength) will drain out the inputStream

      Attachments

        Issue Links

          Activity

            People

              William Song Song Ziyang
              William Song Song Ziyang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m