[SERVER-32642] Return raw command response in the validate JS hook Created: 10/Jan/18  Updated: 30/Oct/23  Resolved: 24/Aug/18

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 3.7.1
Fix Version/s: 4.1.3

Type: Improvement Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Jonathan Abrahams
Resolution: Fixed Votes: 0
Labels: tig-qwin-eligible
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-31920 Rollback fuzzer tests should check da... Closed
Problem/Incident
causes SERVER-37197 Validation failure does not cause tes... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6
Sprint: TIG 2018-08-27, TIG 2018-09-10
Participants:
Story Points: 2

 Description   

Modify CollectionValidator.validateCollections to return the raw command response to make the class more flexible.



 Comments   
Comment by Githook User [ 24/Aug/18 ]

Author:

{'name': 'Jonathan Abrahams', 'email': 'jonathan@mongodb.com', 'username': 'hptabster'}

Message: SERVER-32642 Return raw command response in the validate JS hook
Branch: master
https://github.com/mongodb/mongo/commit/c8f5485a7c5455b5487990113597f935d1df1ddf

Comment by Max Hirschhorn [ 04/Jun/18 ]

I'd like it so that the raw response from the server is included in the "failed to load" message when collection validation failed. Right now that message is logged inside of the ScopedThread so the main thread never sees it.

Generated at Thu Feb 08 04:30:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.