Menu

Trac Commit Log


Commit Date  
[r4967] by cboos

Restart the vc-refactoring branch

2007-03-11 21:43:55 Tree
[r4966] by cboos

0.10.4dev: ported r4965 to stable (''improve concurrent resyncs, #4685 and #4043'')

2007-03-11 21:24:15 Tree
[r4965] by cboos

Improve the repository resync, which now explicitly stores the youngest revision in the cache as metadata.

The new `sync()` method is now faster and also more robust.
Explicitly storing the `youngest_rev` addresses the efficiency concerns about the old `get_youngest_rev_from_cache()` method (#3837). That method is now only used once for automatically migrating environments to the new way, without requiring an explicit `resync`. It is otherwise deprecated and should be removed in the future.

The new scheme also takes lots of precautions to do the right thing in case of concurrent resync attempts. When a given thread accesses a repository, it will manage to sync none, some or all revisions. In any case, it will leave the sync() method with the notion of an usable and coherent youngest_rev, which will be used for the rest of the processing.

This changes fixes #4586 and is believed to fix #4043 as well.

2007-03-11 21:13:08 Tree
[r4964] by cboos

Another error reporting improvement in case no database connection is available. This one is specifically needed in case the database connectivity is lost while the environment has already been in use (see also r4961).

2007-03-11 11:42:52 Tree
[r4963] by cboos

0.10.4dev: ported r4962 to stable (''follow-up to r4342 and fix #4802'')

2007-03-11 11:27:55 Tree
[r4962] by cboos

MySQL connection wrapper improvements:
- Follow-up to r4341, ping before rollback
- Try to not close an already closed connection, should fix #4802

2007-03-11 11:24:59 Tree
[r4961] by cboos

Improve robustness of the environment opening, in case the database connection is not available at that time.

2007-03-11 11:21:18 Tree
[r4960] by cboos

Improve robustness of the request dispatcher in case of early errors, from the #4586 patch (trap sync failure).

2007-03-11 11:20:34 Tree
[r4959] by mgood

use `set`s to make `get_user_permissions` more efficient

2007-03-10 20:00:46 Tree
[r4958] by mgood

allow mixed case group names (fixes #4050)

2007-03-10 19:51:39 Tree
Older >
Auth0 Logo