[SERVER-20756] setCommittedSnapshot invariant failure on some invalid input Created: 05/Oct/15  Updated: 16/Feb/16  Resolved: 05/Oct/15

Status: Closed
Project: Core Server
Component/s: Querying, Storage
Affects Version/s: 3.1.8
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Robert Guo (Inactive) Assignee: Mathias Stearn
Resolution: Won't Fix Votes: 0
Labels: fuzzer-blacklist
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

2015-10-05T12:36:21.785-0400 I -        [conn3] Invariant failure !_committedSnapshot || *_committedSnapshot <= name src/mongo/db/storage/wiredtiger/wiredtiger_snapshot_manager.cpp 58
2015-10-05T12:36:21.785-0400 I -        [conn3] 
 
 mongod(_ZN5mongo15invariantFailedEPKcS1_j+0x2E9) [0x10be248d9]
 mongod(_ZN5mongo25WiredTigerSnapshotManager20setCommittedSnapshotERKNS_12SnapshotNameE+0x6F) [0x10bc6168f]
 mongod(_ZN5mongo23CmdSetCommittedSnapshot3runEPNS_16OperationContextERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERNS_7BSONObjEiRS9_RNS_14BSONObjBuilderE+0x147) [0x10b751407]
 mongod(_ZN5mongo7Command3runEPNS_16OperationContextERKNS_3rpc16RequestInterfaceEPNS3_21ReplyBuilderInterfaceE+0xA5C) [0x10b7a264c]
 mongod(_ZN5mongo7Command11execCommandEPNS_16OperationContextEPS0_RKNS_3rpc16RequestInterfaceEPNS4_21ReplyBuilderInterfaceE+0x970) [0x10b7a13f0]
 mongod(_ZN5mongo11runCommandsEPNS_16OperationContextERKNS_3rpc16RequestInterfaceEPNS2_21ReplyBuilderInterfaceE+0x27D) [0x10b6f37cd]
 mongod(_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x1392) [0x10b89a932]
 mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortE+0xA6) [0x10b5a0b76]
 mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x27D) [0x10be3fc7d]
 mongod(_ZNSt3__114__thread_proxyINS_5tupleIJNS_6__bindIPFPvS3_EJPN5mongo12_GLOBAL__N_124MessagingPortWithHandlerEEEEEEEEES3_S3_+0x61) [0x10be3f421]



 Comments   
Comment by Kamran K. [ 05/Oct/15 ]

"Won't fix" is fine for this ticket. The fuzzer triggers these failures, but we can work around them in the fuzzer code rather than the server code.

Comment by Mathias Stearn [ 05/Oct/15 ]

The commands that trigger this are for testing only and are not part of mongod's interface. They let tests poke the server in specific ways, but the tests are responsible for following the rules. Unless there is a use case for making this non-fatal, I plan to close this as WONTFIX.

Comment by J Rassi [ 05/Oct/15 ]

Setting fixVersion to 3.1 Required and assignee to Mathias. redbeard0531, please re-assign as you see fit.

Generated at Thu Feb 08 03:55:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.