[SERVER-82364] Fix $config.transitions table for analyze_shard_key.js FSM workload Created: 21/Oct/23  Updated: 01/Nov/23  Resolved: 31/Oct/23

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

Type: Task Priority: Minor - P4
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.1, v7.0
Sprint: Sharding NYC 2023-10-30, Cluster Scalability 2023-11-13
Participants:
Linked BF Score: 5

 Description   

The listSampledQueries state does not transition to the find state. This means the find, aggregate, count, and distinct states do not have an equal distribution which can cause an assertion failure when determining whether to validate the read distribution metrics.



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

Author:

{'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}

Message: SERVER-82364 Fix $config.transitions table for analyze_shard_key.js FSM.

Fills in a missing transition from the 'listSampledQueries' state to the
'find' state.

(cherry picked from commit b48239aea5c213ce8a395fa4df6d21bc2ad1f424)
Branch: v7.1
https://github.com/mongodb/mongo/commit/f6067c17d004732c2a8e8cad7bd9ff5736a320e4

Comment by Githook User [ 01/Nov/23 ]

Author:

{'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}

Message: SERVER-82364 Fix $config.transitions table for analyze_shard_key.js FSM.

Fills in a missing transition from the 'listSampledQueries' state to the
'find' state.

(cherry picked from commit b48239aea5c213ce8a395fa4df6d21bc2ad1f424)
Branch: v7.0
https://github.com/mongodb/mongo/commit/53885d7c915b2e4509cbe3ffea523ddc5ad30b9b

Comment by Githook User [ 30/Oct/23 ]

Author:

{'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}

Message: SERVER-82364 Fix $config.transitions table for analyze_shard_key.js FSM.

Fills in a missing transition from the 'listSampledQueries' state to the
'find' state.
Branch: master
https://github.com/mongodb/mongo/commit/b48239aea5c213ce8a395fa4df6d21bc2ad1f424

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