If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

When Gloda (Indexing) is deactivated, automatically reset/empty its global-messages-db.sqlite

UNCONFIRMED
Unassigned

Status

MailNews Core
Database
--
enhancement
UNCONFIRMED
8 years ago
2 years ago

People

(Reporter: dfghjkjhg, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
User-Agent:       
Build Identifier: 

When Gloda (Indexing) is de-activated, automatically reset/empty its global-messages-db.sqlite in order to release hard disk space.

Currently when gloda/indexing is disabled, the global-messages-db.sqlite remains in the profile folder forever filled with obsolete data.

Reproducible: Always

Comment 1

8 years ago
This an interesting idea. But there are a few things to be adressed:
- Should it at the same time prompt regarding imap auto sync?
- Some people, testers for example, will not want the db deleted when disabling indexing
Severity: normal → enhancement
OS: Windows Vista → All
Component: Search → Database
Product: Thunderbird → MailNews Core
QA Contact: search → database

Comment 2

8 years ago
(In reply to comment #1)
> - Should it at the same time prompt regarding imap auto sync?

Probably only if the user decided to use IMAP synchronization. I think there is also a bug pending somewhere to automatically switch to server-side searches if the user decides to disable indexing.

> - Some people, testers for example, will not want the db deleted when disabling
> indexing

Yeah, this could/should have a prompt ("do you really?") before removing the index file. Reindexing takes considerable resources, thus it shouldn't be removed automatically if the user wants to only temporarily switch it off.
Duplicate of this bug: 555333

Comment 4

8 years ago
(In reply to comment #2)
> also a bug pending somewhere to automatically switch to server-side searches if
> the user decides to disable indexing.

That's bug 543416, at least in part (relates to offline synchronization, but the same applies to indexing switched off for message-body searches).
Removing myslef on all the bugs I'm cced on. Please NI me if you need something on MailNews Core bugs from me.
You need to log in before you can comment on or make changes to this bug.