1 2008-07-26 Andreas J. Koenig <andreas.koenig.7os6VVqR@franz.ak.mind.de>
3 * it just occurred to me that mirroring hosts can help out each other
4 even without rewriting the recentfile. Just fetch the stuff to mirror
5 from several places, bingo. But that's something that should rather live
6 in a separate package or in rsync directly.
8 * cronjobs are unsuited because with ntp they would all come at the full
9 minute and disturb each other. Besides that I'd hate to have a backbone
10 with more than a few seconds latency.
12 2008-07-25 Andreas J. Koenig <andreas.koenig.7os6VVqR@franz.ak.mind.de>
14 * a second rsync server with access control for PAUSE
16 * if there were a filesystem based on this, it would have a slow access
17 to inexistent files. It would probably provide wrong readdir (only based
18 on current content) or also a slow one (based on a recentfile written
19 after the call). But it would provide fast access to existing files. Or
20 one would deliberately allow slightly blurred answers based on some
21 sqlite reflection of the recentfiles.
23 * todo: write a variant of mirror() that combines two or more
24 recentfiles and treats them like one
26 * todo: signal handler to remove the tempfile
28 2008-07-24 Andreas J. Koenig <andreas.koenig.7os6VVqR@franz.ak.mind.de>
30 * now that we have the symlink I forgot how it should be used in
33 * the z loop: add missing files to Z file. Just append them (instead of
34 prepending). So one guy prepends something from the Y file from time to
35 time and another guy appends something rather frequently. Collecting
36 pond. When Y merges into Z, things get epoch and the collecting pond
37 gets smaller. What exactly are "missing files"?
39 take note of current epoch of the alpha file, let's call it the
42 find all files on disk
44 remove all files registered in the recentworld up to recent-ts
46 remove all files that have been deleted after recent-ts according to
49 2008-07-23 Andreas J. Koenig <andreas.koenig.7os6VVqR@franz.ak.mind.de>
51 * rersyncrecent might be a cronjob with a (locked) state file which
52 contains things like after and maybe last z sync or such?
54 rrr-mirror might be an alternative name but how would we justify the
55 three Rs when there is no Re-Rsync-Recent?
57 With the --loop parameter it is an endless loop, without it is no loop.
58 At least this is simple.
60 * todo: new accssor z-interval specifies how often the Z file is updated
61 against the filesystem. We probably want no epoch stamp on these
62 entries. And we want to be able to filter the entries (e.g. no
63 by-modules and by-category tree)
65 2008-07-20 Andreas J. Koenig <andreas.koenig.7os6VVqR@franz.ak.mind.de>
67 * Fill the Z file. gc or fsck or both. Somehow we must get the old files
68 into Z. We do not need the other files filled up with filesystem
71 * need interface to query for a file in order to NOT call update on
72 PAUSE a second time within a short time.
74 2008-07-19 Andreas J. Koenig <andreas.koenig.7os6VVqR@franz.ak.mind.de>
76 * recommended update interval? Makes no sense, is different for
83 change-log-default-name: "Todo"