bruns created this revision. bruns added reviewers: Baloo, ngraham, astippich, poboiko. Herald added projects: Frameworks, Baloo. Herald added a subscriber: kde-frameworks-devel. bruns requested review of this revision.
REVISION SUMMARY After modifying a files attributes (like ownership, permissions, tags, ...) the timestamp in the DB would be different to the filesystem timestamp. The change would only be picked up on next login by the UnindexedFileIndexer. Also update the FileNameTerms and DocumentUrl, as renames also change the ctime. As the WriteTransaction checks for changes, setting the flags in excess is cheap, but avoids getting the filename out of sync. Depends on D21694 <https://phabricator.kde.org/D21694> REPOSITORY R293 Baloo BRANCH fix_races REVISION DETAIL https://phabricator.kde.org/D21707 AFFECTED FILES src/engine/documenturldb.h src/file/xattrindexer.cpp To: bruns, #baloo, ngraham, astippich, poboiko Cc: kde-frameworks-devel, LeGast00n, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams