-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add prefix to GCS and S3 uri separators #7949
Conversation
✅ Deploy Preview for meta-velox canceled.
|
Hello @majetideepak. We found an issue related to symbol collisions, and this contribution solves that problem. Thanks. |
cc79d4d
to
9aa961d
Compare
9aa961d
to
5cf0678
Compare
2b0615a
to
a7ee810
Compare
a7ee810
to
25ee73c
Compare
@kgpai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Hi @tigrux , Thanks ! |
@kgpai I can see that users would see |
25ee73c
to
73c89a5
Compare
Hello @kgpai, I filed the bug with exactly what @majetideepak described: |
73c89a5
to
043a558
Compare
043a558
to
9f75932
Compare
@kgpai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Storage adapters for both GCS and S3 use a separator for their URIs. The symbols in each adapter use a prefix to avoid collisions. However, this is not the case for the symbol kSep. This change fixes such potential collision. Fixes facebookincubator#8372
9f75932
to
6e34e5d
Compare
Hi again @tigrux , Apologies for my late response on this, we are trying to move away from using anonymous namespaces in header files and I am going to create a PR shortly against our coding convention to highlight that. I do realize that this is present in more places than we would like in Velox, but we are trying to not add more. |
@kgpai Can you share some details on doing this? I am curious. |
Hello, I understand. Should I then modify this PR to remove the anonymous namespaces (in S3 and GCS)? |
@tigrux Yes that would be great. |
This pull request has been automatically marked as stale because it has not had recent activity. If you'd still like this PR merged, please comment on the PR, make sure you've addressed reviewer comments, and rebase on the latest main. Thank you for your contributions! |
Storage adapters for both GCS and S3 use a separator for their URIs. The symbols in each adapter use a prefix to avoid collisions. However, this is not the case for the symbol kSep. This change fixes such potential collision.