File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # 2.6.0 - 2025-12-10
1+ # 2.6.0 - 2025-12-11
22
33## Summary
44
Original file line number Diff line number Diff line change @@ -68,9 +68,6 @@ def timestamp_name(project_short_tag: str | None = None) -> str:
6868 return candidate [: Limits .MAX_DATABASE_NAME_LENGTH ]
6969
7070
71- RETRY_PATTERN = re .compile ("Operation.*not allowed.*cluster.*not.*in.*proper state" )
72-
73-
7471def indicates_retry (ex : BaseException ) -> bool :
7572 """
7673 When deleting a SaaS instance raises an UnexpectedStatus, then this
@@ -79,7 +76,7 @@ def indicates_retry(ex: BaseException) -> bool:
7976 return bool (
8077 isinstance (ex , UnexpectedStatus )
8178 and ex .status_code == 400
82- and RETRY_PATTERN . search ( ex .content .decode ("utf-8" ) )
79+ and "cluster is not in a proper state" in ex .content .decode ("utf-8" )
8380 )
8481
8582
@@ -301,7 +298,7 @@ def delete_with_retry():
301298 except Exception as ex :
302299 if ignore_failures :
303300 LOG .error (
304- f "Ignoring failure when deleting database with ID %s: %s" ,
301+ "Ignoring failure when deleting database with ID %s: %s" ,
305302 database_id ,
306303 ex ,
307304 )
You can’t perform that action at this time.
0 commit comments