-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Labels:
-
Fully Compatible
-
Sharding 2020-05-04
We currently use the uassertStatusOKWithWarning to log errors that occurred when running moveChunk/movePrimary:
https://github.com/mongodb/mongo/blob/r4.3.2/src/mongo/db/s/move_chunk_command.cpp#L229
https://github.com/mongodb/mongo/blob/r4.3.2/src/mongo/db/s/move_primary_command.cpp#L162
However, these only catches cases when the error is propagated via a returned status. There are a few cases where we use uasserts inside these calls and they won't show up in the log default setting unless it is verbose enough to show assertion messages.