Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-13962

should java.io.OutputStream.flush() be called on Commit log operations ?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • None
    • None
    • cassandra 2.2.8

    • Normal

    Description

      we run high loaded cassandra cluster on 2.2.8
      when we reboot node, very often we observe broken commit log, like described here

      https://stackoverflow.com/questions/33304367/cassandra-exiting-due-to-error-while-processing-commit-log-during-initializatio

      I guess, that output is not flushed upon commit log write, I mean java.io.OutputStream.flush()

      google also say, the same issue occur to sstables (they are written in more rare fashion, so we did not observe that practically)

      any idea why output is not flushed ? is it done in purpose ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            chipitsine Ilya Shipitsin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: