enhance: reduce SyncTask AllocID call and refine code #29701
92.85% of diff hit (target 80.00%)
View this Pull Request on Codecov
92.85% of diff hit (target 80.00%)
Annotations
Check warning on line 169 in internal/core/src/storage/Util.cpp
codecov / codecov/patch
internal/core/src/storage/Util.cpp#L169
Added line #L169 was not covered by tests
Check warning on line 350 in internal/core/src/storage/Util.cpp
codecov / codecov/patch
internal/core/src/storage/Util.cpp#L350
Added line #L350 was not covered by tests
Check warning on line 377 in internal/core/src/storage/Util.cpp
codecov / codecov/patch
internal/core/src/storage/Util.cpp#L377
Added line #L377 was not covered by tests
Check warning on line 128 in internal/datanode/writebuffer/insert_buffer.go
codecov / codecov/patch
internal/datanode/writebuffer/insert_buffer.go#L128
Added line #L128 was not covered by tests
Check warning on line 145 in internal/datanode/writebuffer/insert_buffer.go
codecov / codecov/patch
internal/datanode/writebuffer/insert_buffer.go#L145
Added line #L145 was not covered by tests
Check warning on line 123 in internal/distributed/proxy/httpserver/handler_v1.go
codecov / codecov/patch
internal/distributed/proxy/httpserver/handler_v1.go#L123
Added line #L123 was not covered by tests
Check warning on line 876 in internal/distributed/proxy/service.go
codecov / codecov/patch
internal/distributed/proxy/service.go#L875-L876
Added lines #L875 - L876 were not covered by tests
Check warning on line 2728 in internal/proxy/impl.go
codecov / codecov/patch
internal/proxy/impl.go#L2728
Added line #L2728 was not covered by tests
Check warning on line 175 in internal/proxy/task_upsert.go
codecov / codecov/patch
internal/proxy/task_upsert.go#L175
Added line #L175 was not covered by tests
Check warning on line 61 in internal/querynodev2/delegator/deletebuffer/delete_buffer.go
codecov / codecov/patch
internal/querynodev2/delegator/deletebuffer/delete_buffer.go#L61
Added line #L61 was not covered by tests
Check warning on line 93 in internal/querynodev2/delegator/deletebuffer/delete_buffer.go
codecov / codecov/patch
internal/querynodev2/delegator/deletebuffer/delete_buffer.go#L93
Added line #L93 was not covered by tests
Check warning on line 232 in internal/querynodev2/segments/collection.go
codecov / codecov/patch
internal/querynodev2/segments/collection.go#L232
Added line #L232 was not covered by tests
Check warning on line 253 in internal/querynodev2/tasks/concurrent_safe_scheduler.go
codecov / codecov/patch
internal/querynodev2/tasks/concurrent_safe_scheduler.go#L252-L253
Added lines #L252 - L253 were not covered by tests
Check warning on line 146 in internal/storage/azure_object_storage.go
codecov / codecov/patch
internal/storage/azure_object_storage.go#L145-L146
Added lines #L145 - L146 were not covered by tests