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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.10
    • persistence
    • None
    • 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. wal_usage_dec12.PNG
          108 kB
          shivakumar
        2. wal_usage_dec22nd_binary.PNG
          63 kB
          shivakumar
        3. wal-checkpoint-logs
          16 kB
          shivakumar
        4. wal_dir_contents
          5 kB
          shivakumar
        5. wal_usage.PNG
          88 kB
          shivakumar
        6. wal_grows_from_peak.PNG
          82 kB
          shivakumar
        7. wal_issue_reproduced.PNG
          87 kB
          shivakumar
        8. server1-full-wal-checkpoint.log
          216 kB
          shivakumar
        9. reproducer.zip
          11 kB
          shivakumar
        10. ignite-config
          8 kB
          shivakumar
        11. config.properties
          0.2 kB
          shivakumar

        Issue Links

          Activity

            People

              ktkalenko@gridgain.com Kirill Tkalenko
              ktkalenko@gridgain.com Kirill Tkalenko
              Anton Kalashnikov 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