Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

MDC logging bug, probably in combination with AsyncEventBus #36

Open
ceefour opened this issue Mar 24, 2014 · 2 comments
Open

MDC logging bug, probably in combination with AsyncEventBus #36

ceefour opened this issue Mar 24, 2014 · 2 comments
Assignees
Labels

Comments

@ceefour
Copy link
Member

ceefour commented Mar 24, 2014

tuneeca_prd witnesses where a replay job (trigger via AsyncEventBus using Net executor) was having servlet-request MDC, which is clearly incorrect.

Even worse, the MDC seems to be "switching around" for that same Net executor thread.

17:06:39.651 I | lisna_tune | lesorder/detail/100018017/mall 518-1.IBeh  180.253.140.x Mozilla/5.0 (X11; Li | Net-25           i.c.b.i.p.QtyInProductUpdater    | Updated 1638 out of 1638 product quantities due to perpetual: [tuneeca_t_0112001_564, tuneeca_t_0512025_798, tuneeca_t_0913019_1213, tuneeca_t_0413017_994, tuneeca_t_0111029_219, tuneeca_t_0913010_1204, tuneeca_b_0111005_233, t_1113010, tuneeca_t_0111006_204, tuneeca_n_4020215]
17:11:18.164 I | lisna_tune | lesorder/detail/100018017/mall 518-1.IBeh  180.253.140.x Mozilla/5.0 (X11; Li | Net-25           i.c.b.i.p.QtyInProductUpdater    | Updated 1638 out of 1638 product quantities due to perpetual: [tuneeca_t_0112001_564, tuneeca_t_0512025_798, tuneeca_t_0913019_1213, tuneeca_t_0413017_994, tuneeca_t_0111029_219, tuneeca_t_0913010_1204, tuneeca_b_0111005_233, t_1113010, tuneeca_t_0111006_204, tuneeca_n_4020215]
23:01:05.671 I | tri_susant | tuneeca_prd_commerce/app/cart/ 13-1.IBeha  114.124.33.x Mozilla/5.0 (BB10; T | Net-25           s.InventoryBalanceProductUpdater | Updated 25 out of 25 product quantities due to perpetual: [tuneeca_t_0312064, tuneeca_t_0312062, tuneeca_t_0312061, tuneeca_t_0314012, tuneeca_t_0314015, tuneeca_t_0314001, tuneeca_t_0312065, tuneeca_t_0312045, tuneeca_t_0312044, tuneeca_t_0312051]
@ceefour ceefour added the bug label Mar 24, 2014
@ceefour ceefour self-assigned this Mar 24, 2014
@ceefour
Copy link
Member Author

ceefour commented Mar 25, 2014

Maybe because of:

A child thread automatically inherits a copy of the mapped diagnostic context of its parent.

@ceefour
Copy link
Member Author

ceefour commented Mar 25, 2014

Tolong cek via VisualVM, apakah Net-XX itu child thread dari apr...!

ceefour added a commit that referenced this issue Jul 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant