milvus/internal/datanode/importv2
congqixia 962a5446f8
enhance: Add ctx in `SyncTask.Run` to be cancellable (#34042)
Related to #33716

This PR add context param in SyncTask.Run execution functions to make it
cancellable from the caller.

This make it possible to cancel task when datanode/data sync service is
beeing shut down.

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-06-25 14:22:04 +08:00
..
hash.go enhance: Support L0 import (#33514) 2024-06-07 14:17:20 +08:00
pool.go enhance: Abstract Execute interface for import/preimport task (#33234) 2024-05-23 11:29:41 +08:00
scheduler.go enhance: Abstract Execute interface for import/preimport task (#33234) 2024-05-23 11:29:41 +08:00
scheduler_test.go enhance: Support L0 import (#33514) 2024-06-07 14:17:20 +08:00
task.go enhance: Support L0 import (#33514) 2024-06-07 14:17:20 +08:00
task_import.go fix: Deep copy ImportTask.segmentsInfo to prevent data race (#34090) 2024-06-25 10:06:02 +08:00
task_l0_import.go fix: Deep copy ImportTask.segmentsInfo to prevent data race (#34090) 2024-06-25 10:06:02 +08:00
task_l0_import_test.go enhance: Add ctx in `SyncTask.Run` to be cancellable (#34042) 2024-06-25 14:22:04 +08:00
task_l0_preimport.go fix: Deep copy ImportTask.segmentsInfo to prevent data race (#34090) 2024-06-25 10:06:02 +08:00
task_manager.go feat: Add import executor and manager for datanode (#29438) 2024-01-31 20:45:04 +08:00
task_manager_test.go enhance: Support L0 import (#33514) 2024-06-07 14:17:20 +08:00
task_preimport.go fix: Deep copy ImportTask.segmentsInfo to prevent data race (#34090) 2024-06-25 10:06:02 +08:00
util.go enhance: Avoid merging insert data when buffering insert msgs (#33562) 2024-06-13 11:15:56 +08:00
util_test.go fix: Check if the import job exists (#33672) 2024-06-10 21:51:55 +08:00