Skip to content

Commit 6660ffe

Browse files
committed
workload/schemachanger: temporarily skip DROP TRIGGER in RSW
In the random schemachanger workload, you can hit an infinite recursion case when doing a cascading drop with the legacy schema changer. This root cause of this is that DROP TRIGGER can end up orphaning a backref. The fix for the root cause will be addressed in #147981. Until that is fixed, this change will skip DROP TRIGGER so we avoid the infinite recursion. Fixes #147514 Epic: none Release note: none
1 parent 9b3b2bc commit 6660ffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/workload/schemachange/optype.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ var opWeights = []int{
315315
dropSchema: 1,
316316
dropSequence: 1,
317317
dropTable: 1,
318-
dropTrigger: 1,
318+
dropTrigger: 0, // TODO(147981): re-enable once we fix orphaning of backref in DROP TRIGGER
319319
dropView: 1,
320320
renameIndex: 1,
321321
renameSequence: 1,

0 commit comments

Comments
 (0)