[SERVER-41255] Enable WiredTiger debug write-ahead logging in MongoDB debug builds Created: 21/May/19 Updated: 29/Oct/23 Resolved: 10/Jun/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.0-rc3, 4.3.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Benety Goh |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||
| Backport Requested: |
v4.2
|
||||||||||||||||||||||||||||||||
| Sprint: | Execution Team 2019-06-03, Execution Team 2019-06-17 | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||||||||||||||
| Description |
|
It would be useful, for diagnostic purposes, to enable these extensions in a debug build. When enabled, additional debugging information will be present in the wt printlog output. The following command line works for a default MongoDB configuration for a single-node replica set:
Some of the new debugging entries have a {fileid}field with the most significant bit set (eg. "fileid": 2147483651 0x8000nnnn):
Additional debugging entries may also contain a txn_timestamp field:
|
| Comments |
| Comment by Githook User [ 05/Jul/19 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: (cherry picked from commit c909ba6087c4ed434513e4d39d310a4969d0c070) |
| Comment by Githook User [ 10/Jun/19 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Benety Goh [ 07/Jun/19 ] |
|
This test current fails with the following jstests/multiVersion tests with references to the 4.0 binary:
We can re-commit this patch after |
| Comment by Githook User [ 07/Jun/19 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: Revert " This reverts commit 43c32fbc1d17fd050f179d5657de0113c8266994. |
| Comment by Githook User [ 05/Jun/19 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |