|
The test retryable_mongos_write_errors.js does the following:
1. Set failpoint hangAfterCollectionInserts so that inserts never complete.
2. Initiate a batch insert (which won't complete).
3. Stop the mongos.
4. Assert that the returned error code is InterruptedAtShutdown (which is retryable).
We have a bug where the returned error code is CallbackCanceled. Additionally, CallbackCanceled is not being returned as a top level error. Instead it is being written into the writeErrors field of the response. SERVER-55648 indicates that it should be a top-level error. We should fix this.
This is an issue in version 4.2.x.
|