-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.4.12
-
Component/s: None
-
None
-
Storage Engines
-
ALL
1、i check replication info that i find the one secondary lag more than 9000s
shard4:SECONDARY> rs.printSlaveReplicationInfo()
source: mongodb68:31004
syncedTo: Tue Feb 14 2023 12:36:01 GMT+0800 (CST)
0 secs (0 hrs) behind the primary
source: mongodb69:31004
syncedTo: Tue Feb 14 2023 10:03:40 GMT+0800 (CST)
9141 secs (2.54 hrs) behind the primary
2、i check lock. serverStatus:1 is locked by "ParallelBatchWriterMode" : "r"
{
"type" : "op",
"desc" : "conn323699",
"connectionId" : 323699,
"clientMetadata" : {
"driver" :
,
"os" :
,
"platform" : "go1.13.10"
},
"active" : true,
"currentOpTime" : "2023-02-14T10:43:50.888+08:00",
"opid" : -1523928877,
"secs_running" : NumberLong(2831),
"microsecs_running" : NumberLong("2831816411"),
"op" : "command",
"ns" : "admin.$cmd",
"command" : {
"serverStatus" : 1,
"advisoryHostFQDNs" : 1,
"locks" : 0,
"recordStats" : 0,
"oplog" : 0,
"$clusterTime" : {
"clusterTime" : Timestamp(1676339797, 2140),
"signature" :
},
"$db" : "admin",
"$readPreference" :
},
"numYields" : 0,
"waitingForLatch" :
,
"locks" :
,
"waitingForLock" : true,
"lockStats" : {
"ParallelBatchWriterMode" : {
"acquireCount" :
,
"acquireWaitCount" :
,
"timeAcquiringMicros" :
}
},
"waitingForFlowControl" : false,
"flowControlStats" : {
}
},
{
"type" : "op",
"desc" : "OplogApplier-0",
"active" : true,
"currentOpTime" : "2023-02-14T11:20:14.842+08:00",
"effectiveUsers" : [
],
"opid" : -1524195878,
"op" : "none",
"ns" : "",
"command" : {
},
"numYields" : 0,
"locks" :
,
"waitingForLock" : false,
"lockStats" : {
"ParallelBatchWriterMode" : {
"acquireCount" :
},
"ReplicationStateTransition" : {
"acquireCount" :
},
"Global" : {
"acquireCount" :
},
"Database" : {
"acquireCount" :
},
"Collection" : {
"acquireCount" :
},
"Mutex" : {
"acquireCount" :
}
},
"waitingForFlowControl" : false,
"flowControlStats" : {
}
}
- related to
-
WT-8924 Don't check against on disk time window if there is an insert list when checking for conflicts in row-store
- Closed