[SERVER-43195] Add namespace to ChunkManager ShardKeyNotFound failure in order to better diagnose failures. Created: 06/Sep/19  Updated: 29/Oct/23  Resolved: 09/Sep/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.6.14, 4.0.12, 4.2.0
Fix Version/s: 4.3.1, 4.2.3, 4.0.15

Type: Improvement Priority: Major - P3
Reporter: Blake Oler Assignee: Blake Oler
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2, v4.0, v3.6
Sprint: Sharding 2019-09-09
Participants:

 Description   

None of the failures when attempting to find an intersecting chunk append the name of the attempted namespace. This makes failures hard to diagnose when these exceptions are thrown. This ticket will be to simply add the namespace to both errors.



 Comments   
Comment by Githook User [ 21/Jan/20 ]

Author:

{'email': 'blake.oler@mongodb.com', 'name': 'Blake Oler', 'username': 'BlakeIsBlake'}

Message: SERVER-43195 Add namespace to ChunkManager ShardKeyNotFound errors in order to better diagnose failures

(cherry picked from commit 20761c26375cd0febaade9d93af5b8848845bef9)
Branch: v3.6
https://github.com/mongodb/mongo/commit/ed78b6d54e794bddc99b9b9bc01c62cce22c9b56

Comment by Githook User [ 16/Jan/20 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-43195 Add namespace to ChunkManager ShardKeyNotFound errors in order to better diagnose failures

(cherry picked from commit 20761c26375cd0febaade9d93af5b8848845bef9)
Branch: v4.0
https://github.com/mongodb/mongo/commit/34279b12c0748a7066a18f94c0b881608936325b

Comment by Githook User [ 16/Jan/20 ]

Author:

{'name': 'Blake Oler', 'username': 'BlakeIsBlake', 'email': 'blake.oler@mongodb.com'}

Message: SERVER-43195 Add namespace to ChunkManager ShardKeyNotFound errors in order to better diagnose failures

(cherry picked from commit 20761c26375cd0febaade9d93af5b8848845bef9)
Branch: v4.2
https://github.com/mongodb/mongo/commit/6874650b362138df74be53d366bbefc321ea32d4

Comment by Githook User [ 09/Sep/19 ]

Author:

{'username': 'BlakeIsBlake', 'email': 'blake.oler@mongodb.com', 'name': 'Blake Oler'}

Message: SERVER-43195 Add namespace to ChunkManager ShardKeyNotFound errors in order to better diagnose failures
Branch: master
https://github.com/mongodb/mongo/commit/20761c26375cd0febaade9d93af5b8848845bef9

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