[SERVER-45272] Remove assertions about the last-stable behavior in allow_partial_results.js and return_partial_shards_down.js Created: 20/Dec/19  Updated: 29/Oct/23  Resolved: 20/Dec/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 4.2.2, 4.3.2
Fix Version/s: 4.2.3, 4.3.3

Type: Task 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
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Participants:
Linked BF Score: 50

 Description   

In SERVER-33597, mongos was updated to swallow FailedToSatisfyReadPreference errors if allowPartialResults is true, allowing allowPartialResults to work with replica set shards. The ticket has been backported to 4.2 and 4.0 so when the changes are released, the assertions about the last-stable behavior will fail.



 Comments   
Comment by Githook User [ 20/Dec/19 ]

Author:

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

Message: SERVER-45272 Remove assertions about the last-stable behavior in allow_partial_results.js and return_partial_shards_down.js

(cherry picked from commit aae7c4aa9aeb1df1a3a1b00ae12aed7e1a77b59c)
Branch: v4.2
https://github.com/mongodb/mongo/commit/b3a0c28b7c3278a151f2f3b233303850ee9a4801

Comment by Githook User [ 20/Dec/19 ]

Author:

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

Message: SERVER-45272 Remove assertions about the last-stable behavior in allow_partial_results.js and return_partial_shards_down.js
Branch: master
https://github.com/mongodb/mongo/commit/aae7c4aa9aeb1df1a3a1b00ae12aed7e1a77b59c

Generated at Thu Feb 08 05:08:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.