https://bugs.kde.org/show_bug.cgi?id=471289

            Bug ID: 471289
           Summary: automount/x-systemd-automount nfs resource changes
                    inode on every mount and so reindexes is triggered
    Classification: Frameworks and Libraries
           Product: frameworks-baloo
           Version: 5.102.0
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: Engine
          Assignee: baloo-bugs-n...@kde.org
          Reporter: diego.ercol...@gmail.com
  Target Milestone: ---

I have a situation where I want to index files that are published via an nfs
resource published by a truenas appliance.
In the log file every day a reindex of resources already indexed is triggered
by baloo, this give two drawbacks:

1. the index file size is exploding
2. the reindex is triggered without a "real" need.

This is what I' talking about:
New reindex triggered, after a file is correctly reindexed:

diego@pc-diego:~: balooshow -x "/net/fileserver4/Segreteria/XXXX.pdf"
1879000000fb 251 6265 /net/fileserver4/Segreteria/XXXX.pdf
        Mtime: 1583398981 2020-03-05T10:03:01
        Ctime: 1672915819 2023-01-05T11:50:19
        Cached properties:
                Autore: xxx.yyy
                Titolo: Spett
                Documento generato da: Microsoft® Word 2016
                Conto delle pagine: 1
                Data di creazione: 2020-03-05T09:03:01.000Z

Informazioni interne
Termini: x x x x
pageCount: 1
generator: 2016 microsoft word ®
author: xxx yyy
title: spett
creationDate: 2020-03-05T09:03:01Z

After a while, the directory is unmounted by systemd
if a ask baloo again:
diego@pc-diego:~: balooshow -x "/net/fileserver4/Segreteria/XXXX.pdf"
18790010000c 1048588 6265 /net/fileserver4/Segreteria/XXXX.pdf: nessuna
informazione trovata nell'indice

that is telling that baloo has completely forget the file
but if I issue:
baloosearch -i "XXXX.pdf"
baloo found correctly:
187900000084 /net/fileserver4/Segreteria/XXXX.pdf
187900100010 /net/fileserver4/Segreteria/XXXX.pdf
18790010000f /net/fileserver4/Segreteria/XXXX.pdf
1879000000fb /net/fileserver4/Segreteria/XXXX.pdf
1879000000eb /net/fileserver4/Segreteria/XXXX.pdf
1879000000d8 /net/fileserver4/Segreteria/XXXX.pdf
1879000000d4 /net/fileserver4/Segreteria/XXXX.pdf
1879000000d3 /net/fileserver4/Segreteria/XXXX.pdf
1879000000c0 /net/fileserver4/Segreteria/XXXX.pdf

but, as you see, it found also other "id"

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to