https://prefect.io logo
Title
n

Nathaniel Russell

09/09/2022, 5:58 PM
Do prefect 2's blocks have any sort of locking functionality? (imagine a queue-like block with some flows adding to it and others removing, how could they maintain reliability that no item gets lost?)
đź‘€ 2
a

alex

09/09/2022, 7:32 PM
That’s a very interesting question @Nathaniel Russell! We don’t currently have any locking functionality for block documents so we can’t guarantee that data will not be overwritten if multiple flows are writing to the same block documents. If there’s enough interest in functionality like this then we can prioritize development of this feature. Just out of curiosity, do you have any particular block types that you are updating from multiple flows?