@@ -19,11 +19,14 @@ Schema change plan for TRUNCATE TABLE ‹defaultdb›.‹public›.‹t›;
1919 │ │ ├── ABSENT → PUBLIC IndexColumn:{DescID: 104 (t), ColumnID: 2 (j), IndexID: 4 (t_j_key+)}
2020 │ │ ├── ABSENT → PUBLIC IndexColumn:{DescID: 104 (t), ColumnID: 1 (i), IndexID: 4 (t_j_key+)}
2121 │ │ └── ABSENT → PUBLIC IndexData:{DescID: 104 (t), IndexID: 4 (t_j_key+)}
22+ │ ├── 1 element transitioning toward TRANSIENT_PUBLIC
23+ │ │ └── PUBLIC → ABSENT TableSchemaLocked:{DescID: 104 (t)}
2224 │ ├── 3 elements transitioning toward ABSENT
2325 │ │ ├── PUBLIC → VALIDATED PrimaryIndex:{DescID: 104 (t), IndexID: 1 (t_pkey-), ConstraintID: 2}
2426 │ │ ├── PUBLIC → ABSENT IndexName:{DescID: 104 (t), Name: "t_pkey", IndexID: 1 (t_pkey-)}
2527 │ │ └── PUBLIC → VALIDATED SecondaryIndex:{DescID: 104 (t), IndexID: 2 (t_j_key-), ConstraintID: 1, RecreateSourceIndexID: 0, RecreateTargetIndexID: 0}
26- │ └── 21 Mutation operations
28+ │ └── 22 Mutation operations
29+ │ ├── SetTableSchemaLocked {"TableID":104}
2730 │ ├── MakeAbsentIndexBackfilling {"Index":{"ConstraintID":3,"IndexID":3,"IsUnique":true,"SourceIndexID":1,"TableID":104}}
2831 │ ├── AddColumnToIndex {"ColumnID":1,"IndexID":3,"TableID":104}
2932 │ ├── AddColumnToIndex {"ColumnID":2,"IndexID":3,"Kind":2,"TableID":104}
@@ -58,6 +61,8 @@ Schema change plan for TRUNCATE TABLE ‹defaultdb›.‹public›.‹t›;
5861 │ │ │ ├── PUBLIC → ABSENT IndexColumn:{DescID: 104 (t), ColumnID: 2 (j), IndexID: 4 (t_j_key+)}
5962 │ │ │ ├── PUBLIC → ABSENT IndexColumn:{DescID: 104 (t), ColumnID: 1 (i), IndexID: 4 (t_j_key+)}
6063 │ │ │ └── PUBLIC → ABSENT IndexData:{DescID: 104 (t), IndexID: 4 (t_j_key+)}
64+ │ │ ├── 1 element transitioning toward TRANSIENT_PUBLIC
65+ │ │ │ └── ABSENT → PUBLIC TableSchemaLocked:{DescID: 104 (t)}
6166 │ │ ├── 3 elements transitioning toward ABSENT
6267 │ │ │ ├── VALIDATED → PUBLIC PrimaryIndex:{DescID: 104 (t), IndexID: 1 (t_pkey-), ConstraintID: 2}
6368 │ │ │ ├── ABSENT → PUBLIC IndexName:{DescID: 104 (t), Name: "t_pkey", IndexID: 1 (t_pkey-)}
@@ -76,11 +81,14 @@ Schema change plan for TRUNCATE TABLE ‹defaultdb›.‹public›.‹t›;
7681 │ │ ├── ABSENT → PUBLIC IndexColumn:{DescID: 104 (t), ColumnID: 2 (j), IndexID: 4 (t_j_key+)}
7782 │ │ ├── ABSENT → PUBLIC IndexColumn:{DescID: 104 (t), ColumnID: 1 (i), IndexID: 4 (t_j_key+)}
7883 │ │ └── ABSENT → PUBLIC IndexData:{DescID: 104 (t), IndexID: 4 (t_j_key+)}
84+ │ ├── 1 element transitioning toward TRANSIENT_PUBLIC
85+ │ │ └── PUBLIC → ABSENT TableSchemaLocked:{DescID: 104 (t)}
7986 │ ├── 3 elements transitioning toward ABSENT
8087 │ │ ├── PUBLIC → VALIDATED PrimaryIndex:{DescID: 104 (t), IndexID: 1 (t_pkey-), ConstraintID: 2}
8188 │ │ ├── PUBLIC → ABSENT IndexName:{DescID: 104 (t), Name: "t_pkey", IndexID: 1 (t_pkey-)}
8289 │ │ └── PUBLIC → VALIDATED SecondaryIndex:{DescID: 104 (t), IndexID: 2 (t_j_key-), ConstraintID: 1, RecreateSourceIndexID: 0, RecreateTargetIndexID: 0}
83- │ └── 26 Mutation operations
90+ │ └── 27 Mutation operations
91+ │ ├── SetTableSchemaLocked {"TableID":104}
8492 │ ├── MakeAbsentIndexBackfilling {"Index":{"ConstraintID":3,"IndexID":3,"IsUnique":true,"SourceIndexID":1,"TableID":104}}
8593 │ ├── MaybeAddSplitForIndex {"CopyIndexID":1,"IndexID":3,"TableID":104}
8694 │ ├── AddColumnToIndex {"ColumnID":1,"IndexID":3,"TableID":104}
@@ -108,7 +116,7 @@ Schema change plan for TRUNCATE TABLE ‹defaultdb›.‹public›.‹t›;
108116 │ ├── SetJobStateOnDescriptor {"DescriptorID":104,"Initialize":true}
109117 │ └── CreateSchemaChangerJob {"NonCancelable":true,"RunningStatus":"Pending: Updatin..."}
110118 └── PostCommitNonRevertiblePhase
111- ├── Stage 1 of 2 in PostCommitNonRevertiblePhase
119+ ├── Stage 1 of 3 in PostCommitNonRevertiblePhase
112120 │ ├── 7 elements transitioning toward ABSENT
113121 │ │ ├── PUBLIC → ABSENT IndexColumn:{DescID: 104 (t), ColumnID: 1 (i), IndexID: 1 (t_pkey-)}
114122 │ │ ├── PUBLIC → ABSENT IndexColumn:{DescID: 104 (t), ColumnID: 2 (j), IndexID: 1 (t_pkey-)}
@@ -127,16 +135,23 @@ Schema change plan for TRUNCATE TABLE ‹defaultdb›.‹public›.‹t›;
127135 │ ├── RemoveColumnFromIndex {"ColumnID":1,"IndexID":2,"Kind":1,"TableID":104}
128136 │ ├── SetJobStateOnDescriptor {"DescriptorID":104}
129137 │ └── UpdateSchemaChangerJob {"IsNonCancelable":true,"RunningStatus":"Pending: Updatin..."}
130- └── Stage 2 of 2 in PostCommitNonRevertiblePhase
131- ├── 4 elements transitioning toward ABSENT
132- │ ├── DELETE_ONLY → ABSENT PrimaryIndex:{DescID: 104 (t), IndexID: 1 (t_pkey-), ConstraintID: 2}
133- │ ├── PUBLIC → ABSENT IndexData:{DescID: 104 (t), IndexID: 1 (t_pkey-)}
134- │ ├── DELETE_ONLY → ABSENT SecondaryIndex:{DescID: 104 (t), IndexID: 2 (t_j_key-), ConstraintID: 1, RecreateSourceIndexID: 0, RecreateTargetIndexID: 0}
135- │ └── PUBLIC → ABSENT IndexData:{DescID: 104 (t), IndexID: 2 (t_j_key-)}
136- └── 6 Mutation operations
137- ├── MakeIndexAbsent {"IndexID":1,"TableID":104}
138- ├── CreateGCJobForIndex {"IndexID":1,"TableID":104}
139- ├── MakeIndexAbsent {"IndexID":2,"TableID":104}
140- ├── CreateGCJobForIndex {"IndexID":2,"TableID":104}
138+ ├── Stage 2 of 3 in PostCommitNonRevertiblePhase
139+ │ ├── 4 elements transitioning toward ABSENT
140+ │ │ ├── DELETE_ONLY → ABSENT PrimaryIndex:{DescID: 104 (t), IndexID: 1 (t_pkey-), ConstraintID: 2}
141+ │ │ ├── PUBLIC → ABSENT IndexData:{DescID: 104 (t), IndexID: 1 (t_pkey-)}
142+ │ │ ├── DELETE_ONLY → ABSENT SecondaryIndex:{DescID: 104 (t), IndexID: 2 (t_j_key-), ConstraintID: 1, RecreateSourceIndexID: 0, RecreateTargetIndexID: 0}
143+ │ │ └── PUBLIC → ABSENT IndexData:{DescID: 104 (t), IndexID: 2 (t_j_key-)}
144+ │ └── 6 Mutation operations
145+ │ ├── MakeIndexAbsent {"IndexID":1,"TableID":104}
146+ │ ├── CreateGCJobForIndex {"IndexID":1,"TableID":104}
147+ │ ├── MakeIndexAbsent {"IndexID":2,"TableID":104}
148+ │ ├── CreateGCJobForIndex {"IndexID":2,"TableID":104}
149+ │ ├── SetJobStateOnDescriptor {"DescriptorID":104}
150+ │ └── UpdateSchemaChangerJob {"IsNonCancelable":true,"RunningStatus":"Pending: Updatin..."}
151+ └── Stage 3 of 3 in PostCommitNonRevertiblePhase
152+ ├── 1 element transitioning toward TRANSIENT_PUBLIC
153+ │ └── ABSENT → TRANSIENT_PUBLIC TableSchemaLocked:{DescID: 104 (t)}
154+ └── 3 Mutation operations
155+ ├── SetTableSchemaLocked {"Locked":true,"TableID":104}
141156 ├── RemoveJobStateFromDescriptor {"DescriptorID":104}
142157 └── UpdateSchemaChangerJob {"IsNonCancelable":true,"RunningStatus":"all stages compl..."}
0 commit comments