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

WAL segment rollover does not happen after walForceArchiveTimeout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.14
    • 2.15
    • None
    • Fixed WAL timeout rollover
    • Release Notes Required

    Description

      How to reproduce:

      1. Start and activate persistent cluster with such properties:
        1. DataStorageConfiguration#walForceArchiveTimeout > 0, eg. 10000 millis.
        2. DataRegion#cdcEnabled=true.
        3. DataStorageConfiguration#walSegmentSize=1Gb.
        4. DataStorageConfiguration#maxWalArchiveSize=20Gb.
      2. Start data changing (put some entries continuously).
      3. Rollover of WAL is not happening. You can wait some period exceeding walForceArchiveTimeout to ensure.
      4. Stop loading the data.
      5. Rollover happens.

      If you does not stop to load the data, rollover will not happen until WAL segment will beсome full, i.e until to rollover by a segment size.

      Under low loads, filling of 1Gb segment can occur after a dozen of minutes or even after several hours, which causes a large lag of a CDC replication.

      Attachments

        Issue Links

          Activity

            People

              nizhikov Nikolay Izhikov
              shishkovilja Ilya Shishkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 20m
                  20m