PrefectHQ / graphs

Large scale graphs designed for Prefect
Apache License 2.0
9 stars 1 forks source link

Bugfix: add locking mechanism to artifact and event creation #447

Closed brandonreid closed 5 months ago

brandonreid commented 5 months ago

Prevents the occasional scenario where multiple instances of the same artifact or event can be created if happening too quickly. When this does occur, artifacts/events are created but the duplicate isn't added to the artifact's map, thus isn't included in clustering logic.

I have seen this randomly occurring when loading a graph and was eventually able to reproduce with a running graph that created two artifacts at the same time.

image

netlify[bot] commented 5 months ago

Deploy Preview for prefect-graphs ready!

Name Link
Latest commit 09851a74375529469ec129bd1d16e184ec3773cb
Latest deploy log https://app.netlify.com/sites/prefect-graphs/deploys/65f1929d225e3200096d5a2e
Deploy Preview https://deploy-preview-447--prefect-graphs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.