Skip to content

Synchronize created time for incoming and outgoing queries#709

Merged
bdraco merged 1 commit into
python-zeroconf:masterfrom
bdraco:created_time_records
Jun 17, 2021
Merged

Synchronize created time for incoming and outgoing queries#709
bdraco merged 1 commit into
python-zeroconf:masterfrom
bdraco:created_time_records

Conversation

@bdraco
Copy link
Copy Markdown
Member

@bdraco bdraco commented Jun 17, 2021

  • The created time would differ by a few ms for records, these
    should all be the same in each packet to reduce unexpected
    inconsistency

  • Records received in the same response MUST be subject to fate
    sharing. Its possible we could end up expiring part of the unique
    record set because one of the addresses is a few ms older.

Fixes #700

@bdraco bdraco force-pushed the created_time_records branch 2 times, most recently from c07bb64 to ae9877d Compare June 17, 2021 20:51
- The created time would differ by a few ms for records, these
  should all be the same in each packet to reduce unexpected
  inconsistency

- Records received in the same response MUST be subject to fate
  sharing.  Its possible we could end up expiring part of the unique
  record set because one of the addresses is a few ms older.

Fixes python-zeroconf#700
@bdraco bdraco force-pushed the created_time_records branch from ae9877d to ada4280 Compare June 17, 2021 20:55
@bdraco
Copy link
Copy Markdown
Member Author

bdraco commented Jun 17, 2021

Looks good

Screen Shot 2021-06-17 at 11 13 25 AM

@bdraco bdraco merged commit c366c8c into python-zeroconf:master Jun 17, 2021
@bdraco bdraco deleted the created_time_records branch June 17, 2021 21:13
bdraco added a commit to bdraco/python-zeroconf that referenced this pull request Jun 17, 2021
Followup to python-zeroconf#709 for missed locations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Time is fetched once per received or sent record

1 participant