Is max object size 5GB+2byte?
Hello,
Could anyone please answer my question on the maximum size of a single object on Swift?
"Swift 1.7.6-dev documentation >> Large Object Support > Overview" says the default maximum object size is "5GB", however I have successfully uploaded a 5GB+2byte(
It also seems that the source says max file size is 5GB+2byte. (see below) What is this "+ 2" for?
Thanks,
Keisuke Yamamoto
Source code:
swift-1.
https:/
-------
#: Max file size allowed for objects
MAX_FILE_SIZE = constraints_
-------
-------
# ls -l 1_2.txt
-rw-r--r-- 1 root root 5368709122 Sep 10 18:48 1_2.txt
# curl -v -X PUT -H "X-Auth-Token: AUTH_xxxxxxxxxx
* About to connect() to xxx.xxx.xxx.xxx port 8080
* Trying xxx.xxx.xxx.xxx... connected
* Connected to xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) port 8080
> PUT /v1.0/AUTH_
> User-Agent: curl/7.15.5 (x86_64-
> Host: xxx.xxx.
> Accept: */*
> X-Auth-Token: AUTH_xxxxxxxxxx
> Content-Length: 5368709122
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
HTTP/1.1 201 Created
< Content-Length: 118
< Content-Type: text/html; charset=UTF-8
< Etag: 255a618b796bd4e
< Last-Modified: Mon, 10 Sep 2012 10:37:06 GMT
< X-Trans-Id: xxxxxxxxxxxxxxx
< Date: Mon, 10 Sep 2012 10:59:20 GMT
<html>
<head>
<title>201 Created</title>
</head>
<body>
<h1>201 Created</h1>
<br /><br />
</body>
Connection #0 to host xxx.xxx.xxx.xxx left intact
* Closing connection #0
</html>
-------
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- John Dickinson
- Solved:
- Last query:
- Last reply: