tracker r2169 - branches/indexer-split
- From: carlosg svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2169 - branches/indexer-split
- Date: Wed, 27 Aug 2008 15:35:34 +0000 (UTC)
Author: carlosg
Date: Wed Aug 27 15:35:34 2008
New Revision: 2169
URL: http://svn.gnome.org/viewvc/tracker?rev=2169&view=rev
Log:
2008-08-27 Carlos Garnacho <carlos imendio com>
* src/libtracker-db/tracker-db-index.c (tracker_db_index_flush):
Protect agains reentrancy, return the number of actually flushed
items. Also, fail when adding if the cache is being flushed.
* src/tracker-indexer/tracker-indexer.c
(tracker_indexer_set_state_flags) (tracker_indexer_unset_state_flags)
(tracker_indexer_get_state_flags): There are several reasons why the
indexer would want to stop, and not all of them are relevant outside
TrackerIndexer. This internal API will stop the indexer if any of the
relevant flags is set.
(tracker_indexer_[gs]et_running): Use internally the
TRACKER_INDEXER_STATE_PAUSED flag.
(check_disk_space_cb): Use internally the
TRACKER_INDEXER_STATE_DISK_FULL flag.
(flush_data): Set the TRACKER_INDEXER_STATE_FLUSHING flag when
flushing, so the indexing is temporarily stopped.
Modified:
branches/indexer-split/ChangeLog
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]