milvus/pkg
XuanYang-cn 4926021c02
fix: Skip mark compaction timeout for mix and l0 compaction (#37118)
Timeout is a bad design for long running tasks, especially using a
static timeout config. We should monitor execution progress and fail the
task if the progress has been stale for a long time.

This pr is a small patch to stop DC from marking compaction tasks
timeout, while still waiting for DN to finish. The design is
self-conflicted. After this pr, mix and L0 compaction are no longer
controlled by DC timeout, but clustering is still under timeout control.

The compaction queue capacity grows larger for priority calc, hence
timeout compactions appears more often, and when timeout, the queuing
tasks will be timeout too, no compaction will success after.

See also: #37108, #37015

---------

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2024-10-28 14:33:29 +08:00
..
common feat: management WebUI homepage (#36822) 2024-10-23 11:29:28 +08:00
config enhance: Enable dynamic update loaded collection's replica (#35822) 2024-09-25 10:13:18 +08:00
eventlog fix: fix make generate-mockery panic with go1.22 (#36830) 2024-10-17 12:11:31 +08:00
kv fix: fix make generate-mockery panic with go1.22 (#36830) 2024-10-17 12:11:31 +08:00
log enhance: improve log encoding performance on proxy nodes (#36123) 2024-09-11 14:51:07 +08:00
metrics enhance: Add collection name label for some metric (#36951) 2024-10-25 14:29:47 +08:00
mocks fix: fix make generate-mockery panic with go1.22 (#36830) 2024-10-17 12:11:31 +08:00
mq feat: management WebUI homepage (#36822) 2024-10-23 11:29:28 +08:00
streaming fix: streaming consumer may get stucked when handler is un-consumed (#36818) 2024-10-14 15:23:23 +08:00
tracer fix: Fix tracing config update logic (#35928) 2024-09-05 14:27:04 +08:00
util fix: Skip mark compaction timeout for mix and l0 compaction (#37118) 2024-10-28 14:33:29 +08:00
.mockery_pkg.yaml enhance: support single pchannel level transaction (#35289) 2024-08-19 21:22:56 +08:00
go.mod feat: management WebUI homepage (#36822) 2024-10-23 11:29:28 +08:00
go.sum feat: management WebUI homepage (#36822) 2024-10-23 11:29:28 +08:00
Makefile enhance: Update Makefile to generate mockery (#35517) 2024-08-16 18:44:53 +08:00
rules.go Add back gocritic linter and fix related issues (#27289) 2023-09-22 10:05:26 +08:00