mounter(ticdc): reuse buf to reduce memory allocation when checksum enabled #11522
61.9047% of diff hit (target 0.0000%)
View this Pull Request on Codecov
61.9047% of diff hit (target 0.0000%)
Annotations
Check warning on line 482 in cdc/entry/mounter.go
codecov / codecov/patch
cdc/entry/mounter.go#L482
Added line #L482 was not covered by tests
Check warning on line 487 in cdc/entry/mounter.go
codecov / codecov/patch
cdc/entry/mounter.go#L487
Added line #L487 was not covered by tests
Check warning on line 490 in cdc/entry/mounter.go
codecov / codecov/patch
cdc/entry/mounter.go#L490
Added line #L490 was not covered by tests
Check warning on line 494 in cdc/entry/mounter.go
codecov / codecov/patch
cdc/entry/mounter.go#L492-L494
Added lines #L492 - L494 were not covered by tests
Check warning on line 500 in cdc/entry/mounter.go
codecov / codecov/patch
cdc/entry/mounter.go#L500
Added line #L500 was not covered by tests
Check warning on line 507 in cdc/entry/mounter.go
codecov / codecov/patch
cdc/entry/mounter.go#L507
Added line #L507 was not covered by tests
Check warning on line 511 in cdc/entry/mounter.go
codecov / codecov/patch
cdc/entry/mounter.go#L511
Added line #L511 was not covered by tests
Check warning on line 516 in cdc/entry/mounter.go
codecov / codecov/patch
cdc/entry/mounter.go#L516
Added line #L516 was not covered by tests
Check warning on line 520 in cdc/entry/mounter.go
codecov / codecov/patch
cdc/entry/mounter.go#L520
Added line #L520 was not covered by tests
Check warning on line 631 in cdc/entry/mounter.go
codecov / codecov/patch
cdc/entry/mounter.go#L631
Added line #L631 was not covered by tests
Check warning on line 645 in cdc/entry/mounter.go
codecov / codecov/patch
cdc/entry/mounter.go#L645
Added line #L645 was not covered by tests
Check warning on line 652 in cdc/entry/mounter.go
codecov / codecov/patch
cdc/entry/mounter.go#L652
Added line #L652 was not covered by tests
Check warning on line 660 in cdc/entry/mounter.go
codecov / codecov/patch
cdc/entry/mounter.go#L660
Added line #L660 was not covered by tests
Check warning on line 680 in cdc/entry/mounter.go
codecov / codecov/patch
cdc/entry/mounter.go#L680
Added line #L680 was not covered by tests
Check warning on line 694 in cdc/entry/mounter.go
codecov / codecov/patch
cdc/entry/mounter.go#L692-L694
Added lines #L692 - L694 were not covered by tests
Check warning on line 697 in cdc/entry/mounter.go
codecov / codecov/patch
cdc/entry/mounter.go#L697
Added line #L697 was not covered by tests
Check warning on line 708 in cdc/entry/mounter.go
codecov / codecov/patch
cdc/entry/mounter.go#L701-L708
Added lines #L701 - L708 were not covered by tests
Check warning on line 748 in cdc/entry/mounter.go
codecov / codecov/patch
cdc/entry/mounter.go#L748
Added line #L748 was not covered by tests
Check warning on line 768 in cdc/entry/mounter.go
codecov / codecov/patch
cdc/entry/mounter.go#L768
Added line #L768 was not covered by tests