uranusjr commented on code in PR #73015:
URL: https://github.com/apache/airflow/pull/73015#discussion_r4410467577
##########
providers/amazon/src/airflow/providers/amazon/aws/bundles/s3.py:
##########
@@ -140,6 +193,95 @@ def refresh(self) -> None:
delete_stale=True,
)
+ def _archive_staging_prefix(self) -> str:
+ # The storage root is shared by every bundle. The lock is per bundle
name, so
+ # leftover cleanup must not match another bundle's in-progress staging
directory.
+ return f".{self.name}-archive-staging-"
Review Comment:
Using `-` can cause collision. `/` would be better since it is forbidden in
file names.
--
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]