Closed
Bug 1146698
Opened 10 years ago
Closed 10 years ago
Chat Messages added to logs just before shutdown may not be indexed by gloda
Categories
(Thunderbird :: Instant Messaging, defect)
Tracking
(thunderbird38- affected, thunderbird40 fixed, thunderbird_esr3841+ fixed)
RESOLVED
FIXED
Thunderbird 40.0
People
(Reporter: aleth, Assigned: aleth)
References
Details
Attachments
(1 file, 1 obsolete file)
3.31 KB,
patch
|
florian
:
review+
rkent
:
approval-comm-esr38+
|
Details | Diff | Splinter Review |
STR
Send a message and shutdown immediately.
The message is in the logs, but not added to the gloda index.
Updated•10 years ago
|
Summary: Messages added to logs just before shutdown may not be indexed by gloda → Chat Messages added to logs just before shutdown may not be indexed by gloda
Assignee | ||
Comment 1•10 years ago
|
||
Gloda forgets queued indexing jobs on shutdown.
On restart, the log is found on log sweep and an index is correctly scheduled with isNew = false.
However, it appears the gloda indexer does not find the previous entry to update it, as the glodaconv passed to grokNounItem doesn't have an id, in particular not the id of the existing entry.
I'm not sure if this was ever expected to work?
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(florian)
Comment 3•10 years ago
|
||
(In reply to aleth [:aleth] from comment #1)
> I'm not sure if this was ever expected to work?
Not sure either. I think we had to ship, so we didn't look too deep into corner cases.
Flags: needinfo?(florian)
Assignee | ||
Updated•10 years ago
|
status-thunderbird38:
--- → affected
tracking-thunderbird38:
--- → ?
Comment 4•10 years ago
|
||
I don't see any progress on this, we are not going to block on it, so removing tracking.
Assignee | ||
Comment 5•10 years ago
|
||
Comment 6•10 years ago
|
||
Comment on attachment 8600652 [details] [diff] [review]
getidfrompath.diff
Review of attachment 8600652 [details] [diff] [review]:
-----------------------------------------------------------------
Seems to do the trick. Thanks!
Attachment #8600652 -
Flags: review?(nhnt11) → review+
Assignee | ||
Updated•10 years ago
|
Attachment #8600652 -
Flags: review?(florian)
Assignee | ||
Comment 7•10 years ago
|
||
Works consistently also in the edge case of multiple nonempty result sets.
Attachment #8600652 -
Attachment is obsolete: true
Attachment #8600652 -
Flags: review?(florian)
Attachment #8600704 -
Flags: review?(florian)
Comment 8•10 years ago
|
||
Comment on attachment 8600704 [details] [diff] [review]
getidfrompath.diff v2
Review of attachment 8600704 [details] [diff] [review]:
-----------------------------------------------------------------
I won't pretend to fully understand all of this code today, but the patch (and the explanations I got on IRC) seem to make sense.
Attachment #8600704 -
Flags: review?(florian) → review+
Assignee | ||
Comment 9•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 40.0
Assignee | ||
Comment 10•10 years ago
|
||
Comment on attachment 8600704 [details] [diff] [review]
getidfrompath.diff v2
[Approval Request Comment]
User impact if declined: Incomplete gloda search results. It would be nice to have these gloda issues fixed from 38 onwards.
Testing completed (on c-c, etc.): Would be helpful if some more people could check their conversations are getting fully indexed now this has landed.
Attachment #8600704 -
Flags: approval-comm-beta?
Attachment #8600704 -
Flags: approval-comm-aurora?
Assignee | ||
Comment 11•10 years ago
|
||
Comment on attachment 8600704 [details] [diff] [review]
getidfrompath.diff v2
As per "testing" in comment 10, let's hold off on uplifting this one for a bit.
Attachment #8600704 -
Flags: approval-comm-beta?
Attachment #8600704 -
Flags: approval-comm-aurora?
Assignee | ||
Comment 12•9 years ago
|
||
Comment on attachment 8600704 [details] [diff] [review]
getidfrompath.diff v2
[Approval Request Comment]
User impact if declined: Incomplete gloda search results. It would be nice to have these gloda issues fixed from 38 onwards.
Testing completed (on c-c, etc.): Has been landed for a while now without further bug reports and verified fixed twice.
Attachment #8600704 -
Flags: approval-comm-esr38?
Comment 13•9 years ago
|
||
Comment on attachment 8600704 [details] [diff] [review]
getidfrompath.diff v2
https://hg.mozilla.org/releases/comm-esr38/rev/feb3c734a00d
Attachment #8600704 -
Flags: approval-comm-esr38? → approval-comm-esr38+
Updated•9 years ago
|
status-thunderbird40:
--- → fixed
status-thunderbird_esr38:
--- → fixed
tracking-thunderbird_esr38:
--- → 41+
You need to log in
before you can comment on or make changes to this bug.
Description
•