Investigate calls from analytics plugin maybe leading to high CPU

Đang mở
#56 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
java
Lĩnh vực
analytics

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Java
Star
13
Fork
33
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của killbill/killbill-analytics-plugin

Tất cả issue của killbill/killbill-analytics-plugin

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.