Re: [Tracker] [PATCH] "Daemonize" metadata extractor



Hi!,

On Tue, 2008-03-04 at 10:36 -0500, Jamie McCracken wrote:
<snip>
bear in mind tracker is a differential indexer so when indexing a new
file we need all the metadata before saving it - we must not index
partially and then complete later on as thats inefficient with our
design and would prolong the sqlite transactions which would prevent
searches from running

It would make things a lot more complex unless I have misunderstood your
plans?

The extractor pool code could be modified to attach data to a path, so
tracker could attach there all the other data, and insert everything
altogether in the DB when the metadata has been extracted.

Dealing with beginning/ending transactions would be a bit more complex I
guess, I'd have to investigate further about that.

Regards,
   Carlos





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