[SERVER-56265] Test that $geoNear/$text against time-series collection fail cleanly Created: 22/Apr/21  Updated: 29/Oct/23  Resolved: 08/Jun/21

Status: Closed
Project: Core Server
Component/s: Query Execution
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Eric Cox (Inactive) Assignee: Eric Cox (Inactive)
Resolution: Fixed Votes: 0
Labels: qexec-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-55240 Support 2d index on time-series colle... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query Execution 2021-05-31, Query Execution 2021-06-14
Participants:
Linked BF Score: 85

 Description   

We don't have test coverage for this at the moment. $text shouldn't be allowed against timeseries collections, we should investigate current behavior and see what happens if $text queries are issued against time-series collections.

It appears that geo won't be supported so we should write a few tests that ensure that $geoNear queries fail cleanly with an error message along the lines of,

"$geoNear, $near, and $nearSphere are not allowed against timeseries collections"



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 11/Jun/21 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-56265 test checks for clustered index support before verifying support for text indexes on time-series collections
Branch: master
https://github.com/mongodb/mongo/commit/7d8f78bc8c308f4ac9e24da3714e1cf4b554b95f

Comment by Githook User [ 07/Jun/21 ]

Author:

{'name': 'Eric Cox', 'email': 'eric.cox@mongodb.com', 'username': 'ericox'}

Message: SERVER-56265 Cleanly fail unsupported queries on timeseries collections
Branch: master
https://github.com/mongodb/mongo/commit/9dc70d39da791265f9fb78ba7f9742403af9676a

Comment by Githook User [ 04/Jun/21 ]

Author:

{'name': 'Eric Cox', 'email': 'eric.cox@mongodb.com', 'username': 'ericox'}

Message: Revert "SERVER-56265 Cleanly fail unsupported queries on timeseries collections"

This reverts commit 7e0bc86f525d56dedca7d8bf9c858d5a8b49fae1.
Branch: master
https://github.com/mongodb/mongo/commit/99a8cd98824e8715ea04491ca1d5e6afd34456a9

Comment by Githook User [ 03/Jun/21 ]

Author:

{'name': 'Eric Cox', 'email': 'eric.cox@mongodb.com', 'username': 'ericox'}

Message: SERVER-56265 Cleanly fail unsupported queries on timeseries collections
Branch: master
https://github.com/mongodb/mongo/commit/7e0bc86f525d56dedca7d8bf9c858d5a8b49fae1

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