[SERVER-57283] printShardingStatus.js is leaving inconsistent metadata after test Created: 28/May/21  Updated: 29/Oct/23  Resolved: 31/May/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.0-rc1, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Marcos José Grillo Ramirez Assignee: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 0
Labels: PM-1965-Cleanup
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Sharding EMEA 2021-05-31
Participants:

 Description   

printShardingStatus.js is updating the metadata and then is doing some checks, and finally, trying to drop the collection, however, this is wrong, and there is no assurance the the collection will actually be dropped, so, we could restore the metadata to it's original values before doing the drop.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 31/May/21 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-57283 Fix metadata after doing tests on printShardingStatus.js

(cherry picked from commit be505f3601c0fe8c7c29411f09927b0d153a22db)
Branch: v5.0
https://github.com/mongodb/mongo/commit/a29f40e86a5ac1bf4b94d63b16992ad03af0c791

Comment by Githook User [ 31/May/21 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-57283 Fix metadata after doing tests on printShardingStatus.js
Branch: master
https://github.com/mongodb/mongo/commit/be505f3601c0fe8c7c29411f09927b0d153a22db

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