[SERVER-66272] mongod 5.0.x crash on writing to collection with type=LSM Created: 06/May/22 Updated: 29/Oct/23 Resolved: 11/Jul/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 5.0.7 |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Nitin Katkam | Assignee: | Yujin Kang Park |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | intern-friendly, neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v6.0, v5.3, v5.0
|
||||||||||||
| Steps To Reproduce: | `m bin 5.0.8`/mongod --dbpath . --logpath ./mongod.log --fork `m bin 5.0.8`/mongo db.createCollection("collectionName2", {storageEngine: {wiredTiger: {configString: "type=lsm"}}}); db.collectionName2.insert({_id: -1}); |
||||||||||||
| Sprint: | Execution Team 2022-07-11, Execution Team 2022-07-25 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Description: The mongod 5.0.x process (Tested on 5.0.6 and 5.0.8) crashes on attempting to write to a collection with "type=lsm". Log file attached. This worked till 4.4.x (Tested on 4.4.14)
Steps to Reproduce: `m bin 5.0.8`/mongod --dbpath . --logpath ./mongod.log --fork `m bin 5.0.8`/mongo db.createCollection("collectionName2", {storageEngine: {wiredTiger: {configString: "type=lsm"}}}); db.collectionName2.insert({_id: -1});
Expected: Successful document insert
Actual: mongod crash mongod.log Message: {{"msg":"WiredTiger error","attr": {"error":45,"message":"[1651826662:752565][63214:0x30c404000]: int __wt_cursor_notsup(WT_CURSOR *), 4 6: Unsupported cursor operation: Operation not supported"}}}} |
| Comments |
| Comment by Yujin Kang Park [ 15/Jul/22 ] |
|
Backporting to 6.0, 5.3 and 5.0 to avoid replication crashes in multiversion replica sets when the primary allows creation of LSM collections but the secondary does not. |
| Comment by Githook User [ 11/Jul/22 ] |
|
Author: {'name': 'Yu Jin Kang Park', 'email': 'yujin.kang@mongodb.com', 'username': 'ykangpark'}Message: |
| Comment by Louis Williams [ 10/May/22 ] |
|
Hi nitin.katkam@mongodb.com, thanks for filing this ticket. Unfortunately, we do not support WiredTiger LSM trees in MongoDB 5.0. We should be returning a better error message here. |