-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Google Drive] Cache ignored files during incremental sync (#8946)
Description --- We get incremental changes list, and for each change perform a check as to whether we should sync it, and lookup and delete the file if needed. This is suboptimal and in some cases leads to very long syncs while no file is actually synced, e.g. [here](https://dust4ai.slack.com/archives/C05F84CFP0E/p1732663500878059) It is very likely that changes occur multiple times on the same file over the course of long incremental syncs, and that we redo costful checks (e.g. loading parents from google API). This PR marks already ignored files, so we don't go over it again. This should vastly speed up the syncs when there are many changes to files we don't sync. Risk --- Breaking logic on google drive syncs Deploy --- connectors
- Loading branch information
1 parent
6ccac3f
commit c47b4fd
Showing
2 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters