We are still having this problem. The replication starts to fail 2 - 3 times a week. Restarting mongod fixes the problem. I am seeing this in the log if that helps.
{“t”:{“$date”:“2024-05-05T17:45:48.438+00:00”},“s”:“I”, “c”:“COMMAND”, “id”:20499, “ctx”:“ftdc”,“msg”:“serverStatus was very slow”,“attr”:{“timeStats”:{“after basic”:0,“after asserts”:0,“after connections”:0,“after electionMetrics”:0,“after extra_info”:0,“after featureCompatibilityVersion”:0,“after flowControl”:0,“after globalLock”:0,“after indexBulkBuilder”:0,“after locks”:0,“after logicalSessionRecordCache”:0,“after mirroredReads”:0,“after network”:0,“after opLatencies”:0,“after opReadConcernCounters”:0,“after opcounters”:0,“after opcountersRepl”:0,“after oplog”:0,“after oplogTruncation”:0,“after repl”:0,“after scramCache”:0,“after security”:0,“after shardingStatistics”:0,“after storageEngine”:0,“after tcmalloc”:0,“after trafficRecording”:0,“after transactions”:0,“after transportSecurity”:0,“after twoPhaseCommitCoordinator”:0,“after wiredTiger”:1438,“at end”:1438}}}