Skip to content

Commit 38f03f1

Browse files
committed
Add feature flag
1 parent ff1547b commit 38f03f1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

features/features.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,15 @@ type Config struct {
109109
// get the AUTO_INCREMENT ID of each new authz without relying on MariaDB's
110110
// unique "INSERT ... RETURNING" functionality.
111111
InsertAuthzsIndividually bool
112+
113+
// NewOrdersSchema causes the SA to write to and read from the updated
114+
// orders, authorizations, and validations tables.
115+
// - Inserts go solely to the new schema
116+
// - Updates go to whichver schema hosts the row being updated
117+
// - Simple select-by-id go to whichever schema hosts the row being selected
118+
// - Complex queries go solely to the new schema (this means that authz and
119+
// order reuse work only in the new schema).
120+
NewOrdersSchema bool
112121
}
113122

114123
var fMu = new(sync.RWMutex)

0 commit comments

Comments
 (0)