Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-8415

Unprotected access to recordsToSend in LongRecordWriterThread#shutdown()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.5.0
    • None
    • None

    Description

        public void shutdown() {
          running = false;
          recordsToSend.complete(0L);
      

      In other methods, access to recordsToSend is protected by synchronized keyword.

      shutdown() should do the same.

      Attachments

        Issue Links

          Activity

            People

              yanghua vinoyang
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: