ironmansoftware / universal-automation

Universal Automation is the PowerShell-first automation platform.
https://ironmansoftware.com/universal-automation/
MIT License
24 stars 4 forks source link

“database.db” is always open with write lock. (Will result in OneDrive warnings, If your database.db is one a OneDrive drive.) #23

Closed adamdriscoll closed 4 years ago

adamdriscoll commented 4 years ago

Describe the Issue

“database.db” is always open with write lock. (Will result in OneDrive warnings, If your database.db is one a OneDrive drive.)

To Reproduce

Steps to reproduce the behavior: (Example)

Run UA and see it has a write lock on the database.db

Expected behavior

See if we can prevent this from happening with LiteDB. We might not be able to and will have to recommend different storage types of this situation.

Screenshots

If applicable, add screenshots to help explain your problem.

Script Sample

Attempt to attach sample code that will allow others to reproduce the issue. NOTE: Generally speaking this is the MOST EFFECTIVE way to have your issue resolved.

Version Information

adamdriscoll commented 4 years ago

Not going to fix this one. It's a problem with LiteDB itself. I think we will suggest a centralized DB like SQL server in the future rather than syncing with OneDrive.