Comment 10 for bug 1741767

Revision history for this message
In , Carlo Vanini (silhusk) wrote :

Git commit e4f2a1f79741c930802acab7150fa6b96240bed6 by Carlo Vanini.
Committed on 22/02/2018 at 09:27.
Pushed by vanini into branch 'master'.

Do not check status file for timestamp

Summary:
Update-apt-xapian-index is organised in plugins, each representing a
data source for the index. Each of them reports a timestamp of the
latest change, and the updated index takes the maximum of them as its
own timestamp.

We were checking the time of `Dir::State::status`
(`/var/lib/dpkg/status`), which is not used in any plugin. When it was
newer than all data sources, we would continuously see the index as out
of date.

Reviewers: sitter

Reviewed By: sitter

Differential Revision: https://phabricator.kde.org/D10715

M +1 -8 src/backend.cpp

https://commits.kde.org/libqapt/e4f2a1f79741c930802acab7150fa6b96240bed6