Storage: Fix comparison for client update-on-assign.

This commit is contained in:
Peter Johnson
2015-08-02 22:18:46 -07:00
parent 3b0eb56cf6
commit 5b65bfb64d

View File

@@ -134,7 +134,7 @@ void Storage::ProcessIncoming(std::shared_ptr<Message> msg,
// already exists; ignore if sequence number not higher than local
SequenceNumber seq_num(msg->seq_num_uid());
if (seq_num <= entry->seq_num) {
if (seq_num < entry->seq_num) {
if (may_need_update) {
auto queue_outgoing = m_queue_outgoing;
auto msg = Message::EntryUpdate(entry->id, entry->seq_num.value(),