Commit e6cc5f6
fix: aggregate batching throttling latency per attempt and reset it between (#1905)
* fix: aggregate batching throttling latency per attempt and reset it between This should improve reporting of latency when bulk mutation throttling is enabled. Also: - fix tests to properly close the batcher - simplify tests to avoid unnecessary mocking - improve test failure messaging Change-Id: I53748c5e54ebbbe2a896f8ea0ce6c39a8f5fa297 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>1 parent f4fe6a0 commit e6cc5f6
File tree
4 files changed
+41
-61
lines changed- google-cloud-bigtable/src
- main/java/com/google/cloud/bigtable/data/v2/stub/metrics
- test/java/com/google/cloud/bigtable/data/v2/stub/metrics
4 files changed
+41
-61
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
| 277 | + | |
277 | 278 | | |
278 | 279 | | |
279 | 280 | | |
| |||
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| |||
167 | 170 | | |
168 | 171 | | |
169 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
170 | 181 | | |
171 | 182 | | |
172 | 183 | | |
| |||
216 | 227 | | |
217 | 228 | | |
218 | 229 | | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
| 230 | + | |
| 231 | + | |
224 | 232 | | |
225 | 233 | | |
226 | 234 | | |
| |||
Lines changed: 21 additions & 55 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | | - | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
387 | 385 | | |
388 | 386 | | |
389 | 387 | | |
390 | | - | |
| 388 | + | |
391 | 389 | | |
392 | 390 | | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | 391 | | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
406 | 402 | | |
407 | 403 | | |
408 | 404 | | |
409 | 405 | | |
410 | 406 | | |
411 | | - | |
412 | | - | |
413 | | - | |
| 407 | + | |
| 408 | + | |
414 | 409 | | |
415 | 410 | | |
416 | 411 | | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
423 | 415 | | |
424 | 416 | | |
425 | 417 | | |
426 | 418 | | |
427 | 419 | | |
428 | | - | |
429 | 420 | | |
430 | 421 | | |
431 | 422 | | |
| |||
444 | 435 | | |
445 | 436 | | |
446 | 437 | | |
447 | | - | |
448 | | - | |
| 438 | + | |
| 439 | + | |
449 | 440 | | |
450 | 441 | | |
451 | 442 | | |
452 | 443 | | |
453 | 444 | | |
454 | 445 | | |
455 | | - | |
| 446 | + | |
456 | 447 | | |
457 | | - | |
458 | | - | |
| 448 | + | |
| 449 | + | |
459 | 450 | | |
460 | 451 | | |
461 | 452 | | |
| |||
473 | 464 | | |
474 | 465 | | |
475 | 466 | | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | 467 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
302 | 307 | | |
303 | 308 | | |
304 | 309 | | |
| |||
0 commit comments