Skip to content

Commit c5280f5

Browse files
authored
Merge pull request #28381 from andrwng/reset-sync-failure
[CORE-8556] rptest: ignore sync errors when resetting manifest
2 parents a7bc554 + ebf39eb commit c5280f5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/rptest/tests/e2e_shadow_indexing_test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,11 @@ def test_reset_from_cloud(self, cloud_storage_type):
519519
except HTTPError as ex:
520520
if "would cause data loss" in ex.response.text:
521521
resets_refused += 1
522+
elif "Could not sync with log" in ex.response.text:
523+
# Benign, transient error.
524+
pass
522525
else:
526+
# Some other unexpected error.
523527
resets_failed += 1
524528
self.logger.info(f"Reset from cloud failed: {ex}")
525529
next_reset = now + timedelta(seconds=seconds_between_reset)

0 commit comments

Comments
 (0)