[SERVER-7047] validate command checks for "hudsonSmall": leftover code? Created: 16/Sep/12  Updated: 11/Jul/16  Resolved: 21/Sep/12

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.3.0

Type: Bug Priority: Trivial - P5
Reporter: Tad Marshall Assignee: Tad Marshall
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

From code inspection:

In line 335 in src/mongo/db/dbcommands_admin.cpp, in the validateNS() routine, there is a test for namespace names that include 'hudsonSmall'. There is no comment and this is the only place where 'hudsonSmall' appears in the current code. Is this leftover code that should be removed?



 Comments   
Comment by auto [ 21/Sep/12 ]

Author:

{u'date': u'2012-09-21T11:26:36-07:00', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-7047 remove leftover validate code, improve text

When finding an invalid pointer in either the deletedList or in the
chain of deleted records pointed to by that list, always issue the error
and stop scanning that chain. Change the error text from "bad deleted loc"
to "bad pointer in deleted record list".
Branch: master
https://github.com/mongodb/mongo/commit/0d8d6c8cd18850233bd4f0b2b780b59fa5d22fea

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