One of two errors will be seen in a client trace set to max tracing.
Scenario 1:
HDR:SYNC:ARC: MDC::Sync::FullSyncHandleFromEVItems: Creating stub. SNUM: 225411
HDR:PST: MDC::PSTCacheFolder::CreateMessage: 0x0
HDR:PST: MDC::PSTCacheFolder::SetModifiedBySync
HDR:PST: ~MDC::PSTCacheFolder::SetModifiedBySync
HDR:MSG: MDC::PSTCacheMessage::PSTCacheMessage: 0x0
HDR:MSG: MDC::PSTCacheMessage::AddRecipients: 0x0
HDR:MSG: ~MDC::PSTCacheMessage::AddRecipients: 0x0
HDR:MSG: ~MDC::PSTCacheMessage::PSTCacheMessage: 0x80040119
HDR:PST: ~MDC::PSTCacheFolder::CreateMessage: 0x0
HDR:PST: MDC::PSTCacheSearchFolder::~PSTCacheSearchFolder
………
HDR:SYNC:ARC: Sync Report - Aborted before fully complete
HDR:SYNC:ARC: Sync Report - FromSrv: New folders found: 207
HDR:SYNC:ARC: Sync Report - FromSrv: MDC items created: 766566
HDR:SYNC:ARC: ~MDC::MDCSyncReport::TraceSyncReport
Scenario 2:
HDR:SYNC:ARC: Notifying the Content Cache about messages that were created in the archive and about those that were deleted
HDR:PST: MDC::PSTCacheTree::SetCacheState
HDR:PST: CacheState set to: 6
[snip]
HDR:PST: MDC::PSTCacheFolderIteratorBase
HDR:PST: MDC::PSTCacheFolderIteratorBase
HDR:PST: ~MDC::PSTCacheFolderIteratorBase
HDR:PST: MDC::PSTCacheFolderIteratorBase
HDR:PST: ~MDC::PSTCacheFolderIteratorBase
HDR:PST: ~MDC::PSTCacheFolderIteratorBase
According to Microsoft this issue may occur for users with more than 100,000 items in a single folder. Microsoft guidelines around the number of items in a single folder are discussed in the following document: https://support.microsoft.com/en-gb/help/2768656/outlook-performance-issues-when-there-are-too-many-items-or-folders-in-a-cached-mode-.ost-or-.pst-file-folder
Per Microsoft there are hard limits in the storage structures they use inside PST files. The MDC file is based on PST technologies. In this particular scenario the data being created inside the MDC file is hitting one of the limits mentioned by Microsoft. Once that limit is reached, no further data can be added to the folder and behavior is undefined.
Note: Our testing has shown the exact number of items required in a folder depends on the data itself, and therefore will vary greatly.
Solution
Recommendations:
HDR:SYNC:ARC: MDC::Sync::FullSyncHandleFromEVItems: Creating stub. SNUM: 225411
HDR:PST: MDC::PSTCacheFolder::CreateMessage: 0x0
HDR:PST: MDC::PSTCacheFolder::SetModifiedBySync
HDR:PST: ~MDC::PSTCacheFolder::SetModifiedBySync
HDR:MSG: MDC::PSTCacheMessage::PSTCacheMessage: 0x0
HDR:MSG: MDC::PSTCacheMessage::AddRecipients: 0x0
HDR:MSG: ~MDC::PSTCacheMessage::AddRecipients: 0x0
HDR:MSG: ~MDC::PSTCacheMessage::PSTCacheMessage: 0x80040119
HDR:PST: ~MDC::PSTCacheFolder::CreateMessage: 0x0
HDR:PST: MDC::PSTCacheSearchFolder::~PSTCacheSearchFolder
………
HDR:SYNC:ARC: Sync Report - Aborted before fully complete
HDR:SYNC:ARC: Sync Report - FromSrv: New folders found: 207
HDR:SYNC:ARC: Sync Report - FromSrv: MDC items created: 766566
HDR:SYNC:ARC: ~MDC::MDCSyncReport::TraceSyncReport
Scenario 2:
HDR:SYNC:ARC: Notifying the Content Cache about messages that were created in the archive and about those that were deleted
HDR:PST: MDC::PSTCacheTree::SetCacheState
HDR:PST: CacheState set to: 6
[snip]
HDR:PST: MDC::PSTCacheFolderIteratorBase<class MDC::PSTCacheFolder,class MDC::PSTCacheMessage>::PSTCacheFolderIteratorBase: 0x0
HDR:PST: MDC::PSTCacheFolderIteratorBase<class MDC::PSTCacheFolder,class MDC::PSTCacheMessage>::GetTable: 0x0
HDR:PST: ~MDC::PSTCacheFolderIteratorBase<class MDC::PSTCacheFolder,class MDC::PSTCacheMessage>::GetTable: 0x0
HDR:PST: MDC::PSTCacheFolderIteratorBase<class MDC::PSTCacheFolder,class MDC::PSTCacheMessage>::GetNextValue: 0x0
HDR:PST: ~MDC::PSTCacheFolderIteratorBase<class MDC::PSTCacheFolder,class MDC::PSTCacheMessage>::GetNextValue: 0x800408CA
HDR:PST: ~MDC::PSTCacheFolderIteratorBase<class MDC::PSTCacheFolder,class MDC::PSTCacheMessage>::PSTCacheFolderIteratorBase: 0x0