Comment 18 for bug 1578436

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/20014
Committed: http://github.org/Juniper/contrail-controller/commit/81408ebad041e2cc24357d50669ba95a603ac1c4
Submitter: Zuul
Branch: R3.0

commit 81408ebad041e2cc24357d50669ba95a603ac1c4
Author: Tapan Karwa <email address hidden>
Date: Thu May 5 16:35:36 2016 -0700

Add sequence number support for update queue

Add sequence number support for update queue and show it in introspect. Add
test cases for each API in the update queue class.

The sequence number is 64bits and starts at 1. Each new addition to the end of
the queue gets the next incremented value. If an item is inserted at a non-end
position (which happens only with markers), it gets the sequence number of its
successor, if one exists; else it gets the next incremented value.

Change-Id: I0f9c6a4614d1644e8acf5c05669214d8f63a54e9
Closes-Bug: #1578436
(cherry picked from commit 2af1a8ed4468e4c5e2af6f9e4f8735f9c99884a1)