-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
XL/fs: Internal Server Error for PutObject with a name longer than 255 bytes #1501
Comments
Thanks for the kind words! - "Internal Server Error" is retried on client side i.e minio-go, so perhaps that is the reason it must have waited for long. Name longer than 255Bytes perhaps would be the result of filesystem replying a message based on the file path length. Will incorporate your test script thanks for reproducing this issue for us. |
When errFileNameTooLong error is returned from posix, xl.CreateFile() treats the error specially by returning the same error immediately. Fixes minio#1501
When errFileNameTooLong error is returned from posix, xl.CreateFile() treats the error specially by returning the same error immediately. Fixes minio#1501
When errFileNameTooLong error is returned from posix, xl.CreateFile() treats the error specially by returning the same error immediately. Fixes minio#1501
When errFileNameTooLong error is returned from posix, xl.CreateFile() treats the error specially by returning the same error immediately. Fixes minio#1501
When errFileNameTooLong error is returned from posix, xl.CreateFile() treats the error specially by returning the same error immediately. Fixes minio#1501
See also golang/go#3358 |
When errFileNameTooLong error is returned from posix, xl.CreateFile() treats the error specially by returning the same error immediately. Fixes #1501
First of all, thanks for sharing a great software!
I tested putting an object with a name longer than 255 bytes.
Then it took about 20 seconds to get the results and the error
was "500 Internal Server Error".
I believe another error should be defined in minio/api-errors.go and the server returns it immediately.
My test environment:
I tested with the following code.
The text was updated successfully, but these errors were encountered: