[SERVER-79944] Make analyze_shard_key.js not assert that the number of sampled queries observed via analyzeShardKey and $listSampledQueries is non-decreasing Created: 11/Aug/23  Updated: 29/Oct/23  Resolved: 16/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.1

Type: Bug Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Cheahuychou Mao
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
Operating System: ALL
Backport Requested:
v7.0
Sprint: Sharding NYC 2023-08-21
Participants:
Linked BF Score: 35

 Description   

This check depends on causal consistency. The shell doesn't attach readConcern (and therefore "afterClusterTime") to read commands other than the ones in this list. That should be why causal consistency was violated. It looks like SERVER-31743 is supposed to make this list include other commands. For now, this assertion is not expected to always succeed and so should be removed.  



 Comments   
Comment by Githook User [ 16/Aug/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-79944 Make analyze_shard_key.js not assert that the number of sampled queries observed via analyzeShardKey and is non-decreasing

(cherry picked from commit 7549228848ddccacff45912ff072036e63ff7470)
Branch: v7.0
https://github.com/mongodb/mongo/commit/af5e762b2ce7560473fdb4b80aaaa5c792b8a28f

Comment by Githook User [ 15/Aug/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-79944 Make analyze_shard_key.js not assert that the number of sampled queries observed via analyzeShardKey and is non-decreasing
Branch: master
https://github.com/mongodb/mongo/commit/7549228848ddccacff45912ff072036e63ff7470

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