Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

limit the number of connect attempts for cached tablet in volume proxy #799

Merged

Conversation

yegorskii
Copy link
Collaborator

@yegorskii yegorskii commented Mar 22, 2024

We need to limit the number of attempts to connect to tablet before falling back to describe volume tablet in volume proxy. Now there is a way to cache disk-to-tablet mapping in volume proxy. For such tablets we do not resolve tablet if pipe desconnects assuming that it will recover. However it is possible that disk could be deleted and we will never recognize this situation, always replying with E_REJECTED. To handle such situation, a new config parameter introduced, limiting the time frame of attempts to connect without describing the tablet disk.

Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit 4bc9840.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
5055 5052 0 0 1 2

@yegorskii yegorskii changed the title limit the number of connect attemptr for cached tablet in volume proxy limit the number of connect attempts for cached tablet in volume proxy Mar 26, 2024
Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit a989001.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
5056 5053 0 0 1 2

cloud/blockstore/libs/storage/core/config.cpp Outdated Show resolved Hide resolved
cloud/blockstore/config/storage.proto Outdated Show resolved Hide resolved
Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit f724995.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
5056 5052 0 0 2 2

Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 9b78d10.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
5056 5055 0 1 0 0

Copy link
Contributor

github-actions bot commented Apr 2, 2024

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit 768d4ba.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
5080 5080 0 0 0 0

@yegorskii yegorskii merged commit f8d69e5 into main Apr 3, 2024
7 checks passed
@yegorskii yegorskii deleted the users/yegorskii/reset-tablet-cache-on-multiple-failures branch April 3, 2024 08:54
yegorskii added a commit that referenced this pull request Apr 3, 2024
#799)

* limit the number of connect attemptr for cached tablet in volume proxy

* update default

* update

* switch from count to duration

* rearrange code

* update
yegorskii added a commit that referenced this pull request Apr 3, 2024
#799) (#884)

* limit the number of connect attemptr for cached tablet in volume proxy

* update default

* update

* switch from count to duration

* rearrange code

* update
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.

None yet

3 participants