rdzidlic writes
The file has not been modified since years but apparently is reindexed on every run?
$ ll /mnt/xold-usr/src/redhat/ted-2.20-1.src.rpm
-rw-r--r--. 1 rz root 3810436 Jun 9 2009 /mnt/xold-usr/src/redhat/ted-2.20-1.src.rpm
:4:../rcldb/rcldb.cpp:1791:Db::needUpdate:yes: olsig [38104361244498503] new [38104361428578708] [Q/mnt/xold-usr/src/redhat/ted-2.20-1.src.rpm|]
:4:../internfile/internfile.cpp:161:FileInterner::init fn [/mnt/xold-usr/src/redhat/ted-2.20-1.src.rpm] mime [(null)] preview 0
:4:../utils/execmd.cpp:330:ExecCmd::startExec: (0|1) /usr/bin/file {-i} {/mnt/xold-usr/src/redhat/ted-2.20-1.src.rpm}
:4:../utils/execmd.cpp:683:ExecCmd::wait: got status 0x0
:4:../internfile/mimehandler.cpp:249:getMimeHandler: mtype [application/x-rpm] filtertypes 1
:4:../internfile/mimehandler.cpp:64:getMimeHandlerFromCache: b5b4fc86b06b0e2268fb247d01976123 cache size 32
:4:../internfile/mimehandler.cpp:77:getMimeHandlerFromCache: b5b4fc86b06b0e2268fb247d01976123 found size 31
:4:../internfile/internfile.cpp:223:FileInterner:: unprocessed mime: [application/x-rpm] [/mnt/xold-usr/src/redhat/ted-2.20-1.src.rpm]
:4:../internfile/internfile.cpp:248:FileInterner:: init ok application/x-rpm [/mnt/xold-usr/src/redhat/ted-2.20-1.src.rpm]
:4:../internfile/internfile.cpp:737:FileInterner::internfile. ipath []
:4:../internfile/internfile.cpp:647:FileInterner::addHandler: next_doc is text/plain target [text/plain]
:4:../internfile/mimehandler.cpp:98:returnMimeHandler: returning filter for application/x-rpm cache size 31
:4:../rcldb/rcldb.cpp:1249:Db::add: udi [/mnt/xold-usr/src/redhat/ted-2.20-1.src.rpm|] parent []
:3:../rcldb/rcldb.cpp:604:Db::add: docid 1089593 updated [/mnt/xold-usr/src/redhat/ted-2.20-1.src.rpm|]
rdzidlic writes
for some strange reason this did not happen again even though the file is still there and unchanged since 2009
medoc writes
Something did happen to the old file, the sigs are different (Recoll sigs are cdate concatenated with size). Maybe a chmod ? Anyway if all is well now, fine.
rdzidlic writes
must have been something like this.
$ stat /mnt/xold-usr/src/redhat/ted-2.20-1.src.rpm
File: ‘/mnt/xold-usr/src/redhat/ted-2.20-1.src.rpm’
Size: 3810436 Blocks: 7456 IO Block: 4096 regular file
Device: 806h/2054d Inode: 682780 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ rz) Gid: ( 0/ root)
Context: system_u:object_r:unlabeled_t:s0
Access: 2015-05-09 13:49:07.000000000 +0200
Modify: 2009-06-09 00:01:43.000000000 +0200
Change: 2015-04-09 13:25:08.000000000 +0200
Birth: -
But isn’t mtime more interesting than ctime for the calculation of signature?
medoc writes
Yes, and recoll used to use mtime, but this does not change with extended attributes modifications, so ctime is used.
rdzidlic writes
won’t that miss "simple" changes to the file?
medoc writes
No, both mtime and ctime are set by a data change.