Repository navigation
Cairn 0.1.15
A smaller and faster server database, each revision kept once in binary, about a quarter of the size, the same on the wire; a device that joins with other file modes writes one note naming every file rather than one note each; and Recently deleted opens at once.
This is early software. Keep another copy of anything you put through it.
Linux (x86_64, static):
sha256sum -c cairn-0.1.15-x86_64-unknown-linux-musl.tar.gz.sha256
tar xzf cairn-0.1.15-x86_64-unknown-linux-musl.tar.gz
macOS: unpack both .app.tar.gz into ~/Applications; README.md has the launchd agent for Cairn Sync.app. Windows: put cairn-0.1.15-windows-x86_64.exe and cairn-tray-0.1.15-windows-x86_64.exe in a folder of their own as cairn.exe and cairn-tray.exe. cairn-0.1.15-linux-x86_64 is the bare Linux program, which installed copies update to. update.json is the signed list of this release's files that every installed copy checks.
The server has changed in this release: upgrade it before the clients.
Changes in 0.1.15
Changed:
- The server keeps each revision's body once, as a binary record, where it kept it twice as JSON: in the
commit and again in the table of revisions. Its database is schema 4, about a quarter of the size (a real
one, 1.3 GB, became 361 MB), and reading it is a little faster. What it sends is the same, byte for byte.
A server of this release moves a database of schema 3 when it starts, in one transaction, after checking
for room, and gives the freed space back;cairn-server downgrademoves it back to schema 3, for a server
from before. cairn-server fsckalso checks that each revision is named by the commit that made it.- A commit's notes of one text, the losers of a merge, go as one note naming each object, where they went
as one to each: a device joining on another umask wrote the same "mode: kept 664 from the server; this
device had 644" for every file.cairn logsays how many each names. A client sends them so only to a
server of this release, which says it takes them (/info'snote_groups); to an older one, a note to
each object as before. A client from before reads one as a note of its first object.
Fixed:
- The web's Recently deleted opens at once and lists all of the last 30 days, from an index the server
keeps in memory, rather than reading the journal back on each request, which took minutes on a busy disk.