You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
143424: raft: use term cache for leader commit term check r=pav-kv a=hakuuww
Previously, we avoided calling term(index) for leader commit term check by keeping the first entry index for the current leader term in memory, and comparing against that index. (see #137826)
Now, since we have implemented term cache
(which stores info of the current leader term's first entryID in this case), the term cache is used for that check to reduce the complexity of our code. (see #142239 )
Part of #136296Fixes: #143362
Epic: None
Release note: None
143463: sql: refactor PlanCDCExpression r=mgartner a=mgartner
#### sql: collect CDC presentation outside of plan walker
The column presentation of the top node is collected to determine the
output columns for the CDC expression. There is no need to do this
within the plan node walker, so it has been moved outside.
Release note: None
#### sql: use InputCount and Input planNode methods to walk CDC plans
The `Input` and `InputCount` methods of the `planNode` interface are now
used to walk plan node trees of CDC expressions. This continues the
effort to deprecate and remove the plan node walkers (see #137620 for
more details on the motivation for this).
Epic: None
Release note: None
#### sql: refactor return statements in PlanCDCExpression
The `return` statements for error cases now explicitly return an empty
`CDCExpressionPlan` for clarity.
Release note: None
Co-authored-by: Anthony Xu <[email protected]>
Co-authored-by: Marcus Gartner <[email protected]>
0 commit comments