D21707: [XAttrIndexer] Update DocumentTime when XAttrs are updated

Stefan BrĂ¼ns noreply at phabricator.kde.org
Mon Jun 10 00:02:32 BST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190609/04026edd/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list