Uploaded image for project: 'DistributedLog'
  1. DistributedLog
  2. DL-80

recordSetWriter has multi-thread issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.4.0
    • distributedlog-client
    • None

    Description

      Reading code, found there's a minor issue in DistributedLogMultiStreamWriter class. Currenty only flush()&write() have synchronized, but getLogRecordSetWriter miss the protection. so it would be possible get an obsolete writer just after flush() happened.

      Attachments

        Issue Links

          Activity

            People

              xieliang007 Liang Xie
              xieliang007 Liang Xie
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: