-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
Sharding 2021-03-22
- It is incorrect to use getStatusFromCommandResult() to parse the 'abortReason' BSONObj here since it doesn't contain an "ok" field so the call is expected to fail with CommandResultSchemaViolation, causing the migration stepup recovery to fail.
- As described in
SERVER-51345, the generated IDL code doesn't automatically take ownership of a passed-in BSONObj. The _stateDoc created on stepup recovery can hit this BSONElement assertion due to memory/scope issue involving 'abortReason' loaded from disk.
- is depended on by
-
SERVER-52713 [testing] Add stepdown/kill/terminate to tenant_migration_jscore_passthrough
- Closed