[SERVER-38863] secondary init sync error(Restarting oplog query due to error: NetworkInterfaceExceededTimeLimit: error in fetcher batch callback :: caused by :: timed out.) Created: 06/Jan/19 Updated: 27/Oct/23 Resolved: 08/Jan/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | 纪德鹏 | Assignee: | Dmitry Agranat |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Participants: |
| Description |
|
when add a senondary ,the init sync process can not fished ,secondary mongod log print the followng message : 2019-01-07T05:45:36.576+0800 I - [repl writer worker 9] libtorrent.fs.chunks collection clone progress: 686378/927304 74% (documents copied) }, tailable: true, oplogReplay: true, awaitData: true, maxTimeMS: 2000, batchSize: 13981010, term: 7, readConcern: { afterClusterTime: Timestamp(1546840107, 74) } } query metadata: { $replData: 1, $oplogQueryData: 1, $readPreference: { mode: "secondaryPreferred" }} active: 1 findNetworkTimeout: 7000ms getMoreNetworkTimeout: 10000ms shutting down?: 0 first: 1 firstCommandScheduler: RemoteCommandRetryScheduler request: RemoteCommand 95373 – target:moveShard5:27017 db:local cmd:{ find: "oplog.rs", filter: { ts: { $gte: Timestamp(1546840107, 74) } }, tailable: true, oplogReplay: true, awaitData: true, maxTimeMS: 2000, batchSize: 13981010, term: 7, readConcern: { afterClusterTime: Timestamp(1546840107, 74) } } active: 1 callbackHandle.valid: 1 callbackHandle.cancelled: 0 attempt: 1 retryPolicy: RetryPolicyImpl maxAttempts: 1 maxTimeMillis: -1ms }, tailable: true, oplogReplay: true, awaitData: true, maxTimeMS: 2000, batchSize: 13981010, term: 7, readConcern: { afterClusterTime: Timestamp(1546840107, 74) } } query metadata: { $replData: 1, $oplogQueryData: 1, $readPreference: { mode: "secondaryPreferred" }} active: 1 findNetworkTimeout: 7000ms getMoreNetworkTimeout: 10000ms shutting down?: 0 first: 1 firstCommandScheduler: RemoteCommandRetryScheduler request: RemoteCommand 95402 – target:moveShard5:27017 db:local cmd:{ find: "oplog.rs", filter: { ts: { $gte: Timestamp(1546840107, 74) } }, tailable: true, oplogReplay: true, awaitData: true, maxTimeMS: 2000, batchSize: 13981010, term: 7, readConcern: { afterClusterTime: Timestamp(1546840107, 74) } } active: 1 callbackHandle.valid: 1 callbackHandle.cancelled: 0 attempt: 1 retryPolicy: RetryPolicyImpl maxAttempts: 1 maxTimeMillis: -1ms }, tailable: true, oplogReplay: true, awaitData: true, maxTimeMS: 2000, batchSize: 13981010, term: 7, readConcern: { afterClusterTime: Timestamp(1546840107, 74) } } query metadata: { $replData: 1, $oplogQueryData: 1, $readPreference: { mode: "secondaryPreferred" }} active: 1 findNetworkTimeout: 7000ms getMoreNetworkTimeout: 10000ms shutting down?: 0 first: 1 firstCommandScheduler: RemoteCommandRetryScheduler request: RemoteCommand 95432 – target:moveShard5:27017 db:local cmd:{ find: "oplog.rs", filter: { ts: { $gte: Timestamp(1546840107, 74) }}, tailable: true, oplogReplay: true, awaitData: true, maxTimeMS: 2000, batchSize: 13981010, term: 7, readConcern: { afterClusterTime: Timestamp(1546840107, 74) } } active: 1 callbackHandle.valid: 1 callbackHandle.cancelled: 0 attempt: 1 retryPolicy: RetryPolicyImpl maxAttempts: 1 maxTimeMillis: -1ms details in the attachments |
| Comments |
| Comment by Dmitry Agranat [ 07/Jan/19 ] |
|
Hello, Thanks for your report. Initial syncs can add extra load on the sync source thus the behavior you have encountered is not unexpected. Please note that SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-user group. Thank you, |