'Issue a delete object request to the container for the misplaced
object queue entry.
:param container: the misplaced objects container
:param obj: the name of the misplaced object
:param q_ts: the timestamp of the misplaced object
:param q_record: the timestamp of the queue entry
N.B. q_ts will normally be the same time as q_record except when
an object was manually re-enqued.'

def pop_queue(self, container, obj, q_ts, q_record):

    q_path = ('/%s/%s/%s' % (MISPLACED_OBJECTS_ACCOUNT, container, obj))
    x_timestamp = slightly_later_timestamp(max(q_record, q_ts))
    self.stats_log('pop_queue', 'remove    %r    (%f)    from    the    queue    (%s)', q_path, q_ts, x_timestamp)
    headers = {'X-Timestamp': x_timestamp}
    direct_delete_container_entry(self.swift.container_ring, MISPLACED_OBJECTS_ACCOUNT, container, obj, headers=headers)
