Skip to content

Conversation

@kprokopenko
Copy link
Collaborator

This PR makes the error 'Request exceeded a limit on the number of schema operations, try again later' retryable.

Changes

  • Added helper method hasSchemaOperationsLimitExceeded() to check for the specific error message
  • Updated Type() method to return TypeRetryable for GENERIC_ERROR with schema operations limit message
  • Updated BackoffType() method to return TypeSlow backoff for this error (similar to OVERLOADED errors)
  • Added comprehensive tests to verify the retryable behavior

Testing

All existing tests pass, and new tests have been added to verify:

  • The error is correctly identified as retryable
  • The backoff type is set to slow
  • Nested issues are also checked
  • Other GENERIC_ERROR messages remain non-retryable

Fixes #1933

This change makes the error 'Request exceeded a limit on the number of schema operations, try again later' retryable. The error is detected by checking the error message in the issues list and is treated as a retryable error with slow backoff (similar to OVERLOADED errors).

Fixes #1933
@github-actions
Copy link

github-actions bot commented Nov 24, 2025

github.com/ydb-platform/ydb-go-sdk/v3/topic/topicoptions

compatible changes

AlterConsumerResetAvailabilityPeriod: added
AlterConsumerWithAvailabilityPeriod: added

github.com/ydb-platform/ydb-go-sdk/v3/topic/topictypes

compatible changes

Consumer.AvailabilityPeriod: added

summary

Inferred base version: v3.118.3
Suggested version: v3.119.0

@kprokopenko kprokopenko force-pushed the feat/schema-operations-limit-retryable-from-master branch from 74c0cb4 to f5a3163 Compare November 24, 2025 17:11
@codecov-commenter
Copy link

codecov-commenter commented Nov 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.85%. Comparing base (995c4d2) to head (d029953).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1946      +/-   ##
==========================================
+ Coverage   73.84%   73.85%   +0.01%     
==========================================
  Files         392      392              
  Lines       34379    34391      +12     
==========================================
+ Hits        25386    25401      +15     
+ Misses       7862     7859       -3     
  Partials     1131     1131              
Flag Coverage Δ
experiment 73.52% <100.00%> (-0.01%) ⬇️
go-1.21.x 72.61% <100.00%> (+<0.01%) ⬆️
go-1.25.x 73.84% <100.00%> (+0.02%) ⬆️
integration 54.93% <66.66%> (+0.03%) ⬆️
macOS 47.22% <100.00%> (+0.03%) ⬆️
ubuntu 73.85% <100.00%> (+0.01%) ⬆️
unit 47.22% <100.00%> (+0.03%) ⬆️
windows 47.21% <100.00%> (+0.03%) ⬆️
ydb-24.4 54.12% <66.66%> (+0.01%) ⬆️
ydb-25.2 54.87% <66.66%> (+0.18%) ⬆️
ydb-latest 54.39% <66.66%> (-0.02%) ⬇️
ydb-nightly 73.52% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kprokopenko kprokopenko merged commit 45f5e0a into master Nov 25, 2025
35 of 45 checks passed
@kprokopenko kprokopenko deleted the feat/schema-operations-limit-retryable-from-master branch November 25, 2025 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: error Request exceeded a limit on the number of schema operations, try again later should be retryable

4 participants