update dgraph-io/ristretto to outcaste-io/ristretto#12559
Conversation
|
Hey there! There is nothing in its README file suggesting that the library is abandoned. Do you have a link to an official announcement saying so? I am not familiar with this library that you are proposing. I also don't see it announced anywhere as an official replacement. Neither am I aware of any issues with glog because of this library. Can you please help clarify these points? |
|
Hi @gbbr, I was going off the issue in https://github.com/dgraph-io/ristretto/pull/292, where the last comment says it is abandoned. It's not uncommon for open source projects to become unofficially abandoned, particularly when the authors left the company. This is the first line in the README for the fork.
The issue with the glog library is that it pollutes the global flag namespace for Go. For us specifically, we are hitting a collision with the |
It's not, but in that case, I expect the source project to mention this in its README, and not a fork with 60 stars (compared to 4k)...
Thanks! This helps!
I see, this is also helpful context. Happy to merge this. I will edit your PR's description and add a link to dgraph-io/ristretto#292 (comment). I hope that's ok with you. |
Thanks! I probably should have included in the original PR description. |
|
How do we get this merged? All checks seem to be passing except this mergefreeze? |
We are in the middle of releasing a new Agent version and for a few days only bugfixes can be merged to main (this is what the 'mergefreeze' check is about). We can merge your PR after this period is over. |
|
Hello again! Can this be merged now? Seems like the merge freeze is over |
|
I can't seem to access these gitlab build results. But |
Can you run |
The dgraph version of the library is abandoned and the outcaste-io one is now the official fork. The new version removes a dependency on the glog library, that can cause conflicts due to global initialization, see outcaste-io/ristretto#3. The same glog library has caused issues in this repo in the past as well DataDog#1310.
|
Ah, yeah, that made some changes to the |
|
@gbbr Please merge whenever ready |
|
Opened #12992 to revert this PR. The |
|
@mx-psi @mightyguava The tag has been added: outcaste-io/ristretto#4 (comment). |
This change updates the dependency on dgraph-io/ristretto to outcaste-io/ristretto. The former is abandoned for the latter (see dgraph-io/ristretto#292 (comment)). This update also fixes an issue with an indirect dependency (glog) which pollutes the global space. See dgraph-io/ristretto#292 and #1310.