springboot mongo client 4.6.1 spirng-data-mongo 3.4.18
mongodb server 4.4.11
4 shards, PSA very shard.
the second node went down at replica set of shard4 , the cost time of insert grew significantly and also timed out (>3s).
writeConcern: { w: 1 }
Can anyone give me any advice on how to solve this problem?
I expect that the state of the second node does not affect the write when the status of replica set is ok