You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: massCode.db-shm is in use and Onedrive is pending sync #635
In the new release version (V4), onedrive always reports that massCode.db-shm is in use and thus is pending sync, while in previous version (v3) does not trigger this issue.
To reproduce
Put the database file in onedrive
use masscode 4 and open repo from onedrive folder.
Starting from v4, massCode uses SQLite3 as the database engine, whereas v3 stored data in plain JSON files.
SQLite uses auxiliary files like massCode.db-shm and massCode.db-wal for write-ahead logging and synchronization.
These files remain open while the application is running, which can cause OneDrive (and other sync tools) to show them as “in use” or “pending sync.”
This behavior is normal for SQLite and doesn’t affect your data integrity.
If you need to sync your workspace via OneDrive, it’s best to let it sync only after closing massCode.
Activity
antonreshetov commentedon Nov 11, 2025
Starting from v4, massCode uses SQLite3 as the database engine, whereas v3 stored data in plain JSON files.
SQLite uses auxiliary files like massCode.db-shm and massCode.db-wal for write-ahead logging and synchronization.
These files remain open while the application is running, which can cause OneDrive (and other sync tools) to show them as “in use” or “pending sync.”
This behavior is normal for SQLite and doesn’t affect your data integrity.
If you need to sync your workspace via OneDrive, it’s best to let it sync only after closing massCode.