Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-7754

WAL in LOG_ONLY mode doesn't execute fsync on checkpoint begin

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: persistence
    • Labels:
      None

      Description

      On checkpoint begin method IgniteWriteAheadLogManager.fsync(WALPointer ptr) will be called, but it won't actually perform fsync because mode isn't FSYNC. It might lead to LFS corruption if OS or hardware failed until checkpoint had been finished.

        Attachments

        1. image-2018-03-20-19-08-42-234.png
          78 kB
          Ivan Rakov
        2. screenshot-1.png
          77 kB
          Ivan Rakov
        3. screenshot-2.png
          78 kB
          Ivan Rakov

          Issue Links

            Activity

              People

              • Assignee:
                ivan.glukos Ivan Rakov
                Reporter:
                ilantukh Ilya Lantukh
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: