Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hotfix: there was a ticker leak when producer creation failed (#730)
Co-authored-by: breatche <[email protected]> Master Issue: [#729 ] ### Motivation I received an alarm indicating that the server load was too high, used the pprof tool to locate the problem and determined that the cause was a ticker leak while a large number of producer creating failed. Here are some screenshots to show it: - pprof heap, there are a number of SDK-started ticker, accounted for 90% ![image](https://user-images.githubusercontent.com/15198796/154658829-e7bfc501-31cf-4f5e-9468-7a690d6b9a23.png) - pprof cpu, cpu consumption is also here ![image](https://user-images.githubusercontent.com/15198796/154659229-3f2506e1-59fd-4ec0-b1f9-230fa4a48d96.png) ### Modifications stop ticker when create producer failed
- Loading branch information