Investigate calls from analytics plugin maybe leading to high CPU
还没有人认领这个 Issue。
评估
调研方向
Start by reproducing the reported integration test: create an account and subscription, then cancel it with the analytics plugin enabled. Trace the repeated refresh and rebuild calls shown in the logs; the issue does not name files or tests. Done means determining whether the repeated calls are expected and, if not, identifying their cause.
由索引模型根据 Issue 内容生成。
描述
While running a small integration test (create an account, a subscription and cancel) with the analytics plugin, i noticed a lot of traces for that account:
Refreshing Analytics data for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Refreshing Analytics data for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Starting rebuild of Analytics for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Starting rebuild of Analytics for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Starting rebuild of Analytics invoices and payments for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Starting rebuild of Analytics invoices and payments for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Finished rebuild of Analytics invoices and payments for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Starting rebuild of Analytics subscriptions for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Finished rebuild of Analytics invoices and payments for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Starting rebuild of Analytics subscriptions for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Finished rebuild of Analytics subscriptions for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Starting rebuild of Analytics tags for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Finished rebuild of Analytics tags for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Starting rebuild of Analytics custom fields for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Finished rebuild of Analytics custom fields for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Starting rebuild of Analytics account transitions for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Finished rebuild of Analytics subscriptions for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Starting rebuild of Analytics tags for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Finished rebuild of Analytics tags for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Starting rebuild of Analytics custom fields for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Finished rebuild of Analytics custom fields for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Starting rebuild of Analytics account transitions for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Finished rebuild of Analytics account transitions for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Finished rebuild of Analytics for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Finished rebuild of Analytics account transitions for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Finished rebuild of Analytics for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Refreshing Analytics data for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Starting rebuild of Analytics subscriptions for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Finished rebuild of Analytics subscriptions for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Refreshing Analytics data for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Refreshing Analytics data for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Starting rebuild of Analytics subscriptions for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Refreshing Analytics data for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Starting rebuild of Analytics invoices and payments for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Starting rebuild of Analytics invoices and payments for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Finished rebuild of Analytics subscriptions for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Finished rebuild of Analytics invoices and payments for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Finished rebuild of Analytics invoices and payments for account 93354a36-7534-4c73-9d3d-8497d4cb5893
Seems like the plugin keeps making the same calls over and over for that account.
- 主要语言
- Java
- 星标
- 13
- 派生
- 33
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
killbill/killbill-analytics-plugin 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 30/100
-
难度 5/5 一周以上 新手友好度 20/100
-
难度 4/5 3-5 天 新手友好度 30/100
killbill/killbill-analytics-plugin#163 · 1 条评论 ·
查看 killbill/killbill-analytics-plugin 的全部 Issue
相似的 Issue
-
jules
难度 2/5 1-3 小时 新手友好度 75/100
open-learning-exchange/myplanet#18568 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 85/100
hibernate/hibernate-reactive#4485 ·
维护者通常 1 天内回复
-
type: dependency-upgrade
难度 2/5 1-3 小时 新手友好度 61/100
spring-projects/spring-graphql#1556 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
higress-group/higress-console#800 ·
维护者通常 1 天内回复