client: Support parallel TSO RPC requests on single dispatcher loop #8633
58.03% of diff hit (target 77.63%)
View this Pull Request on Codecov
58.03% of diff hit (target 77.63%)
Annotations
Check warning on line 803 in client/client.go
codecov / codecov/patch
client/client.go#L800-L803
Added lines #L800 - L803 were not covered by tests
Check warning on line 805 in client/client.go
codecov / codecov/patch
client/client.go#L805
Added line #L805 was not covered by tests
Check warning on line 74 in client/tso_batch_controller.go
codecov / codecov/patch
client/tso_batch_controller.go#L70-L74
Added lines #L70 - L74 were not covered by tests
Check warning on line 171 in client/tso_batch_controller.go
codecov / codecov/patch
client/tso_batch_controller.go#L162-L171
Added lines #L162 - L171 were not covered by tests
Check warning on line 184 in client/tso_batch_controller.go
codecov / codecov/patch
client/tso_batch_controller.go#L176-L184
Added lines #L176 - L184 were not covered by tests
Check warning on line 188 in client/tso_batch_controller.go
codecov / codecov/patch
client/tso_batch_controller.go#L188
Added line #L188 was not covered by tests
Check warning on line 256 in client/tso_dispatcher.go
codecov / codecov/patch
client/tso_dispatcher.go#L254-L256
Added lines #L254 - L256 were not covered by tests
Check warning on line 363 in client/tso_dispatcher.go
codecov / codecov/patch
client/tso_dispatcher.go#L360-L363
Added lines #L360 - L363 were not covered by tests
Check warning on line 366 in client/tso_dispatcher.go
codecov / codecov/patch
client/tso_dispatcher.go#L365-L366
Added lines #L365 - L366 were not covered by tests
Check warning on line 369 in client/tso_dispatcher.go
codecov / codecov/patch
client/tso_dispatcher.go#L368-L369
Added lines #L368 - L369 were not covered by tests
Check warning on line 379 in client/tso_dispatcher.go
codecov / codecov/patch
client/tso_dispatcher.go#L376-L379
Added lines #L376 - L379 were not covered by tests
Check warning on line 382 in client/tso_dispatcher.go
codecov / codecov/patch
client/tso_dispatcher.go#L382
Added line #L382 was not covered by tests
Check warning on line 385 in client/tso_dispatcher.go
codecov / codecov/patch
client/tso_dispatcher.go#L384-L385
Added lines #L384 - L385 were not covered by tests
Check warning on line 390 in client/tso_dispatcher.go
codecov / codecov/patch
client/tso_dispatcher.go#L387-L390
Added lines #L387 - L390 were not covered by tests
Check warning on line 649 in client/tso_dispatcher.go
codecov / codecov/patch
client/tso_dispatcher.go#L649
Added line #L649 was not covered by tests
Check warning on line 652 in client/tso_dispatcher.go
codecov / codecov/patch
client/tso_dispatcher.go#L652
Added line #L652 was not covered by tests
Check warning on line 662 in client/tso_dispatcher.go
codecov / codecov/patch
client/tso_dispatcher.go#L660-L662
Added lines #L660 - L662 were not covered by tests
Check warning on line 676 in client/tso_dispatcher.go
codecov / codecov/patch
client/tso_dispatcher.go#L676
Added line #L676 was not covered by tests
Check warning on line 749 in client/tso_dispatcher.go
codecov / codecov/patch
client/tso_dispatcher.go#L744-L749
Added lines #L744 - L749 were not covered by tests
Check warning on line 751 in client/tso_dispatcher.go
codecov / codecov/patch
client/tso_dispatcher.go#L751
Added line #L751 was not covered by tests
Check warning on line 384 in client/tso_stream.go
codecov / codecov/patch
client/tso_stream.go#L384
Added line #L384 was not covered by tests
Check warning on line 457 in client/tso_stream.go
codecov / codecov/patch
client/tso_stream.go#L454-L457
Added lines #L454 - L457 were not covered by tests
Check warning on line 461 in client/tso_stream.go
codecov / codecov/patch
client/tso_stream.go#L459-L461
Added lines #L459 - L461 were not covered by tests