Closed
Bug 1481251
Opened 7 years ago
Closed 7 years ago
Optimize non-A/AAAA type DNS records
Categories
(Core :: Networking: DNS, enhancement, P1)
Tracking
()
RESOLVED
FIXED
mozilla64
People
(Reporter: dragana, Assigned: dragana)
References
Details
(Whiteboard: [necko-triaged])
Attachments
(2 files, 2 obsolete files)
No description provided.
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [necko-triaged]
| Assignee | ||
Comment 1•7 years ago
|
||
Also add some telemetry.
Comment 2•7 years ago
|
||
Comment on attachment 8999155 [details]
Bug 1481251 - Make 2 classes for A/AAAA and By-Type queries.r=mcmanus r=francois
François Marier [:francois] has approved the revision.
Attachment #8999155 -
Flags: review+
Updated•7 years ago
|
Attachment #8999155 -
Flags: review?(daniel)
What is a "ByType" ? If I understand this correctly, this patch separates the HostRecord class in two. One for addresses and one for (other) types. Is that right?
If that's correct, wouldn't "AddrHostRecord" and "TypeHostRecord" (or similar) be more suitable names? The "AAAAAHostRecord" name in particular reads very awkwardly to me.
Flags: needinfo?(dd.mozilla)
| Assignee | ||
Comment 4•7 years ago
|
||
(In reply to Daniel Stenberg [:bagder] from comment #3)
> What is a "ByType" ? If I understand this correctly, this patch separates
> the HostRecord class in two. One for addresses and one for (other) types. Is
> that right?
>
> If that's correct, wouldn't "AddrHostRecord" and "TypeHostRecord" (or
> similar) be more suitable names? The "AAAAAHostRecord" name in particular
> reads very awkwardly to me.
In bug 1473736 I have added AsyncResolveByType function that queries dns (works only with TRR) for a type that is given as the second parameter of the function. That can be any type like TXT.
AAAAAHostRecord is out original A/AAAA query (this should not have been changed at all)
and byTypeHostRecord is a result of the AsyncResolveByType query and is only an array of strings(not parsed). Currently we only support TXT by-type queries.
I named it AAAAA from A/AAAAA, but you are right AddrHostREcord is better. I will rename it.
(THere may be a bug if we add (in the future) support for A or AAAA by-type query. I will take a look at that and fix it in bug 1473736)
Flags: needinfo?(dd.mozilla)
| Assignee | ||
Comment 5•7 years ago
|
||
Attachment #9002115 -
Flags: review?(francois)
Updated•7 years ago
|
Attachment #8999155 -
Attachment is obsolete: true
Attachment #8999155 -
Flags: review?(daniel)
Comment 6•7 years ago
|
||
Comment on attachment 9002115 [details]
bug_1481251_tele_request.txt
> 4) Can current instrumentation answer these questions?
I suspect the answer is "no", but please add it to the request.
> 8) If this data collection is default on, what is the opt-out mechanism for users?
There _is_ an opt-out mechanism for users: turning off telemetry.
Attachment #9002115 -
Flags: review?(francois) → review-
| Assignee | ||
Comment 7•7 years ago
|
||
Split nsHostRecord into AddrHostRecord and TypeHostRecord for standard address dns queries and queries by-type.
| Assignee | ||
Comment 8•7 years ago
|
||
Attachment #9002115 -
Attachment is obsolete: true
Attachment #9009876 -
Flags: review?(francois)
Comment on attachment 9009875 [details]
Bug 1481251 - Optimize non-A/AAAA type DNS records. r=bagder
Daniel Stenberg [:bagder] has approved the revision.
Attachment #9009875 -
Flags: review+
Comment 10•7 years ago
|
||
Comment on attachment 9009876 [details]
bug_1481251_tele_request.txt
1) Is there or will there be **documentation** that describes the schema for the ultimate data set available publicly, complete and accurate?
Yes, in Histograms.json.
2) Is there a control mechanism that allows the user to turn the data collection on and off?
Yes, telemetry setting.
3) If the request is for permanent data collection, is there someone who will monitor the data over time?**
Yes, Dragana?
4) Using the **[category system of data types](https://wiki.mozilla.org/Firefox/Data_Collection)** on the Mozilla wiki, what collection type of data do the requested measurements fall under? **
Category 1.
5) Is the data collection request for default-on or default-off?
Default ON, all channels.
6) Does the instrumentation include the addition of **any *new* identifiers** (whether anonymous or otherwise; e.g., username, random IDs, etc. See the appendix for more details)?
No.
7) Is the data collection covered by the existing Firefox privacy notice?
Yes.
8) Does there need to be a check-in in the future to determine whether to renew the data?
No, permanent.
Attachment #9009876 -
Flags: review?(francois) → review+
| Assignee | ||
Comment 11•7 years ago
|
||
(In reply to François Marier [:francois] from comment #10)
> Comment on attachment 9009876 [details]
> bug_1481251_tele_request.txt
>
> 1) Is there or will there be **documentation** that describes the schema for
> the ultimate data set available publicly, complete and accurate?
>
> Yes, in Histograms.json.
>
> 2) Is there a control mechanism that allows the user to turn the data
> collection on and off?
>
> Yes, telemetry setting.
>
> 3) If the request is for permanent data collection, is there someone who
> will monitor the data over time?**
>
> Yes, Dragana?
>
Yes, I will monitor the data.
| Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Comment 12•7 years ago
|
||
Pushed by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/72d92155fb64
Optimize non-A/AAAA type DNS records. r=bagder
Keywords: checkin-needed
Comment 13•7 years ago
|
||
Backed out changeset 72d92155fb64 (Bug 1481251) for bc assertion failures in /obj-firefox/dist/include/mozilla/TimeStamp.h.
Backout: https://hg.mozilla.org/integration/autoland/rev/d58b290f0bd7177bb8c23c28504890025a1515ea
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=pending,running,success,testfailed,busted,exception&revision=72d92155fb642884e7295ca9be6923f8f75d30b3&selectedJob=201830045
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=201830045&repo=autoland&lineNumber=17038
Flags: needinfo?(dd.mozilla)
| Assignee | ||
Comment 14•7 years ago
|
||
It was typo :) I have fix the test. Thanks.
Flags: needinfo?(dd.mozilla)
| Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Comment 15•7 years ago
|
||
Pushed by ebalazs@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ab11bd42e90c
Optimize non-A/AAAA type DNS records. r=bagder
Keywords: checkin-needed
Comment 16•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Updated•7 years ago
|
QA Contact: jduell.mcbugs
Updated•7 years ago
|
QA Contact: jduell.mcbugs
You need to log in
before you can comment on or make changes to this bug.
Description
•