On Mon, Apr 30, 2012 at 5:31 AM, Richard Hipp <d...@sqlite.org> wrote:
> On Mon, Apr 30, 2012 at 8:17 AM, Leo Razoumov <slonik...@gmail.com> wrote: > >> On Sat, Apr 28, 2012 at 09:34, Richard Hipp <d...@sqlite.org> wrote: >> > [snip] > I think this means that every time one accesses a repository via >> cg-bin the repository updates the "baseurl:..." entry. This would make >> rsync based replication/backup scripts go nuts (they depend on >> timestamps and checksums). >> > > No. The entry is only updated if it does not previously exist or if the > database file was changing for some other reason. > > Note that the database already gets updated every time somebody signs in. > And Fossil uses the database as a cache in some circumstances, so already > many if not most CGI accesses already write to the database file. This has > been the case for ages. > > Note that rsync only transmits the differences between two files, so > making small changes to one table is not going to seriously impact rsync > performance. The www.fossil-scm.org website is backed up using rsync. > > And, really, "fossil sync" is a better backup of repositories than "rsync" > anyhow. > Ok, since the *only* time the fossil db is modified is on "fossil open" then the impact here is less than my first impression. The only request I have is that should the db being "opened" be read-only that a warning is issued and the open proceeds normally. This means that in those situations where it is needed to open a db that is read-only no extra steps are required but if someone mistakenly opens a read-only db then they get a nice big WARNING. Would it be better to have a configuration settings "track-access" >> (on/off) and "track-ckout" (on/off) to allow a user to selectively >> enable/disable new behavior according to his/her needs? >> >> --Leo-- >> > > > > -- > D. Richard Hipp > d...@sqlite.org > > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > >
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users