1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<h1 align="center">
Fossil Repository Integrity Self-Checks
</h1>
<p>
Even though fossil is a relatively new project and still contains
many bugs, it is designed with features to give it a high level
of integrity so that you can have confidence that you will not
lose your files. This note describes the defensive measures that
fossil uses to help prevent file loss due to bugs.
</p>
<p><i>Follow-up as of 2007-11-24:</i>
Fossil has been hosting itself and several other projects for
months now. Many bugs have been encountered. But, thanks in large
part to the defensive measures described here, no data has been
lost. The integrity checks are doing their job well.</p>
<h2>Atomic Check-ins With Rollback</h2>
<p>
The fossil repository is an
<a href="http://www.sqlite.org/">SQLite version 3</a> database file.
SQLite is very mature and stable and has been in wide-spread use for many
years, so we have little worries that it might cause repository
corruption. SQLite
databases do not corrupt even if a program or system crash or power
failure occurs in the middle of the update. If some kind of crash
does occur in the middle of a change, then all the changes are rolled
back the next time that the database is accessed.
</p>
|
>
>
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<nowiki>
<h1 align="center">
Fossil Repository Integrity Self-Checks
</h1>
<p>
Even though fossil is a relatively new project and still contains
many bugs, it is designed with features to give it a high level
of integrity so that you can have confidence that you will not
lose your files. This note describes the defensive measures that
fossil uses to help prevent file loss due to bugs.
</p>
<p><i>Follow-up as of 2007-11-24:</i>
<i>Reiterated on 2008-05-16:</i>
Fossil has been hosting itself and many other projects for
months now. Many bugs have been encountered. But, thanks in large
part to the defensive measures described here, no data has been
lost. The integrity checks are doing their job well.</p>
<h2>Atomic Check-ins With Rollback</h2>
<p>
The fossil repository is an
<a href="http://www.sqlite.org/">SQLite version 3</a> database file.
SQLite is very mature and stable and has been in wide-spread use for many
years, so we are confident it will not cause repository
corruption. SQLite
databases do not corrupt even if a program or system crash or power
failure occurs in the middle of the update. If some kind of crash
does occur in the middle of a change, then all the changes are rolled
back the next time that the database is accessed.
</p>
|