[SERVER-82004] $bucketAuto granularity doesn't re-parse correctly Created: 09/Oct/23  Updated: 03/Nov/23  Resolved: 03/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: Alyssa Clark Assignee: Erin Zhu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-85096 TRACKING: M3 Correctness Tickets Closed
Related
is related to SERVER-75596 Stress $queryStats read path for aggr... Closed
Assigned Teams:
Query Integration
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QI 2023-11-13
Participants:
Linked BF Score: 175

 Description   

This ticket covers the $bucketAuto failures in BF-30324.

 

"Was not able to re-parse queryStats key when reading queryStats.Status Location40257: Unknown rounding granularity '?' Hash: 9598835250160584959 Query Shape: { cmdNs: { db: \"test\", coll: \"server57091\" }, command: \"aggregate\", pipeline: [ { $bucketAuto: { groupBy: { $reduce: { input: { $const: [] }, initialValue: { $const: 1 }, in: { $size: [ \"$$value\" ] } } }, buckets: 1, granularity: \"?\", output: { count: { $sum: { $const: 1 } } } } } ] }" 

 



 Comments   
Comment by Githook User [ 03/Nov/23 ]

Author:

{'name': 'Erin Zhu', 'email': 'erin.zhu@mongodb.com', 'username': 'erinzhu001'}

Message: SERVER-82004: Fix $bucketAuto reparsing issue with queryStats
Branch: master
https://github.com/mongodb/mongo/commit/eec44133fddadef7d9ea2860a3f45ac8e49dae93

Generated at Thu Feb 08 06:47:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.