Fixed the issue of unlimited replication log growth caused by abandoned replicas and introduced an effective recovery mode for replicas with significant lag.
Why it matters
This feature addresses the problem where replication logs accumulate indefinitely if some replicas are abandoned, leading to resource exhaustion and maintenance complexity. It ensures stable and efficient log management by cleaning up unnecessary logs and provides a recovery mechanism to bring replicas with long lag back to sync efficiently.How to use it
The fix and recovery mode are applied automatically in the replication mechanism. Users do not need to enable anything manually; the system will handle abandoned replicas and perform recovery for lagged replicas transparently.