Closed Bug 1794185 Opened 3 years ago Closed 3 years ago

"Get Next 500 Messages" does not work reliably in NNTP-JS

Categories

(MailNews Core :: Networking: NNTP, defect)

Thunderbird 102
defect

Tracking

(thunderbird_esr102 fixed, thunderbird106 affected)

RESOLVED FIXED
107 Branch
Tracking Status
thunderbird_esr102 --- fixed
thunderbird106 --- affected

People

(Reporter: b4, Assigned: rnons)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

Steps to reproduce:

Subscribe to alt.comp.software.thunderbird and retrieve the first 500 headers. Then use "Get Next 500 Messages" to get more headers.

Actual results:

Usually another 500 or up to 1000 headers are fetched, but then fetching stops. Switching to NNTP C++ reliably fetches all 6300+ headers eventually.

It's not reproducible 100%, the amount of messages fetched before the malfunction varies.

Expected results:

500 messages should have been fetched all the time.

Blocks: tb102found
Keywords: regression

Update nsIDBFolderInfo.knownArtsSet based on XOVER range, doesn't matter if artciles in the range don't exist on the server.

Assignee: nobody → remotenonsense
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

The problem is getLastMissingRange keeps returning the same missing range https://searchfox.org/comm-central/rev/0b0768b7a4c022316bb6d09e84677d5f9ffe6535/mailnews/news/src/NntpNewsGroup.jsm#85`

C: XOVER 5576-5577 
S: 224 No articles in 5576-5577
Regressed by: nntp-js
Target Milestone: --- → 107 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/dfc327877efc
Fix "Get Next n Messages" for nntp-js. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

[Approval Request Comment]
Regression caused by (bug #): nntp-js
User impact if declined: "Get Next N Messages" does not work in some cases
Testing completed (on c-c, etc.): beta
Risk to taking this patch (and alternatives if risky): low

Attachment #9300057 - Flags: approval-comm-esr102?

Comment on attachment 9300057 [details] [diff] [review]
1794185-esr102.patch

[Triage Comment]
Approved for esr102

Attachment #9300057 - Flags: approval-comm-esr102? → approval-comm-esr102+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: