The ShardConnection::sync call goes through all sharded connections in use and calls getLastError in order to synchronize with all outstanding fire-and-forget operations.
Since all write operations are running as commands and as of 3.2 all configuration calls are using w:majority with journaling, this is no longer necessary.
- is duplicated by
-
SERVER-23584 Get rid of ShardConnection::sync
- Closed