[SERVER-76756] Make analyzeShardKey hook and concurrency workload ignore error thrown when analyzeShardKey command failed to look up documents for hashed shard key Created: 02/May/23  Updated: 29/Oct/23  Resolved: 03/May/23

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

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-05-15
Participants:
Linked BF Score: 154

 Description   

This scenario is expected since the aggregate command doesn't use "snapshot" readConcern so writes can occur during aggregation, i.e. documents can get deleted between the $meta: indexKey stage and the $lookup stage.



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

Author:

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

Message: SERVER-76756 Make analyzeShardKey hook and concurrency workload ignore error thrown when analyzeShardKey command failed to look up documents for hashed shard key

(cherry picked from commit 19b39ff97b7861e789a6fb9ba406329a8d7e31d2)
Branch: v7.0
https://github.com/mongodb/mongo/commit/3875a9909798b0590accc3b817a128142c55723a

Comment by Githook User [ 02/May/23 ]

Author:

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

Message: SERVER-76756 Make analyzeShardKey hook and concurrency workload ignore error thrown when analyzeShardKey command failed to look up documents for hashed shard key
Branch: master
https://github.com/mongodb/mongo/commit/19b39ff97b7861e789a6fb9ba406329a8d7e31d2

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