Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-958 Support pluggable encryption in walogs
  3. ACCUMULO-2452

DfsLogger.write(LogFileKey, LogFileValue) flushes with every call

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • tserver
    • None

    Description

      I was reviewing DfsLogger today and explaining how it works. I noticed that every write of every event calls flush() on output file. This should be unnecessary since the flush thread should do all the flush/sync operations. It may be necessary for the encryption stuff, but we'll need to figure out some sort of alternative implementation for non-encrypted output.

      Attachments

        Activity

          People

            ecn Eric C. Newton
            ecn Eric C. Newton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: