OneDrive is literally built on fucked tech from the get go and Microsoft initially even pointed out in its online documentation that it is NOT a backup solution, but just a way to enable cloud sharing of documents to access them from anywhere. Their higher-ups decided to make it into something it was never originally intended to be, which is why it is constantly a disaster with people losing documents due to sync problems.
Sorry for the rant, I just fucking hate OneDrive with a deep passion due to the higher leadership at my work forcing us to shutdown our local file shares and making our entire org migrate all our data to SharePoint Online. It has been a miserable transition and I'm in charge of migrating over 100TB and tens of millions of files from over 30 departments. Let me just say SPO is NOT a fileshare solution, and despite me pointing this out countless times it has fallen on deaf ears. Everyone hates it and its limitations are insane (e.g. no more than 100,000 files per document library, 400 character limit for file paths including the base URL, etc). And on top of that all, we have warned customers countless times NOT to sync their OneDrives to any document library or they WILL have problems. Do they listen? Of fucking course they don't. We've had endless tickets and the migration isn't even complete yet.
Tldr; fuck OneDrive and fuck SharePoint Online.
/Endrant