You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit da170fa
Browse filesBrowse the repository at this point in the historyBrowse files
committed
docs: number the single-table guard drop 0095
Rebased off #9610 onto main, which ends at 0094, so the drop is 0095.
A build between #9363 and #9615 is not a valid 0094 stop, so the shared
stop must also satisfy 0094's rule, not only come before it.
Co-authored-by: Elrond <28d6302a099e5225b02c4155ac4236e4912603df2ab08dbfc2f4fef08ce598c8@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Luke Tornquist <tornquist@squareup.com>
Copy file name to clipboardExpand all lines: docs/trigger-retirement-deployment.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,9 +103,9 @@ search fails with `42883 profile_name_fields(text) does not exist`.
103
103
`0094` takes no table locks. It needs no cleanup, and a rollback to a stop
104
104
build needs auto-migration off, as above.
105
105
106
-
## Single-table guards (`0096`)
106
+
## Single-table guards (`0095`)
107
107
108
-
`0096_drop_single_table_guards.sql` drops five single-table guard triggers and
108
+
`0095_drop_single_table_guards.sql` drops five single-table guard triggers and
109
109
their functions. The application writers and the catalog expand from
110
110
[#8320](https://github.com/block/buzz/pull/8320) now own each rule:
111
111
@@ -118,25 +118,25 @@ their functions. The application writers and the catalog expand from
118
118
|`community_deletion_manifest_keys`|`community_deletion_manifest_keys_guard` / `protect_community_deletion_manifest_keys()`| chunk writes stop at freeze and `deleted_at` is one-way |
119
119
120
120
**A relay build at or after commit `ec778bff` (the merge of
121
-
[#8320](https://github.com/block/buzz/pull/8320)) and before `0096` is a
121
+
[#8320](https://github.com/block/buzz/pull/8320)) and before `0095` is a
122
122
required stop.** No tagged relay release contains it, so a deployment on a
123
123
tagged release must move to a stop build first. For a deployment that has not
124
124
yet passed `0094`, this supersedes the `0094` stop: `ec778bff` is an ancestor
125
-
of the `0094` merge, so one build at or after `ec778bff`and before `0094`
126
-
satisfies both, while a build between `279a31da` and `ec778bff` satisfies only
127
-
`0094`'s. Follow the same procedure as above.
125
+
of the `0094` merge, so one build at or after `ec778bff`that is also a valid
126
+
`0094` stop satisfies both, while a build between `279a31da` and `ec778bff`
127
+
satisfies only `0094`'s. Follow the same procedure as above.
128
128
129
129
An older relay requires the tombstone trigger both at startup and on every
130
-
readiness check. Once `0096` has run, it fails both with
130
+
readiness check. Once `0095` has run, it fails both with
131
131
`community tombstone trigger is missing`: serving pods go not ready and a
132
132
restarted pod does not start, with auto-migration on or off. Its writers also
133
133
do not enforce the five rules above.
134
134
135
-
`0096` takes `ACCESS EXCLUSIVE` on those five tables in one transaction, under
135
+
`0095` takes `ACCESS EXCLUSIVE` on those five tables in one transaction, under
136
136
a 5s `lock_timeout` that bounds each lock acquisition. Reads and writes on
137
137
`channels` can queue while it acquires the remaining locks. A lock timeout
138
138
rolls the whole migration back, and a retry is clean.
139
139
140
140
Roll back only to a build at or after `ec778bff`, with auto-migration off, as
141
141
in [Rollback](#rollback). A build below `ec778bff` does not start after
0 commit comments