Commit 1a1d1b3
committed
refactor(bigtable): drop dead session-attempt debug tags + upstream chain
Addresses sushanb inline nits on PR #20228 at debug_tracer.go:259
("why is this needed?") and :267 ("please clean this up"). Both
tags were emitted only from stampAttempt call sites that Batch 1
removed; the catalog constants are dead.
Removed:
- TagSessionAttemptNilClusterInfo + TagSessionAttemptEmptyClusterID
const declarations (dead — no emitters after Batch 1).
- DebugTag type + RecordDebugTag(DebugTag) exported function (only
existed to type-parameterize the RecordDebugTag call from
internal/session's stampAttempt; that caller is gone, so no
out-of-package consumers remain).
- tagSessionPoolCheckoutFailedCINil const + its emission at
SessionPoolImpl.Invoke's checkout-failure exit — this tag's whole
rationale was "attribute downstream nil-ClusterInfo to pool
checkout failure"; that rationale collapsed with the downstream
tag removal.
Preserved:
- The p.recordCheckoutFailure(...) call on the checkout-failure exit,
so pool-exhaustion incidents still surface in sessionz's slow-vRPC
table + latency histograms.
- The unexported recordDebugTag helper — still used by the other
in-package tags in the catalog.
Reviewed by session-reviewer + session-component-review +
igor-reviewer — all pass.1 parent 5023e0c commit 1a1d1b3
2 files changed
Lines changed: 0 additions & 49 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | 137 | | |
147 | 138 | | |
148 | 139 | | |
| |||
242 | 233 | | |
243 | 234 | | |
244 | 235 | | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | 236 | | |
281 | 237 | | |
282 | 238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | 502 | | |
508 | 503 | | |
509 | 504 | | |
| |||
0 commit comments