-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5157 from brong/twom
Twom database format and first implementation
- Loading branch information
Showing
20 changed files
with
11,602 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Description: | ||
|
||
twom: a new cyrusdb backend | ||
|
||
|
||
Config changes: | ||
|
||
A new backend called 'twom' is added to most of the database engine options | ||
in imapd.conf. Twom is a database format similar to twoskip, with some | ||
performance improvements. | ||
|
||
There's also a new boolean option 'cyrusdb_autoconvert', which - if set to | ||
true, will cause Cyrus to convert the database on first access if the | ||
existing file can be detected (by looking at the first few bytes for file | ||
magic). This works for skiplist, twoskip and twom source formats. The | ||
conversions are performed under a global lock, so this can slow the server | ||
down somewhat while the conversions are happening. | ||
|
||
|
||
Upgrade instructions: | ||
|
||
No changes are required if you don't want to switch to twom. No defaults have | ||
been changed at this time. If you do want to change, you can optionally set | ||
cyrusdb_autoconvert (otherwise watch the logs for files being opened with the | ||
wrong format and convert them manually), and also update the DB engine for | ||
individual database types. | ||
|
||
GitHub issue: | ||
|
||
No issue number. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.