diff options
| author | kvk1920 <[email protected]> | 2024-04-07 16:29:24 +0300 |
|---|---|---|
| committer | kvk1920 <[email protected]> | 2024-04-07 16:39:40 +0300 |
| commit | 72eeab5172756159750eef875745e2a6f5b0004f (patch) | |
| tree | 1896404822df1d2e2dd04a533eef4268a00aa2bd /yt/python | |
| parent | 42da44fa8e0963eb9c00831a730bb7e21ebf34ec (diff) | |
YT-18503: Mirror Cypress Tx to Sequoia Ground
e6d585180289325f8082f42f85a60478194ba266
Diffstat (limited to 'yt/python')
| -rw-r--r-- | yt/python/yt/common.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/yt/python/yt/common.py b/yt/python/yt/common.py index fb90e09651e..555adbb5e1b 100644 --- a/yt/python/yt/common.py +++ b/yt/python/yt/common.py @@ -359,6 +359,10 @@ class YtError(Exception): """Cross-cell "copy"/"move" command is explicitly disabled""" return self.contains_code(1002) + def is_sequoia_retriable_error(self): + """Probably lock conflict in Sequoia tables""" + return self.contains_code(6002) + class YtResponseError(YtError): """Represents an error in YT response.""" |
