Iulian
09/17/2025, 7:03 AMkapa.ai
09/17/2025, 7:03 AMIulian
09/17/2025, 7:11 AMkapa.ai
09/17/2025, 7:11 AMkapa.ai
09/17/2025, 7:12 AMread@local permission to access the Oplog has resolved similar issues for some users. If the connector cannot read the Oplog stats, it may not optimize or track changes correctly, leading to delayed syncs even when there are no failures reported ([source-mongodb] Incremental sync error on specific collection - Saved offset is not valid)[https://github.com/airbytehq/airbyte/issues/48496]. 2. State/Resume Token Handling There are multiple reports of Airbyte's MongoDB connector having issues with state management or resume tokens, resulting in syncs that extract but do not load records, or that load records only after a subsequent sync. This can happen even if the Oplog retention and sync frequency are set correctly. Sometimes, the connector's state is not updated as expected, causing a lag in when new records are actually loaded ([source-mongodb] Records get extracted and loaded but it only shows extracted and 0 loaded)[https://github.com/airbytehq/airbyte/issues/45133]. 3. No Explicit Root Cause or Fix The knowledge sources do not provide a definitive root cause or a universal fix for this "delayed loading" issue when there are no sync failures. However, they do suggest that Oplog access, state management, and possibly resource constraints or connector bugs could be contributing factors. What you can do: - Check Oplog Permissions: Ensure the Airbyte MongoDB user has read@local permission so the connector can accurately read Oplog stats. - Review Connector Version: Some issues have been addressed in newer connector versions or with dev builds. Upgrading may help if you are not on the latest version. - Monitor Logs: Look for warnings about Oplog access or state handling in the Airbyte logs, even if the syncs are marked as successful. - Increase Sync Frequency: While you already sync every 30 minutes, some users still report issues even with frequent syncs, so this alone may not resolve the problem. Summary: The knowledge sources confirm that delayed loading of records (with successful syncs reporting 0 records loaded) is a known but unresolved issue with Airbyte's MongoDB connector, often related to Oplog access or state management. There is no single fix, but ensuring proper permissions and using the latest connector version are recommended steps. If the problem persists, you may want to follow or contribute to the ongoing GitHub issues for more targeted support ([source-mongodb] Incremental sync error on specific collection - Saved offset is not valid)[https://github.com/airbytehq/airbyte/issues/48496], [source-mongodb] Records get extracted and loaded but it only shows extracted and 0 loaded)[https://github.com/airbytehq/airbyte/issues/45133].