[DocDB] [xCluster] ALTER DDL Abort #13649
Labels
area/docdb
YugabyteDB core features
kind/enhancement
This is an enhancement of an existing feature
priority/medium
Medium priority issue
Jira Link: DB-3214
Description
When a DDL is aborted late in the transaction apply phase, we can run into a situation where the META_OP for the ALTER has been persisted in the WAL logs. The Abort happens and, with #13358, a second META_OP is written to undo the operation. This is sufficient for the single cluster use case. However, XCluster will consume this log entry and can possibly halt waiting for user-initiated synchronization (#11017).
A couple high level design options:
#2 seems like it might have a lot of performance complications and make the halting logic more complex. #1 seems more aligned with the existing design patterns for XCluster.
The text was updated successfully, but these errors were encountered: