potiuk commented on issue #45388: URL: https://github.com/apache/airflow/issues/45388#issuecomment-2571410913
Can we do it ? How? I think this is the "logical" problem to solve. Whatever optimisitc query you can run is "read" and in order to make it really protected, you need to make it part of a transaction - you need to query and update the state in the same transaction essentially. Or you have to read a "state" of the system and use it in the "write" statement to detect that the state has changed. You cannot really separate "read" and "update" action - they should be connected by either transaction or state retrieved from the "read" action has to be used as a "potentially failing" check in the update state. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
