traas-stack / holoinsight

HoloInsight is a cloud-native observability platform with a special focus on real-time log analysis and AI integration.
Apache License 2.0
317 stars 67 forks source link

feat: support discarding intermediate data when aggtask is updated #818

Closed xzchaoo closed 6 months ago

xzchaoo commented 6 months ago

Which issue does this PR close?

Closes #

Rationale for this change

What changes are included in this PR?

When an AggTask update is found, discard the intermediate calculation results of the current cycle. Doing so allows you to immediately update the day-level tasks instead of waiting until the next day to take effect. But the disadvantage is that the intermediate state will be lost and the data will be calculated from zero.

Are there any user-facing changes?

How does this change test