Skip to content
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

glusterfs inode number can be larger than Long.MAX_VALUE #112

Open
jsvd opened this issue Jan 8, 2018 · 2 comments
Open

glusterfs inode number can be larger than Long.MAX_VALUE #112

jsvd opened this issue Jan 8, 2018 · 2 comments
Milestone

Comments

@jsvd
Copy link

jsvd commented Jan 8, 2018

This is causing some file stat operations on jruby to return negative inode numbers since the value for the inode on glusterfs can be quite large http://docs.gluster.org/en/latest/Troubleshooting/gfid-to-path/

@headius
Copy link
Member

headius commented May 16, 2018

Oh nice. Does it at least fit in an unsigned 64-bit long?

@headius headius added this to the 3.0.46 milestone May 16, 2018
@jsvd
Copy link
Author

jsvd commented May 16, 2018

I think so, looking at glusterfs docs it seems to use an uid_t? http://staged-gluster-docs.readthedocs.io/en/release3.7.0beta1/Developer-guide/datastructure-inode/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants