Problem
Currently slow truncate is enabled on primaries and standby. However slow truncate cannot keep up with large truncate workload, and can lead to significant lag for the standby nodes relative to the primary node. Leading to issues where standby nodes might not be able to service reads effectively. Introducing an availability risk.
The ASC Fast Truncate implementation does not work on standby nodes because it needs to write fast truncate information directly to the standby table which violates the core principle in which any update/insert operations can’t be done in standby mode. A new standby fast truncate design will be adopted to enable fast truncate.
What needs to be done
After WT-15207 has been merged in, a simple POC truncate list will be present in the develop branch, showcasing a basic working fast truncate functionality on standby nodes. The ticket will focus on reviewing and finalising the POC truncate list structure. There are a bunch of FIXMEs related to this ticket.
Furthermore, functions related to the POC truncate list's creation/destroy will also need their own unit tests.
- is related to
-
WT-15207 Create POC Implementation Fast-Truncate
-
- In Code Review
-