[SERVER-84142] Fix lookup_change_stream_post_image_hashed_shard_key.js to retry the operations change stream operation when a step down is produced Created: 13/Dec/23  Updated: 16/Jan/24  Resolved: 16/Jan/24

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

Type: Bug Priority: Major - P3
Reporter: David Dominguez Sal Assignee: David Dominguez Sal
Resolution: Fixed Votes: 0
Labels: car-qw
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-84770 Change stream tests do not recover fr... Open
Assigned Teams:
Catalog and Routing
Backwards Compatibility: Fully Compatible
Sprint: CAR Team 2024-01-08, CAR Team 2024-01-22
Participants:
Linked BF Score: 5
Story Points: 1

 Description   

The current changeStream implementation may return a QueryPlanKilled error code during a stepdown process. The error comes from a ROLLBACK in the configserver. The test is not considering that and fails in that situation. 

It might be good to consider if it is possible that changeStream automatically recovers from this error, and does not report the error to the client. 



 Comments   
Comment by Githook User [ 16/Jan/24 ]

Author:

{'name': 'david-dominguez-sal', 'email': '97509688+david-dominguez-sal@users.noreply.github.com', 'username': 'david-dominguez-sal'}

Message: SERVER-84142: Fix test lookup_change_stream_post_image_hashed_shard_keys.js to handle QueryPlanKilled error codes (#17868)

GitOrigin-RevId: 8a235a4547736605a98c44a6978010e989a5d826
Branch: master
https://github.com/mongodb/mongo/commit/b29cc4c0f13d11cdb596ef7b969c6d61c6f6b374

Comment by David Dominguez Sal [ 12/Jan/24 ]

Similar issue in other tests (SERVER-84770)

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