Closed
Bug 517256
Opened 15 years ago
Closed 15 years ago
Autosync sometimes quits
Categories
(MailNews Core :: Networking: IMAP, defect)
MailNews Core
Networking: IMAP
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0rc1
People
(Reporter: davida, Assigned: Bienvenu)
References
Details
(Keywords: qawanted, Whiteboard: [no l10n impact])
Attachments
(3 files, 2 obsolete files)
391.98 KB,
text/plain
|
Details | |
17.02 KB,
patch
|
standard8
:
review+
standard8
:
superreview+
|
Details | Diff | Splinter Review |
7.08 KB,
patch
|
standard8
:
review+
standard8
:
superreview+
|
Details | Diff | Splinter Review |
I'm finding that autosync fails after a while, and never recovers. I have captured some IMAP logs, that I'll share with bienvenu when he's back. If it's frequent enough (and doesn't just happen to me), I fear this may need to block.
Flags: blocking-thunderbird3?
Reporter | ||
Updated•15 years ago
|
Whiteboard: [no l10n impact]
Reporter | ||
Comment 1•15 years ago
|
||
BTW: The way I can tell is that I use glodaQuilla, and show the "onDisk" column, which shows a green dot for downloaded messages. When autosync works, those green dots show up quickly (on an IDLE-enabled IMAP server). When autosync fails (my diagnosis, so...), the green dots stay sad, small, and grey. I'd love to hear from others about their autosync experience.
Comment 2•15 years ago
|
||
(In reply to comment #1) > BTW: The way I can tell is that I use glodaQuilla, and show the "onDisk" > column, which shows a green dot for downloaded messages. When autosync works, > those green dots show up quickly (on an IDLE-enabled IMAP server). When > autosync fails (my diagnosis, so...), the green dots stay sad, small, and grey. > > I'd love to hear from others about their autosync experience. I get this too. Most often when I'm composing a message and something happens in the background (new mail or otherwise). This must have occurred post b3, as I only noticed it in the past few weeks.
Comment 3•15 years ago
|
||
and also like to add that i could tell from using Glodaquilla - kudos to Wayne for letting me know about its usefulness. ;-)
Reporter | ||
Comment 4•15 years ago
|
||
As I'm not the only one...
Flags: blocking-thunderbird3? → blocking-thunderbird3+
Comment 5•15 years ago
|
||
related to imap copy/move? everything in my incoming bugmail folder is on disk. but stuff in at least two folders, that only get messages from that folder by me doing d&d, have many messages not on disk.
Reporter | ||
Comment 6•15 years ago
|
||
the tail end is where there's interesting stuff, i suspect.
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → bienvenu
Status: NEW → ASSIGNED
Assignee | ||
Comment 7•15 years ago
|
||
This patch adds an PRLog module, ImapAutoSync, and fixes an issue where deleted messages could end up in the download q, with a size of 0. It has some other unrelated wip stuff - I'm mostly attaching it for davida to try out. I haven't verified that logging works in release mode, though I think it should.
Assignee | ||
Comment 8•15 years ago
|
||
Turns out this patch doesn't fix the size 0 issue...
Assignee | ||
Comment 9•15 years ago
|
||
this makes auto sync logging a pr log module so release builds can do logging, and does a bit of cleanup of the queue, but I doubt it fixes the underlying problem. It should help diagnose the underlying problem, which is why I'd like to land it relatively soon.
Attachment #403027 -
Attachment is obsolete: true
Attachment #403104 -
Flags: superreview?(bugzilla)
Attachment #403104 -
Flags: review?(bugzilla)
Updated•15 years ago
|
Attachment #403104 -
Flags: superreview?(bugzilla)
Attachment #403104 -
Flags: superreview+
Attachment #403104 -
Flags: review?(bugzilla)
Attachment #403104 -
Flags: review+
Assignee | ||
Updated•15 years ago
|
Attachment #403104 -
Attachment description: add a bit of logging, clean out deleted messages from queue → add a bit of logging, clean out deleted messages from queue - checked in, with an other change I had, don''t try to autosync no select folders
Assignee | ||
Comment 10•15 years ago
|
||
what I see from logging and a little debugging is that folders are put into the download q, and we figure out which messages to download, but they're not always put into the priority queue, and thus don't get downloaded on idle. It may be that we haven't updated the folder and thus downloaded new headers - I'm not quite sure how all these different queues work.
Assignee | ||
Comment 11•15 years ago
|
||
the code seems backwards - with this patch, we download folders once we detect they have new headers, which seems to be the desired behavior, at least to me.
Assignee | ||
Comment 12•15 years ago
|
||
I'm thinking that state check just needs to go away...but I'm still trying to understand the code.
Assignee | ||
Comment 13•15 years ago
|
||
This relaxes the auto sync state checking completely...
Attachment #404327 -
Attachment is obsolete: true
Assignee | ||
Comment 14•15 years ago
|
||
Comment on attachment 404605 [details] [diff] [review] an other possible fix davida hasn't had issues w/ this patch so far. Besides removing the restriction on when we'll download for autosync, I also removed the silly log statement where we add 0 messages to the queue. And I added logging about the sync state transitions, and made all the code that wants to change the state go through the setter, so it'll get logged.
Attachment #404605 -
Flags: superreview?(bugzilla)
Attachment #404605 -
Flags: review?(bugzilla)
Assignee | ||
Updated•15 years ago
|
Whiteboard: [no l10n impact] → [no l10n impact][has patch for r/sr standard8]
Updated•15 years ago
|
Attachment #404605 -
Flags: superreview?(bugzilla)
Attachment #404605 -
Flags: superreview+
Attachment #404605 -
Flags: review?(bugzilla)
Attachment #404605 -
Flags: review+
Updated•15 years ago
|
Whiteboard: [no l10n impact][has patch for r/sr standard8] → [no l10n impact][ready to land]
Target Milestone: --- → Thunderbird 3.0rc1
Assignee | ||
Comment 15•15 years ago
|
||
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [no l10n impact][ready to land] → [no l10n impact]
You need to log in
before you can comment on or make changes to this bug.
Description
•