File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,22 @@ type Config struct {
126126 // This feature flag also causes CAA checks to happen after all remote VAs
127127 // have passed DCV.
128128 EnforceMPIC bool
129+
130+ // ReadNewOrderSchema causes the SA to attempt to read from the new orders,
131+ // authorizations, and validations tables. This allows us to continue reading
132+ // from these tables even if we have to roll back the flag which causes us
133+ // to write to them.
134+ // - Simple select-by-id go to whichever schema hosts the row being selected
135+ // - Complex queries go solely to the new schema (this means that authz and
136+ // order reuse work only in the new schema).
137+ ReadNewOrderSchema bool
138+
139+ // WriteNewOrderSchema causes the SA to write to the new orders,
140+ // authorizations, and validations tables. Do not enable this flag unless
141+ // ReadNewOrderSchema is also enabled.
142+ // - Inserts go solely to the new schema
143+ // - Updates go to whichver schema hosts the row being updated
144+ WriteNewOrderSchema bool
129145}
130146
131147var fMu = new (sync.RWMutex )
You can’t perform that action at this time.
0 commit comments