[SERVER-82770] fix fast_archive unhashable type list error Created: 03/Nov/23  Updated: 15/Nov/23  Resolved: 03/Nov/23

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

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

Issue Links:
Problem/Incident
is caused by SERVER-82603 fast_archive creates traceback on cor... Closed
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

2 days ago I made a change where I start ensuring paths are files before being processed. At the very end I tried to fix linting by going from 

set([path for path in glob.glob(pattern) if os.path.isfile(path)])
to

{[path for path in glob.glob(pattern) if os.path.isfile(path)]}

and only ran pylinters to ensure this was okay. This was not okay and it should actually be 

{path for path in glob.glob(pattern) if os.path.isfile(path)}

 
It is a good thing we have alerts for this now.



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

Author:

{'name': 'Trevor Guidry', 'email': 'trevor.guidry@mongodb.com', 'username': ''}

Message: SERVER-82770 fix fast_archive unhashable type list error
Branch: master
https://github.com/mongodb/mongo/commit/691b2696cc5ff3ca0ba6eec4417f165b73a868f4

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