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

Incorrect calculation of WAL segments that should be deleted from WAL archive

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10
    • Component/s: persistence
    • Labels:
      None
    • Release Note:
      Fixed selection of WAL segments to clear.

      Description

      Now there is an incorrect calculation of WAL segments that should be deleted from WAL archive. Since we delete only those segments whose total size should not exceed DataStorageConfiguration#maxWalArchiveSize * IGNITE_THRESHOLD_WAL_ARCHIVE_SIZE_PERCENTAGE, but should be up to DataStorageConfiguration#maxWalArchiveSize * IGNITE_THRESHOLD_WAL_ARCHIVE_SIZE_PERCENTAGE*. Therefore, an excess of DataStorageConfiguration#maxWalArchiveSize occurs.

        Attachments

        1. config.properties
          0.2 kB
          shivakumar
        2. ignite-config
          8 kB
          shivakumar
        3. reproducer.zip
          11 kB
          shivakumar
        4. server1-full-wal-checkpoint.log
          216 kB
          shivakumar
        5. wal_dir_contents
          5 kB
          shivakumar
        6. wal_grows_from_peak.PNG
          82 kB
          shivakumar
        7. wal_issue_reproduced.PNG
          87 kB
          shivakumar
        8. wal_usage_dec12.PNG
          108 kB
          shivakumar
        9. wal_usage_dec22nd_binary.PNG
          63 kB
          shivakumar
        10. wal_usage.PNG
          88 kB
          shivakumar
        11. wal-checkpoint-logs
          16 kB
          shivakumar

          Issue Links

            Activity

              People

              • Assignee:
                ktkalenko@gridgain.com Kirill Tkalenko
                Reporter:
                ktkalenko@gridgain.com Kirill Tkalenko
                Reviewer:
                Anton Kalashnikov
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h