The absence of a database locking feature in Bubble creates a risk of the monitoring system triggering the same workflow twice if it checks the workflow status at the exact moment it’s already being executed but hasn’t yet been marked as “completed.” This overlap could result in duplicate executions, which may not be a major concern at a small scale but could become increasingly problematic as your app scales. Without a locking mechanism to ensure that only one process can modify or access the status at any given time, this monitoring system could introduce new, potentially more significant issues than the original problem of retrying missed workflows due to downtime, particularly when dealing with workflows critical to business operations.

2 Likes