We're updating the issue view to help you get more done. 

Replication redolog compaction for mirror target

Description

When a mirror disconnects but the backup is still connected, the primary keeps the packets until the mirror reconnects so it can pick up where it left off.

If some of the entries are transient, they'll be sent to the mirror as discarded packets, but until then their kept in the redolog as full packets, which affects resource consumption and redolog threshold.

The solution is to detect that and compact the redolog - if the mirror is disconnected but the backup is active, the redolog should detect transient packets (and ranges of those packets), and replace them with discarded packets to reduce resource consumption while the mirror is disconnected.

Workaround

None

Acceptance Test

RedoLogCompactionAllPersistentTest
RedoLogCompactionAllTransientTest
RedoLogCompactionBasicTest
RedoLogCompactionManyTransientPacketsTest
RedoLogCompactionMirrorAndLocalViewTest
RedoLogCompactionTakeMultipleTest
RedoLogCompactionSkipAllPersistentRangesOptimizationTest
RedoLogTxnCompactionBasicTest

Status

Assignee

Yael Nahon

Reporter

Niv Ingberg

Priority

Major

SalesForce Case ID

None

Fix versions

Commitment Version/s

None

Due date

None

Product

None

Edition

Open Source

Platform

All

Sprint

None