Upload --change uploads everything
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
Triaged
|
Undecided
|
Unassigned | ||
python-swiftclient (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
The --change flag for swift client is not used, if I had files in my directory and try to continue upload, it uploads everything.
Here is how I checked :
root@test-
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 9.53983 s, 11.0 MB/s
root@test-
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 9.57748 s, 10.9 MB/s
root@test-
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 9.55197 s, 11.0 MB/s
root@test-
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 9.55002 s, 11.0 MB/s
root@test-
root@test-server:~# time swift -v -V 2 -U userAccount:
test_upload_
test_upload_
test_upload_
test_upload_
real 0m6.557s
user 0m0.748s
sys 0m0.496s
root@test-server:~# cd test_upload_swift/
root@test-
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 9.56193 s, 11.0 MB/s
root@test-
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 9.52996 s, 11.0 MB/s
root@test-
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 9.56446 s, 11.0 MB/s
root@test-
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 9.53834 s, 11.0 MB/s
root@test-
root@test-server:~# time swift -v -V 2 -U userAccount:
test_upload_
test_upload_
test_upload_
test_upload_
test_upload_
test_upload_
test_upload_
test_upload_
real 0m14.067s
user 0m1.156s
sys 0m0.948s
affects: | swift (Ubuntu) → python-swiftclient (Ubuntu) |
Changed in python-swiftclient (Ubuntu): | |
assignee: | nobody → pradeep kumar singh (pradeep-singh-u) |
Changed in python-swiftclient (Ubuntu): | |
assignee: | Pradeep Kumar Singh (pradeep-singh-u) → nobody |
Forgot to say the version of packages we use :
python-swift 1.4.8-0ubuntu2
swift 1.4.8-0ubuntu2
swift-account 1.4.8-0ubuntu2
swift-container 1.4.8-0ubuntu2
swift-object 1.4.8-0ubuntu2
swift-proxy 1.4.8-0ubuntu2