[SERVER-77054] Update kill_sessions.js to accept WriteConcernError error Created: 11/May/23  Updated: 29/Oct/23  Resolved: 15/May/23

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

Type: Bug Priority: Major - P3
Reporter: Rachita Dhawan Assignee: Rachita Dhawan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Assigned Teams:
Sharding NYC
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 150

 Description   

refreshLogicalSessionCacheNow uses "WriteConcernOptions::kWriteConcernTimeoutSystem" and can return writeConcernError timeout error (after changes from https://jira.mongodb.org/browse/SERVER-65188) . We should update the kill_session.js to expect that error.



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

Author:

{'name': 'Rachita Dhawan', 'email': 'rachita.dhawan@gmail.com', 'username': 'racdhawan'}

Message: SERVER-77054: Update kill_session.js to consider refreshLogicalSessionCacheNow throwing WriteConcernFailed error
Branch: master
https://github.com/mongodb/mongo/commit/da78632c6843c8e7d79b598cb7d9ff307acf5ada

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