[SERVER-45152] Negation of inequality on array can trip invariant Created: 13/Dec/19  Updated: 29/Oct/23  Resolved: 07/Jan/20

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: 4.2.2, 4.3.2
Fix Version/s: 4.2.3, 4.3.3, 4.0.15

Type: Bug Priority: Critical - P2
Reporter: Sophie Saskin Assignee: Jacob Evans
Resolution: Fixed Votes: 0
Labels: KP42, afz, qopt-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2, v4.0
Sprint: Query 2019-12-30, Query 2020-01-13
Participants:
Linked BF Score: 43

 Description   

If an inequality to an array is indexed it will trip this invariant.



 Comments   
Comment by Githook User [ 16/Jan/20 ]

Author:

{'name': 'Jacob Evans', 'email': 'jacob.evans@10gen.com'}

Message: SERVER-45152 Match master negation of null behavior for consistency
Branch: v4.0
https://github.com/mongodb/mongo/commit/5547f61d0abc1f81cf160f3693f741b8ce889084

Comment by Githook User [ 15/Jan/20 ]

Author:

{'name': 'Jacob Evans', 'email': 'jacob.evans@10gen.com'}

Message: SERVER-45152 Clean up git merge to unit test further
Branch: v4.0
https://github.com/mongodb/mongo/commit/c742b66899f2942788d959b048d9b580130781e9

Comment by Githook User [ 15/Jan/20 ]

Author:

{'name': 'Jacob Evans', 'email': 'jacob.evans@10gen.com'}

Message: SERVER-45152 Clean up git merge to unit test
Branch: v4.0
https://github.com/mongodb/mongo/commit/38e77e41d2c5a2f77252172260c685958027263b

Comment by Githook User [ 15/Jan/20 ]

Author:

{'name': 'Jacob Evans', 'email': 'jacob.evans@mongodb.com'}

Message: SERVER-45152 Demote invariant to massert to prevent server crashes
Branch: v4.0
https://github.com/mongodb/mongo/commit/66295a503d9c964731b5331726391ae2bdfc64d4

Comment by Githook User [ 15/Jan/20 ]

Author:

{'name': 'Jacob Evans', 'email': 'jacob.evans@10gen.com'}

Message: SERVER-45152 Clean up git merge to unit test
Branch: v4.2
https://github.com/mongodb/mongo/commit/d0e18b320827819ee08efb7f8d65e9abd5f28d4f

Comment by Githook User [ 14/Jan/20 ]

Author:

{'name': 'Jacob Evans', 'email': 'jacob.evans@mongodb.com'}

Message: SERVER-45152 Demote invariant to massert to prevent server crashes
Branch: v4.2
https://github.com/mongodb/mongo/commit/8457a35c063b50b9ab9c2ad50b8e66143609a27d

Comment by Githook User [ 07/Jan/20 ]

Author:

{'name': 'Jacob Evans', 'email': 'jacob.evans@mongodb.com'}

Message: SERVER-45152 Demote invariant to massert to prevent server crashes
Branch: master
https://github.com/mongodb/mongo/commit/71658c0e2edb8c900ced5098f3f5a146a2d649ea

Comment by Charlie Swanson [ 18/Dec/19 ]

As discussed, swapping this over to Jacob and planning on Ted reviewing. I’ll chat with Jacob later about the context.

Comment by Craig Homa [ 17/Dec/19 ]

charlie.swanson james.wahlin this came up in qexec triage and we feel it should be fixed ASAP. Can you please assign to someone to work on this sprint?

Generated at Thu Feb 08 05:08:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.