[openstack-dev] [SWIFT] Delete Object imediately after PUT

Sumit Gaur sumitkgaur at gmail.com
Thu Apr 24 23:30:27 UTC 2014


Hi Gil,
below are the logs for imediate delete. I am getting 409 : conflict error.
I am getting no error in case I delay DELETE a bit. Also these errors are
coming for performance test (multiclient doing PUT-GET_GET cycle in loop)

*Client Node*
Request failed for objkey objkey19fbed5e-cb58-4a6d-b4fa-3b5768c7b615
 org.jclouds.http.HttpResponseException: command: DELETE
http://www.example.com:80/v2/AUTH_215c458021024a8c87471157a7040644/zoom82/objkey19fbed5e-cb58-4a6d-b4fa-3b5768c7b615HTTP/1.1
failed with response: HTTP/1.1 409 Conflict; content:
[<html><h1>Conflict</h1><p>There was a conflict when trying to complete
your request.</p></html>]

*Proxy Node *
Apr 23 12:00:27 proxy1 swift-proxy allow user with role admin as account
admin (txn: txe45b336b0ab44aee8a698-0053572ccb) (client_ip: 10.41.54.27)


*Storage Node*
Apr 23 12:00:26 object1 container-server 10.41.54.9 - -
[23/Apr/2014:03:00:26 +0000] "PUT
/vdb1/955/AUTH_215c458021024a8c87471157a7040644/zoom82/objkey19fbed5e-cb58-4a6d-b4fa-3b5768c7b615"
201 - "tx3ba78bc8924349d18f7af-0053572ccc" "PUT
http://www.example.com/vdb1/861/AUTH_215c458021024a8c87471157a7040644/zoom82/objkey19fbed5e-cb58-4a6d-b4fa-3b5768c7b615"
"obj-server 17908" 0.0006

Apr 23 12:00:26 object1 object-server 10.41.54.21 - - [23/Apr/2014:03:00:26
+0000] "PUT
/vdb1/861/AUTH_215c458021024a8c87471157a7040644/zoom82/objkey19fbed5e-cb58-4a6d-b4fa-3b5768c7b615"
201 - "PUT
http://www.example.com/v2/AUTH_215c458021024a8c87471157a7040644/zoom82/objkey19fbed5e-cb58-4a6d-b4fa-3b5768c7b615"
"tx3ba78bc8924349d18f7af-0053572ccc" "proxy-server 23927" 0.0113

Apr 23 12:00:26 object1 object-server 10.41.54.19 - - [23/Apr/2014:03:00:26
+0000] "DELETE
/vdb1/861/AUTH_215c458021024a8c87471157a7040644/zoom82/objkey19fbed5e-cb58-4a6d-b4fa-3b5768c7b615"
409 - "DELETE
http://www.example.com/v2/AUTH_215c458021024a8c87471157a7040644/zoom82/objkey19fbed5e-cb58-4a6d-b4fa-3b5768c7b615"
"txe45b336b0ab44aee8a698-0053572ccb" "proxy-server 10071" 0.0003


Thanks
sumit


On Thu, Apr 24, 2014 at 6:49 PM, Gil Vernik <GILV at il.ibm.com> wrote:

> What failures you saw?
> Can you please provide logs?
>
> Thanks,
> Gil.
>
>
>
>
> From:        Sumit Gaur <sumitkgaur at gmail.com>
> To:        "OpenStack Development Mailing List (not for usage questions)"
> <openstack-dev at lists.openstack.org>,
> Date:        24/04/2014 11:34 AM
> Subject:        [openstack-dev]  [SWIFT] Delete Object imediately after
> PUT
> ------------------------------
>
>
>
> Hi All,
> Is it not a correct use case to Delete a object just after Putting it. I
> saw failures from SWIFT in such scenerio. if it is not a valid scenerio
> please let me know Why ?
>
> Thank
> sumit_______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140425/68b99795/attachment.html>


More information about the OpenStack-dev mailing list