[YSQL] Refactor yb_disable_transactional_writes code path #26166
Labels
area/ysql
Yugabyte SQL (YSQL)
kind/enhancement
This is an enhancement of an existing feature
priority/medium
Medium priority issue
status/awaiting-triage
Issue awaiting triage
Jira Link: DB-15499
Description
We are accessing yb_disable_transactional_writes directly in many code path. One stack:
In the cases we need to change yb_disable_transactional_writes value dynamically in code, we may forget to restore back. Better to refactor the code to pass an argument like YbcPgTransactionSetting through the stack.
Issue Type
kind/enhancement
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: