ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/tests
Martin von Zweigbergk a7b6bcfd79 transaction: write incremental index on commit
With this change, we start writing the incremental index to disk, so
the next reader won't have to re-read the commits and create the
index.

As of this change, we simply write a new index file for each
transaction. That will clearly mean that the stack of files gets deep
pretty quickly. For now, the user will have to do `jj debug reindex`
when things get slow. I plan to change it so instead of writing an
incremental index file every time, we first check if the new index
file would have at least as many commits as the parent file, and if it
will, we write a combined one instead. That should apply recursively,
so we'd have O(log n) index files.
2021-02-15 11:03:41 -08:00
..
test_bad_locking.rs view: replace View trait by enum with Readonly and Mutable variants 2021-02-13 08:31:41 -08:00
test_commit_builder.rs
test_commit_concurrent.rs view: replace View trait by enum with Readonly and Mutable variants 2021-02-13 08:31:41 -08:00
test_diff_summary.rs
test_evolution.rs transaction: add accessors for view and evolution directly on transaction 2021-02-13 13:43:48 -08:00
test_git.rs transaction: add accessors for view and evolution directly on transaction 2021-02-13 13:43:48 -08:00
test_index.rs index: fix check for adding existing commit to index 2021-02-15 10:28:18 -08:00
test_init.rs
test_load_repo.rs
test_merge_trees.rs
test_operations.rs transaction: add accessors for view and evolution directly on transaction 2021-02-13 13:43:48 -08:00
test_transaction.rs transaction: write incremental index on commit 2021-02-15 11:03:41 -08:00
test_view.rs transaction: add accessors for view and evolution directly on transaction 2021-02-13 13:43:48 -08:00
test_working_copy.rs view: replace View trait by enum with Readonly and Mutable variants 2021-02-13 08:31:41 -08:00
test_working_copy_concurrent.rs