Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-6075

Pipe: File resource races when different tsfile load operations concurrently modify the same tsfile at receiver

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      How to reproduce:

      1. sender's connection timeout at sender < load operation cost time at receiver
      2. a sender's load tsfile request is timeout, but the request's execution can not be terminated when timeout
      3. sender will retry to send a load tsfile request, which will load the same tsfile that cause the timeout before
      4. serveral load tsfile requests are concurrently executing at the receiver
      5. the load operation performed earlier deletes files that need to be loaded
      6. the load operation performed later (a retry) wants to read the tsfile, but the tsfile was deleted, which may cause exception like: 
        writing file sequence-root.bw-6-2735-1686907665964-1-8-8.tsfile is not available

      Attachments

        1. image-2023-07-20-18-30-33-586.png
          515 kB
          Steve Yurong Su

        Activity

          People

            Unassigned Unassigned
            suyurong Steve Yurong Su
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: