Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

When re-syncing device lists reset the state #4829

Merged
merged 2 commits into from
Mar 8, 2019

Conversation

erikjohnston
Copy link
Member

@erikjohnston erikjohnston commented Mar 7, 2019

We keep track of what stream IDs we've seen so that we know what updates
we've handled or missed. If we re-sync we don't know if the updates
we've seen are included in the re-sync (there may be a race), so we
should reset the seen updates.

Potentially helps #4827

We keep track of what stream IDs we've seen so that we know what updates
we've handled or missed. If we re-sync we don't know if the updates
we've seen are included in the re-sync (there may be a race), so we
should reset the seen updates.
@erikjohnston erikjohnston requested a review from a team March 7, 2019 16:17
@codecov
Copy link

codecov bot commented Mar 7, 2019

Codecov Report

Merging #4829 into develop will decrease coverage by 0.02%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #4829      +/-   ##
===========================================
- Coverage    75.33%   75.31%   -0.03%     
===========================================
  Files          340      340              
  Lines        34878    34879       +1     
  Branches      5705     5705              
===========================================
- Hits         26276    26268       -8     
- Misses        6991     6999       +8     
- Partials      1611     1612       +1

Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@erikjohnston erikjohnston merged commit 469b66c into develop Mar 8, 2019
@erikjohnston erikjohnston deleted the erikj/device_list_seen_updates branch January 9, 2020 15:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants