Re: [Tracker] tracker index interruption



Tracker journals transactions a bit the same way a filesystem does.
When
it starts and sees it didn't shutdown cleanly, it will replay the
journal
to ensure DB consistency.

About invalid files, a file is considered valid as long as its metadata
are valid. So if you mp3 file has valid ID3 tags but is malformed, the
extractor won't notice.

Cheers

Adrien

On Tue, 25 May 2010 09:18:01 -0700 (PDT), Jackson Lawson
<jacksonlawson55 yahoo com> wrote:
what mean "replaying the journal"?

Does tracker validate the content of the file before indexing it. For
example, like there's an .mp3 file but it has
an invalid mpeg contents.



----- Original Message ----
From: Adrien Bustany <madcat mymadcat com>
To: Jackson Lawson <jacksonlawson55 yahoo com>
Cc: tracker-list gnome org
Sent: Mon, May 24, 2010 11:22:45 PM
Subject: Re: [Tracker] tracker index interruption

On Mon, 24 May 2010 10:39:43 -0700 (PDT), Jackson Lawson
<jacksonlawson55 yahoo com> wrote:
Hi,

i have seen tracker support journal for maintaining the state of its
indexing operation.I have one doubt, suppose tracker is writing state
for its indexing & suddenly there's power loss, then from here onwards
does tracker reindex the modules (the last indexed one) or it will
continue to index the untouched one

Regards,

Jackson





_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list

Hi Jackson

on restart Tracker will first replay the journal to ensure DB
consistency. The indexing
of files are done by the miners, which are independent processes. If
I'm right, the
filesystem miner will at startup crawl the indexed directories, and
check the mtimes of
each file to see if they need to be (re)indexed. The FS miner will have
to wait until
Tracker finishes replaying the journal before being able to insert
data.

Cheers

Adrien




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]