Several libraries on the server: one directory, store, notice stream, link index, pending links, reviewer and jobs each; /api/libraries and /api/l/<id>/…; the page holds one library, named by its address, and switches by a page load
The old single-library layout is not opened (the server says to run the migration, which comes next); the per-document migration, /recover and the old replicas check are gone. A server lock keeps two servers off one data directory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
This commit is contained in:
1 parent
045a8459da
commit
79aa85e883
22 files changed
+1468
-759
No files matched your search
+1
-1
@@ -85,7 +85,7 @@ describe("a large library", () => {
|
||||
mkdirSync(join(data, "library"));
|
||||
writeFileSync(join(data, "library", "main.loro"), bytes);
|
||||
t = performance.now();
|
||||
const store = new LibraryStore(data, () => {}).open();
|
||||
const store = new LibraryStore(join(data, "library")).open();
|
||||
expect(store.titles()).toHaveLength(100);
|
||||
const serverStart = performance.now() - t;
|
||||
|
||||
|
||||
Reference in new issue
Block a user