[Xapian-tickets] [Xapian] #632: ACL support for omindex
Xapian
nobody at xapian.org
Sat Mar 22 20:16:03 GMT 2014
#632: ACL support for omindex
-------------------------+-------------------------
Reporter: egarette | Owner: olly
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Other | Version:
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
-------------------------+-------------------------
\
\
\
\
\
\
Comment (by egarette):
Replying to [comment:1 olly]:
> The change from mtime to ctime will mean that the "last modified" time
reported in the Omega UI will now in general not actually be the last time
the contents of the file were changed.
>
> I'm also slightly concerned that the mtime -> ctime change will result
in reindexing files in many more cases - e.g. if I tar up a file tree and
Xapian database and untar it on another machine (as a non-privileged
user), the mtimes are preserved but the ctimes change. So this change
would mean that omindex would have to reindex every document in this case
(and without root access, I don't think one can avoid that).
>
> I think we probably need to store the ctime separately (so lastmod still
works as before) and make whether ctime or mtime is used for reindexing an
option, or else find a better way to know when ACLs have changed - perhaps
only checking the ACL for changes if the ctime has changed but the mtime
hasn't.
Ok, I'll remove this part of my patch and open a new ticket. It's more
complicated than I had anticipated.
\
\
\
--
Ticket URL: <http://trac.xapian.org/ticket/632#comment:4>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list