[DOCS-7270] Document the procedure for changing the value of journalCompressor Created: 26/Feb/16 Updated: 30/Oct/23 Resolved: 15/Apr/19 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual, Server |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Dmitry Ryabtsev | Assignee: | Kay Kim (Inactive) |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Days since reply: | 4 years, 43 weeks, 2 days ago | ||||||||
| Epic Link: | DOCSP-1769 | ||||||||
| Description |
|
It is an issue because the journalCompressor cannot be changed as easy as blockCompressor. For example if you change journalCompressor from "snappy" (default) to "none", the server will not be able to start. The server needs to use the journal during the recovery phase, but if the journalCompressor's value does not match the compressor the journal was originally created with, the server will fail to read the journal and hence the recovery cannot be done:
This is how it should be performed (the journal will be dropped and re-created as a result):
We need to have this procedure documented and linked where storage.wiredTiger.engineConfig.journalCompressor (configuration file option) and --journalCompressor are described. |
| Comments |
| Comment by Githook User [ 15/Apr/19 ] |
|
Author: {'email': 'kay.kim@10gen.com', 'name': 'Kay Kim', 'username': 'kay-kim'}Message: |
| Comment by Githook User [ 15/Apr/19 ] |
|
Author: {'email': 'kay.kim@10gen.com', 'name': 'Kay Kim', 'username': 'kay-kim'}Message: |
| Comment by Kay Kim (Inactive) [ 10/Apr/19 ] |
|
The downgrade from 4.2 instructions for zstd journal compressor will need the same 4.0/4.2 procedure. Since the 4.2 downgrade instructions for zstd journal compressor are currently in CR, will At the end of that CR, will apply patches to the 4.0/4.2 branches for the manage journaling tutorial as well. |
| Comment by Githook User [ 10/Apr/19 ] |
|
Author: {'name': 'Kay Kim', 'username': 'kay-kim', 'email': 'kay.kim@10gen.com'}Message: |
| Comment by Githook User [ 08/Apr/19 ] |
|
Author: {'email': 'kay.kim@10gen.com', 'name': 'Kay Kim', 'username': 'kay-kim'}Message: |