Details
Description
How to reproduce:
- Start and activate persistent cluster with such properties:
- DataStorageConfiguration#walForceArchiveTimeout > 0, eg. 10000 millis.
- DataRegion#cdcEnabled=true.
- DataStorageConfiguration#walSegmentSize=1Gb.
- DataStorageConfiguration#maxWalArchiveSize=20Gb.
- Start data changing (put some entries continuously).
- Rollover of WAL is not happening. You can wait some period exceeding walForceArchiveTimeout to ensure.
- Stop loading the data.
- 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
- links to