Closed Bug 84531 Opened 23 years ago Closed 23 years ago

DNS: cache eviction count not always decremented

Categories

(Core :: Networking, defect, P3)

defect

Tracking

()

VERIFIED FIXED
mozilla0.9.7

People

(Reporter: gordon, Assigned: gordon)

References

Details

(Whiteboard: r=gagan, sr=darin)

Attachments

(1 file)

There is a case in nsDNSService::FindOrCreateLookup() where a lookup is removed from the eviction queue, but the count for the queue is not decremented. This results in the actually max queue length shortening to zero over time.
Attached patch Patch to fix eviction count. (deleted) — Splinter Review
Priority: -- → P3
Target Milestone: --- → mozilla0.9.2
Whiteboard: r=gagan
Whiteboard: r=gagan → r=gagan, sr=darin
a=dbaron for trunk checkin (on behalf of drivers). (http://bugzilla.mozilla.org/show_activity.cgi?id=84531 shows it has r= and sr=)
Blocks: 83989
Patch checked in. Marking FIXED.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Summary: dns cache eviction count not always decremented → DNS: cache eviction count not always decremented
not consistant...the count is very high compared to the number of entries
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
What platform did you see this on? What build?
milestone->0.9.7. cc'ing stummala, who never replied.
Target Milestone: mozilla0.9.2 → mozilla0.9.7
I am not the QA contact for this bug, i reopened this bug not even on CC list. Thanks Christopher for CCing me. I might have used the 08-01 build. I will reproduce this bug and give the build ID
After testing this a bit and examining the queue and queue count, I don't see any problem. Sivakiran, if you can explain how you determined the queue count was incorrect, and can reproduce the problem we can reopen this. Re-marking FIXED.
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: