You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
Search before asking
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?
Code of Conduct
The text was updated successfully, but these errors were encountered: