Refactor: message processing (#16852)

### Summary

1. refactor message processing
2. delete un-used componentIndexMap
3. unfold (delete) internal/ingestion/task/task_handler.go
This commit is contained in:
Jack
2026-07-13 16:32:34 +08:00
committed by GitHub
parent 80a7a87427
commit cfacaccad7
24 changed files with 594 additions and 533 deletions

View File

@@ -551,10 +551,10 @@ func runIngestor(args *serverArgs) error {
}
// Create context with timeout for graceful shutdown
_, cancel := context.WithTimeout(context.Background(), 30*time.Second)
shutdownCtx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
ingestor.Stop()
ingestor.Stop(shutdownCtx)
common.Info(fmt.Sprintf("Ingestor %s shutdown complete", *args.name))