Differences From:
File
src/schema.c
part of check-in
[4c82c7773f]
- Fix some annoyances with "merge". This involves a schema change
to the _FOSSIL_ file. Older versions will continue to work, but
it would make since to "close" and "open" local source tree after
updating to this version of fossil, in order to update the schema.
by
drh on
2007-08-30 20:27:14.
[view]
To:
File
src/schema.c
part of check-in
[48c4e69d2b]
- Cluster-based synchronization appears to be working.
by
drh on
2007-09-09 17:51:16.
Also file
src/schema.c
part of check-in
[bbcb6326c9]
- Pulled in the navbar and timeline changes.
by
aku on
2007-09-17 00:58:51.
[view]
@@ -163,11 +163,33 @@
@ );
@ CREATE INDEX event_i1 ON event(mtime);
@ CREATE INDEX event_i2 ON event(objid);
@
-@ -- A record of phantoms
+@ -- A record of phantoms. A phantom is a record for which we know the
+@ -- UUID but we do not (yet) know the file content.
@ --
@ CREATE TABLE phantom(
+@ rid INTEGER PRIMARY KEY -- Record ID of the phantom
+@ );
+@
+@ -- Unclustered records. An unclustered record is a record (including
+@ -- a cluster records themselves) that is not mentioned by some other
+@ -- cluster.
+@ --
+@ -- Phantoms are usually included in the unclustered table. A new cluster
+@ -- will never be created that contains a phantom. But another repository
+@ -- might send us a cluster that contains entries that are phantoms to
+@ -- us.
+@ --
+@ CREATE TABLE unclustered(
+@ rid INTEGER PRIMARY KEY -- Record ID of the unclustered file
+@ );
+@
+@ -- Records which have never been pushed to another server. This is
+@ -- used to reduce push operations to a single HTTP request in the
+@ -- common case when one repository only talks to a single server.
+@ --
+@ CREATE TABLE unsent(
@ rid INTEGER PRIMARY KEY -- Record ID of the phantom
@ );
@
@ -- Aggregated ticket information