Regarding object expirer service co-ordination

Asked by Mohammed Allauddin

Hi All,
   I have installed openstack on two nodes, and created few containers and uploaded few objects.
I have applied 'X-Delete-After: 900' header to all objects. Object expirer service is running
on all nodes.
        If object-expirer is running on both nodes, how does co-ordination happens between
object-expirer services for deletion of objects?. Will there be a conflict for deletion of these objects?

Regards,
Mohammed Allauddin

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
Samuel Merritt
Solved:
Last query:
Last reply:
Revision history for this message
Best Samuel Merritt (torgomatic) said :
#1

Object deletion is idempotent, so no, there won't be conflicts.

Revision history for this message
clayg (clay-gerrard) said :
#2

There won't be conflicts, but there might be duplicated effort if you don't set your concurrency settings correctly - it's basically a manual modulo system:

http://docs.openstack.org/developer/swift/overview_expiring_objects.html

Revision history for this message
Mohammed Allauddin (emailallau) said :
#3

Thanks Samuel Merritt, that solved my question.