skywalking
skywalking copied to clipboard
[BanyanDB] Inverted Index Metric Data Race
Search before asking
- [X] I had searched in the issues and found no similar feature requirement.
Description
The stat
object provided by the inverted index metrics is not thread-safe. Concurrent reading and updating of the object can lead to data race issues.
We need to modify the bluge.Status()
method to access metrics using atomic operations. Since bluge is not mentioned, we will have to create a new branch in our repository to maintain this library.
Use case
No response
Related issues
No response
Are you willing to submit a pull request to implement this on your own?
- [ ] Yes I am willing to submit a pull request on my own!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct